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

Skip to Content
antigravity-booster
ReferenceCLI

agb shape

Parse a structured Markdown specification, run deterministic DAG pre-analysis, and optionally sync the hardened spec to the Antigravity Brain artifact.

agb shape parses a structured Markdown specification (### Ticket N: <id> -- Title sections with Scope, Rails, Edges, Tier, Pool Hint, Objectives, and Acceptance Criteria), runs deterministic DAG pre-analysis (forecastOverlaps, verifyDeclaredPaths, scanStaticImportCoupling), and computes a 0–100 readiness score before agb plan.

Synopsis

agb shape <spec.md | id> [repo]

Deterministically pre-analyze a structured spec or brain plan for DAG validity, scope overlaps, and import coupling before agb plan.

FlagArgumentDescription
--analyze—pre-analyze spec
--json—emit JSON
--max-ticket-scope<n>warn above n files
--strict—fail on warnings
--sync-brain—sync to brain and .booster

Arguments and flags

  • <spec.md | id> is the path to a Markdown specification file or an Antigravity brain ID/prefix.
  • [repo] is optional and sets the target repository root for literal rail verification and static import coupling analysis (default .).
  • --analyze runs deterministic DAG pre-analysis (default behavior).
  • --strict treats non-empty warnings as exit code 2.
  • --sync-brain writes the formatted plan artifact to implementation_plan.md in the active Antigravity brain session directory and .booster/agb_plan_artifact.md in the repository.
  • --max-ticket-scope <n> sets the per-ticket scope warning threshold (default 12).
  • --json emits the structured JSON report to stdout.

Exit codes

CodeMeaning
0Pre-analysis passed (ok: true, zero structural or scope-overlap errors).
1Usage error or unreadable specification file.
2Structural errors, concurrent scope overlaps, missing literal rails, or --strict warnings.

On this page