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

Skip to Content
antigravity-booster
ReferenceCLI

agb rescue

Launch an interactive clean-host agy rescue session on a failed ticket worktree and run P5 gate verification on exit.

agb rescue acquires the rescue lock for <ticket-id>, attaches or spawns an interactive agy session inside the preserved ticket worktree, and runs the ticket's P5 build/test verification and merge flow upon exit.

Synopsis

agb rescue <ticket-id> [repo]

Launch an interactive clean-host agy rescue session for a failed ticket and verify/merge on exit.

FlagArgumentDescription
--continue—reuse preserved worktree
--plan<plan.json>explicit plan path
-id——

Arguments and flags

  • <ticket-id> names the failed ticket to rescue.
  • [repo] targets the repository directory (defaults to .).
  • --continue resumes an existing preserved rescue worktree instead of recreating it from base.
  • --plan <plan.json> explicitly locates the plan artifact when .booster/plan.json is absent.

Exit codes

CodeMeaning
0Rescue completed and the ticket passed verification and merged cleanly.
2Rescue exited without passing gates, refused due to an active conflicting rescue lock, or failed to merge cleanly.
1Missing <ticket-id>, invalid flags, or internal error.

On this page