Observe, answer, and cancel Runs
Create a Run once, retain its ID, and use that ID for every subsequent operation.
wait defaults to action_or_terminal. --until terminal waits past questions without answering them. Timeouts and Ctrl+C end observation only. watch reconciles snapshots on reconnect without resubmitting execution.
Answer the current action
Read pendingAction and retain its exact ID. A questions action requires every question exactly once:
Use actual question IDs. Skip only questions that allow skipping. A confirmation action uses:
Stale or invalid answers preserve the pending action. After an uncertain response, inspect the Run before submitting again.
Cancellation and uncertain writes
Cancellation becomes failed with RUN_STOPPED and preserves committed data and project effects. Query uncertain admission receipts using the original operation and instance. Explicit replay requires the original parameters, --operation-id and --instance.
Run statuses and receipt outcomes describe different things; see CMD reference. Resuming a restored mirror is a separate operation described in mirrors.