Part of the fork v2 worker-lifecycle redesign. Covers behavior introduced in #2, #3, #4, and #5; lands incrementally as each ships.
Context
The README documents fire-and-forget spawning; the v2 lifecycle (verdict loop, checks, worktrees, ledger) changes the model substantially. Tool descriptions are also the playbook surface — the only prompt-level guidance every orchestrator session reliably sees — and should encode the workflow the research validates, without turning fork into a supervisor.
Proposal
- README: rewrite "How it works" around the worker lifecycle; document
message_agent / close_agent / list_agents, checks, isolate, all fork.json keys, and the orphan/reconciliation behavior.
- AGENTS.md: record the design decisions so future changes preserve them: fork coordinates but never decides (no plan parsing, no scheduling, no auto-merge, no approval logic); flat hierarchy (children get none of the parent tools); deterministic mechanics + LLM judgment; the merge is the only approval event.
- Tool descriptions as playbook (concise): cold-start task briefs (objective, context, scope, validation); isolate parallel code work, share the tree only for read-only/research chunks; review the branch diff, not the child's claims; merging is approval; one objective per chunk; never delegate overlapping write scopes concurrently on a shared tree; don't poll — results arrive as turns.
Acceptance criteria
Sources
Part of the fork v2 worker-lifecycle redesign. Covers behavior introduced in #2, #3, #4, and #5; lands incrementally as each ships.
Context
The README documents fire-and-forget spawning; the v2 lifecycle (verdict loop, checks, worktrees, ledger) changes the model substantially. Tool descriptions are also the playbook surface — the only prompt-level guidance every orchestrator session reliably sees — and should encode the workflow the research validates, without turning fork into a supervisor.
Proposal
message_agent/close_agent/list_agents,checks,isolate, allfork.jsonkeys, and the orphan/reconciliation behavior.Acceptance criteria
Sources