ReferenceCLI
agb gate-ticket
Execute deterministic zero-agy ADLC P5 ticket verification for Web Standalone, Remote Agents, and CI.
agb gate-ticket runs deterministic ADLC P5 prosecution for a single ticket shard in .adlc/tickets/ without requiring an agy binary: verifying scope confinement, physical symlink containment, adlc rails-guard, sandboxed build/test gates, .adlc/learned-checks.json invariants, optional adlc hollow-test, and adlc gate-manifest recording.
Synopsis
agb gate-ticket <ticket-id> [repo]Execute deterministic zero-agy ADLC P5 verification (scope, rails-guard, sandboxed tests, learned checks, browserGate, hollow-test, gate-manifest).
| 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 |
| --json | — | emit JSON |
| --no-manifest | — | skip gate-manifest recording |
| --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-W1-1).[repo]targets the repository directory (defaults to.).--base <ref>specifies the git base ref to diff against (defaults toHEAD~1).--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.--skip-hollowskipsadlc hollow-testmutation testing.--skip-browserskips thebrowserGatevisual/HTTP check.--autocommitstages and commits dirty candidate changes in the target worktree before diffing.--no-manifestskips recording advisory audit entries in.adlc/manifest.jsonl.--jsonemits the structured verification report to stdout.
Exit codes
| Code | Meaning |
|---|---|
0 | All P5 gates passed for <ticket-id>. |
2 | Scope leak, rail violation, empty diff, test failure, learned-check failure, or hollow-test survivor. |
1 | Invalid flags, missing <ticket-id>, or internal error. |