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

Skip to Content
antigravity-booster
ReferenceCLI

agb handoff

Run interactive single-ticket ADLC P5+P6 verification, cross-model prosecution, and handoff dossier.

agb handoff executes the complete single-ticket ADLC P5 and P6 sign-off pipeline for interactive sessions across Antigravity IDE, the 7 IDE Extensions, agy CLI, and Cloud VMs: running agb gate-ticket (scope, adlc rails-guard, sandboxed build/tests, .adlc/learned-checks.json, browserGate, and adlc hollow-test), invoking single-diff cross-model prosecute() when agy and quota are available (or emitting the structured prosecutor prompt in --prompt-only / zero-agy fallback mode), and rendering a P6 sign-off dossier.

Synopsis

agb handoff <ticket-id> [repo]

Run interactive single-ticket ADLC P5+P6 verification, cross-model prosecution, and handoff dossier.

FlagArgumentDescription
--autocommit—stage and commit dirty worktree
--base<ref>git base ref
--browser-url<url>loopback preview URL
--build-cmd<cmd>build command
--html<file>write HTML P6 cockpit
--json—emit JSON
--no-manifest—skip gate-manifest recording
--no-prosecute—skip cross-model prosecutor
--prompt-only—emit prosecutor prompt without agy
--require-prosecutor—fail closed if agy unavailable
--skip-browser—skip browser prosecutor
--skip-hollow—skip hollow-test
--test-cmd<cmd>test command
--worktree<dir>candidate worktree
-id——

Arguments and flags

  • <ticket-id> specifies the ticket ID in .adlc/tickets/ (for example, T-W2-1).
  • [repo] targets the repository directory (defaults to .).
  • --base <ref> specifies the git base ref to diff against (defaults to HEAD).
  • --worktree <dir> evaluates candidate changes inside an isolated .worktrees/agb-<id> checkout.
  • --test-cmd <cmd> overrides the test command (defaults to npm test).
  • --build-cmd <cmd> runs an optional build gate command before the test command.
  • --browser-url <url> supplies a loopback preview URL (http://127.0.0.1:<port>) for browserGate route checks.
  • --html <file> writes a self-contained HTML P6 acceptance cockpit including any captured browserGate screenshots.
  • --skip-hollow skips adlc hollow-test mutation testing.
  • --skip-browser skips the browserGate visual/HTTP check.
  • --autocommit stages and commits dirty candidate changes in the target worktree before diffing.
  • --no-prosecute skips cross-model prosecution and finishes after gate-ticket + P6 dossier assembly.
  • --prompt-only emits the structured cross-model prosecutor prompt without spawning agy.
  • --require-prosecutor fails closed (exit 2) if agy or model quota is unavailable instead of degrading to prompt-only output.
  • --no-manifest skips recording advisory audit entries in .adlc/manifest.jsonl.
  • --json emits the structured handoff report to stdout.

Exit codes

CodeMeaning
0All P5 gates and prosecution passed (or degraded cleanly to prompt-only handoff when --require-prosecutor is not set).
2Gate failure (gate-ticket), prosecutor iterate/escalate verdict, or unavailable agy with --require-prosecutor.
1Invalid flags, missing <ticket-id>, or internal error.

On this page