Quickstart
This walks one PABCD work-phase from start to close. Each forward transition needs an --attest
block; narration alone does not advance the state.
1. Plan (P)
Section titled “1. Plan (P)”cxc orchestrate P --attest '{"from":"IDLE","to":"P","did":"plan: add pagination to /users"}'Write the real diff-level plan during P.
2. Audit (A)
Section titled “2. Audit (A)”cxc orchestrate A --attest '{"from":"P","to":"A","did":"the plan you wrote"}'Dispatch an adversarial review of the plan, then record the verdict.
3. Build (B)
Section titled “3. Build (B)”cxc orchestrate B --attest '{"from":"A","to":"B","did":"who audited + verdict","auditOutput":"<reviewer verdict tail>"}'Implement in small commits and verify as you go.
4. Check (C)
Section titled “4. Check (C)”cxc orchestrate C --attest '{"from":"B","to":"C","did":"what you built + verifier verdict"}'Run the real checks: build, tests, and any scrutiny the change warrants.
5. Done (D)
Section titled “5. Done (D)”The C → D transition additionally requires the check output and a zero exit code:
cxc orchestrate D --attest '{"from":"C","to":"D","did":"what you checked","checkOutput":"289/289 pass","exitCode":0}'D closes the cycle; the phase returns to IDLE.
Inspect and reset
Section titled “Inspect and reset”cxc orchestrate status # show the current phase and flagscxc orchestrate reset # return the phase to IDLE