mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
The changeset ships this as 1.18.2, so the stamp, the bootstrap's grep/write condition, both re-source guards and the recipes guard all carry 1.18.2 now instead of a version that would never exist. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
aicodeman
| aicodeman |
|---|
| patch |
Make the codeman agent skill spawn workers fast instead of deliberating first.
Measured against a live server, the API does the whole job (spawn two claude workers, task them, read both answers) in about 10 seconds, so the delay users saw was agent-side: the skill taught serial spawning, made the happy path something to reassemble from five sections on every run, and cost ~16k tokens of mostly failure modes before the first call.
- The §0 preamble now defines the verbs instead of describing them:
spawn_worker,spawn_workers(concurrent),sendwaitandlast_text. §1 composes them into the whole job in one Bash call, and says to stop reading there. - Dropped two ceremonies the measurements retired: the pid-poll loop (
wait-outputalready blocks on the composer) and the agent-driven hooks check, which is now folded intospawn_workeritself as a single local grep of the resolvedcasePath, so a name that resolves to a linked case or a hook-less pre-existing directory is refused instead of silently running the job there. Linked cases and raw paths still require the by-hand check, where its absence silently breaks send-and-wait. - The bootstrap's write condition now greps the version stamp, so a stale or truncated
preamble file self-heals instead of failing and asking you to
rmit by hand. sendwaitpicks a freshseqper call (a fixed default made every second prompt to the same worker a silently-swallowed duplicate) and self-heals stranded delivery: an Ink repaint occasionally eats the Enter, leaving the prompt typed but unsubmitted (observed live), so a timed-out first wait sends one bare\rand re-waits by resending the identical frame as a tagged duplicate.- §5 moved to
reference/verbs.md, leaving an index. SKILL.md is the only part paid on every load and drops from ~16.4k to roughly 9k tokens (~35KB); section numbers and anchors are unchanged, so existing§5.xreferences still resolve.