AgentKit
DocsKitsCLI ReferenceDesktop App

ak orchestrate

ak orchestrate accept

Verify and accept one settled attempt's artifact receipt

Use ak orchestrate accept for the operation described below. The command help records its arguments, effects, and options.

Command contract

Verify and accept one settled attempt's artifact receipt

Synopsis

Verify and accept one settled attempt's artifact receipt. CLI dispatch requires Darwin; internal dispatch belongs to the active harness.

Effects: Writes private jobs.yaml, state.json and metrics.jsonl in the run directory. Acceptance runs declared verification commands; advance may copy declared artifacts and spawn CLI jobs.

Exit status: 0 success, 1 command failure, 2 invalid flags or arguments

ak orchestrate accept <run-dir> <job-id> --attempt <id> --result <receipt.json> [flags]

Examples

  ak orchestrate accept ./run build --attempt build-1 --result receipt.json
  ak orchestrate accept ./run build --attempt build-1 --result receipt.json --json

Options

      --attempt string   Current attempt ID returned by advance
  -h, --help             help for accept
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
  -q, --quiet            Suppress non-error output on stderr
      --result string    JSON receipt with settled outcome and artifact hashes
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO

  • ak orchestrate - Coordinate and inspect agent jobs (process supervision: Darwin)