State machine · Factory
Four gates move a ticket from intake to durable completion
The Factory loop lifecycle
A ticket moves from triage to agent-ready, then to an isolated worktree, a verified pull request, and Done. The reaper returns failed or stale work to the ready state while preserving useful evidence.
intake
① specify
② dispatch
③ verify
④ review + merge
failed run
stale claim
requeue
Triage
scope · paths · proof
Agent-ready
Todo + ai:agent-ready
Worktree
claimed + isolated
Verified PR
tests + CI + diff
Done
merged + running
Reaper recovery
reclaim · record · preserve evidence