These docs track main. Latest release: v1.0.0.
antigravity-booster
ReferenceCLI

agb run

Execute a ticket DAG: build, gate, prosecute and merge every ticket in plan.json.

agb run executes a compiled plan.json: each ticket is built in its own git worktree, gated, prosecuted and merged. The plan defaults to plan.json in the current directory.

Synopsis

agb run <plan.json>

Execute a ticket DAG (build → gate → prosecute → merge).

This command takes no flags.

The only option besides the plan path is the global --project flag. Concurrency is not a command-line option: it comes from the plan's caps and concurrencyCap fields (C9, run dispatch). See Plan schema.

What it does

  1. Loads the plan and validates it with the same checks as agb validate (loadPlan).
  2. Builds each ticket in a worktree at .worktrees/agb-<id> on branch agb/<id>, where <id> is the ticket id lowercased (C5).
  3. Runs post-merge gates in a disposable integration worktree named agb-integration-<first 8 characters of the run token> (integration worktree).
  4. Prints the run report as JSON on stdout.

The lifecycle is described in Run lifecycle.

Exit codes

CodeMeaning
0Every ticket merged.
1The plan is invalid (errors printed to stderr) or an internal error occurred.
2At least one ticket failed (the report's failed map is not empty).

Evidence: C10.

On this page