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.
| Flag | Argument | Description |
|---|---|---|
| --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 toHEAD).--worktree <dir>evaluates candidate changes inside an isolated.worktrees/agb-<id>checkout.--test-cmd <cmd>overrides the test command (defaults tonpm 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>) forbrowserGateroute checks.--html <file>writes a self-contained HTML P6 acceptance cockpit including any capturedbrowserGatescreenshots.--skip-hollowskipsadlc hollow-testmutation testing.--skip-browserskips thebrowserGatevisual/HTTP check.--autocommitstages and commits dirty candidate changes in the target worktree before diffing.--no-prosecuteskips cross-model prosecution and finishes aftergate-ticket+ P6 dossier assembly.--prompt-onlyemits the structured cross-model prosecutor prompt without spawningagy.--require-prosecutorfails closed (exit2) ifagyor model quota is unavailable instead of degrading to prompt-only output.--no-manifestskips recording advisory audit entries in.adlc/manifest.jsonl.--jsonemits the structured handoff report to stdout.
Exit codes
| Code | Meaning |
|---|---|
0 | All P5 gates and prosecution passed (or degraded cleanly to prompt-only handoff when --require-prosecutor is not set). |
2 | Gate failure (gate-ticket), prosecutor iterate/escalate verdict, or unavailable agy with --require-prosecutor. |
1 | Invalid flags, missing <ticket-id>, or internal error. |