Docs

CLI cheat sheet

Shell commands from the Go binary. The interactive TUI has a separate /… control surface.

Everyday

CommandWhat it does
captain doctorBuild identity, toolchain pins, capability probes, leg readiness; warns if CAPTAIN_DIRECTOR names a leg that is not ready
captain doctor --rehearseClean-machine install/upgrade/rollback rehearsal
captain director / director <leg>Show or switch the director ladder (runnable legs only at startup)
captain adi / adi refreshADI standing per leg (green/red/not measured) and green tuples no leg serves yet
captain whyLast routing decision: candidates, exclusions, policy, charges
captain quotaObserved/inferred quota per leg
captain budgetPer-task budgets (attempts, cost, mode, stopping reason)
captain statsAggregate ledger stats

Evaluation

CommandWhat it does
captain eval verify <suite.json>Non-vacuous fixture gate
captain eval run <suite.json> --out <result.json>Execute arms (uses provider credits)
captain eval review <result.json>Blinded pending verdicts
captain eval report <result.json>Acceptance / cost / latency table
captain release reportRelease package checklist

Tasks, MCP & hosts

CommandWhat it does
captain task mcpStdio MCP: plan, submit, inspect, events, artifacts, cancel, resume
captain task …Same contract over HTTP /v1/task
captain host pi / jido / certHost helpers and certification against a live brain
captain cancel / lifecycle / resumeCancellation and recovery
captain handoffStructured handoff brief

When CAPTAIN_TASK_TOKEN is set, every /v1/task request needs Authorization: Bearer …. Unset keeps the task API loopback-only. See security.

TUI controls (in running session)

Type /captain for the full list. Pool modifiers: /oss (open weights) and /deterministic (ADI-green serving tuples, pinned). Mid-run: /btw <note> steers a running worker; /interrupt stops it and keeps a handoff or partial. /captain <leg|frontier|quality|auto|reset> switches the director helm live. See ADI and workflows.

Full tables live in the source tree as docs/CLI.md and configuration.