What problem does it solve? AI coding agents often claim work is delivered without proof. Factory enforces a phased workflow where an agent must produce testable acceptance criteria, isolate changes in a worktree, prove tests fail before and pass after the fix, and pass an executable gate before claiming a terminal state. ## Core Features & Use Cases - Phased delivery workflow: Intake, Isolate, Diagnose, Plan, Build, Prove, and Stop phases with executable gates between each phase. - Executable terminal gate: scripts/gate.py validates state.json, open questions, acceptance criteria matrix, isolation, and receipts before allowing a terminal state. - Change scanning: scripts/change-scan.sh expands review beyond diff hunks to full file text, callers, concurrency markers, and migrations. - Use Case: A Linear ticket is converted into an isolated worktree with a failing end-to-end test, milestone reviews, and a final gate that issues one of four terminal states: delivered, delivered-with-gaps, blocked, or intentionally-unchanged. ## Quick Start Ask the agent to run Factory on a ticket or request, then resume the run with the slug to continue through the phases.