05 - Review Gates
Review Gates
Section titled “Review Gates”Son-of-Anton treats review as evidence, not vibes.
Self-Audit
Section titled “Self-Audit”After implementation and verification, the primary agent records post-verify. This is the point where it should inspect its own diff before involving another reviewer.
Adversarial Subagent Review
Section titled “Adversarial Subagent Review”For code tickets when enabled, the primary agent writes a filled adversarial prompt:
bun run deliver --plan <plan-path> write-subagent-adversarial-reviewThen a runner consumes that exact prompt:
bun run deliver --plan <plan-path> subagent-review --subagent codex-cliSupported runner names are:
claude-clicodex-clicursor-cli
The subagent is advisory. It returns findings prose. It must not edit files.
Reconciliation
Section titled “Reconciliation”Reconciliation checks whether the review ledger and git history agree:
bun run deliver --plan <plan-path> reconcile-subagent-reviewThis blocks silent lies, such as:
- a finding was patched but no patch commit is recorded
- a finding was ignored without a deferral
- the ledger says clean when the report contains actionable issues
External AI Review
Section titled “External AI Review”After open-pr, the orchestrator polls configured review agents. If review comments arrive, they are saved and triaged before the ticket advances.
Advisory Observations
Section titled “Advisory Observations”Some review notes are real but not blocking for the ticket. These belong in an advisory lane and can be dispositioned after closeout with:
/soa triage-advisory-observations phase-NIf a small verified fix exposes a review gap worth recording, use:
/soa quality-control phase-N: <description>