ReferenceCLI
agb review
Run a read-only single-pass, delta, or seam-only lens fleet over a diff or plan specification.
agb review prosecutes a diff or a plan specification with a read-only fleet of model "lenses" using single-pass review by default (--thorough or --dry-rounds <n> for multi-dry convergence).
Synopsis
agb review [repo] [ref]Read-only lens fleet over a diff or plan spec (single-pass by default).
| Flag | Argument | Description |
|---|---|---|
| --delta | <base-ref> | review only fix delta since ref |
| --dry-rounds | <n> | consecutive dry rounds required |
| --five-lens | — | use 5-lens Code ARL |
| --json | — | emit JSON |
| --loop | — | iterative Plan ARL up to 3 rounds |
| --no-arbiter | — | skip neutral arbiter |
| --no-codegraph | — | disable CodeGraph context slicing |
| --no-decision-engine | — | disable System-1 decision engine |
| --plan | <spec.md> | run 5-lens Plan ARL |
| --plan-file | <plan.json> | load ticketScopes for --seams-only |
| --prior-findings | <path> | path to persisted prior findings JSON |
| --prompt-only | — | emit ARL prompts without agy |
| --seams-only | — | review cross-ticket seams only |
| --thorough | — | enable multi-dry convergence |
Arguments and flags
repois optional and defaults to the current directory (C11).refis optional: a range such asmain...HEADor a SHA range. Without it, uncommitted changes are reviewed againstHEAD.--plan <spec.md>runs the 5-lens Plan Adversarial Review Loop (ARL) against a Markdown specification instead of a git diff.--loopruns iterative ARL up to 3 rounds.--five-lens(alias--5-lens) uses the 5-lens Code ARL (Correctness/Red-Team, Simplicity, Security, Evidence Runner, Anti-Slop) instead of the default 4-lens fleet.--thoroughenables multi-dry stochastic convergence (dryRounds=2,maxRounds=3);--dry-rounds <n>sets consecutive dry rounds required.--delta <base-ref>and--prior-findings <path>review only the fix-round delta while embedding prior open findings (default.review/last-findings.json).--seams-onlyand--plan-file <plan.json>audit only cross-ticket integration seams when every merged commit passed per-ticket System-2 prosecution.--no-codegraphdisables CodeGraph (.codegraph/) context slicing and blast-radius scoring.--no-decision-enginedisables System-1 Decision Engine lens gating and typed Arbiter triage.--no-arbiterskips neutral arbiter triage.
An empty diff exits 0 with nothing to review. Quota telemetry must be available.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Empty diff (when not --plan), or converged with gateVerdict === "SHIP" and no critical / high / escalated findings. |
| 2 | critical / high / escalated / blast_radius findings remain, --plan ok is false, gateVerdict !== "SHIP" (including > 180k payload truncation), or the fleet did not converge (review exit). |
| 1 | Quota telemetry unavailable, usage error (missing --plan argument), or an internal error. |
Evidence: review exit. See the Review guide.