These docs track main. Latest release: v2.0.0.

Skip to Content
antigravity-booster
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).

FlagArgumentDescription
--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

  • repo is optional and defaults to the current directory (C11).
  • ref is optional: a range such as main...HEAD or a SHA range. Without it, uncommitted changes are reviewed against HEAD.
  • --plan <spec.md> runs the 5-lens Plan Adversarial Review Loop (ARL) against a Markdown specification instead of a git diff.
  • --loop runs 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.
  • --thorough enables 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-only and --plan-file <plan.json> audit only cross-ticket integration seams when every merged commit passed per-ticket System-2 prosecution.
  • --no-codegraph disables CodeGraph (.codegraph/) context slicing and blast-radius scoring.
  • --no-decision-engine disables System-1 Decision Engine lens gating and typed Arbiter triage.
  • --no-arbiter skips neutral arbiter triage.

An empty diff exits 0 with nothing to review. Quota telemetry must be available.

Exit codes

CodeMeaning
0Empty diff (when not --plan), or converged with gateVerdict === "SHIP" and no critical / high / escalated findings.
2critical / high / escalated / blast_radius findings remain, --plan ok is false, gateVerdict !== "SHIP" (including > 180k payload truncation), or the fleet did not converge (review exit).
1Quota telemetry unavailable, usage error (missing --plan argument), or an internal error.

Evidence: review exit. See the Review guide.

On this page