Docs assistant

Searches these docs locally; a configured answer service can generate responses.

Ask about this page or the wider Carina docs. Try: “How do I roll back a patch?”

llms.txt

Skip to content

Markdown

CLI reference

carina command surface — daemon, run, sessions, audit, patch, workflow, workers, and more.

Generated from the live carina --help surface. When in doubt, re-run help on your install — it is the authority.

carina --help
FormBehavior
carinaInteractive TUI (TTY); auto-starts daemon when needed
carina [options]TUI with flags: -session, -workspace, -locale, -socket, -no-alt-screen
carina <command> …Governed CLI subcommands
CommandDescription
carina initCreate ~/.carina, print daemon hint
carina statusDaemon health and counters
carina doctor [--json] [--fix [--yes]]Diagnostics; repairs need explicit --yes
carina update [--check] [--version x.y.z] [--force]Secure update of local runtime bundle
carina run [flags] "<prompt>"Create safe-edit session in cwd, submit task, wait (or --background)
carina run --input-format stream-json --output-format stream-jsonNDJSON protocol for SDK/CI
carina ask …Alias for run
carina agents listAvailable agent modes
carina commands listSlash commands

carina run flags: --agent, --model provider/model, --effort, --background.

CommandDescription
carina sessionsList sessions
carina import list [--source claude-code|codex] [--all-workspaces] [--json]Preview importable local conversations
carina import apply (--id ID|--all) [--source …]Copy selected visible messages into attributed Carina conversations
carina resume <session_id> [prompt|-]Continue or inspect
carina fork <session_id>Branch without mutating parent
carina cost [session_id] [--json]Model usage / cost
carina watch <session_id> [--json]Live events
carina steer <run_id> <message>Redirect the current execution at the next turn boundary
carina answer <question_id> <value>Answer structured question
carina items <session_id>Normalized item stream
carina session review <session_id>Governance projection
carina search <session_id> <text>Workspace search via daemon
carina artifact stat|read …Artifact metadata / bytes
CommandDescription
carina checkpoint list <session_id>List checkpoints
carina checkpoint preview <session_id> <id>Preview rewind
carina checkpoint restore <session_id> <id> --yesRestore code + conversation (destructive)
carina checkpoint summarize <session_id> <id>Summarize without restore
CommandDescription
carina memory status|list|context|search|read|verify …Inspect governed memory
carina memory write … add|replace|removeRequest memory mutations
carina memory handoff|rollback … --yesTransfer / restore revisions
carina memory projection-*HMS projection control (governed)
CommandDescription
carina context status|doctor|statsLocal engine health and counters
carina context compressRun the configured diagnostic transform
CommandDescription
carina schedule list|create|pause|resume|delete …Session-owned schedules (at / every / cron)
CommandDescription
carina audit <session_id>Raw event stream
carina audit verify <session_id>Hash-chain verify
carina audit lastMost recent session summary
carina report <session_id>Violations / files / commands
carina export <session_id>Full audit bundle
carina patch list|show|propose|apply|rollback …Patch transactions
CommandDescription
carina approve|deny …Resolve pending decisions
carina profile <session_id>Active permission profile
carina secret grant|request …Secret handles
carina plugin inspect|run …WASM plugins through policy
CommandDescription
carina auth login|list|logoutLocal credentials
carina providers list [--refresh] [--offline]Provider catalog
CommandDescription
carina gateway hello|methods|ws-probe …Gateway discovery / probe
carina backpressure statusWorker pressure
carina debug snapshot|trace …Local diagnostics
carina channel pending|reconcile …Channel crash reconciliation
CommandDescription
carina workers / worker listList workers
carina worker register|heartbeat|revoke …Lifecycle; --pool affinity tags
CommandDescription
carina workflow run <name> …Run .carina/workflows/<name>.json
carina workflow list|status …Runs
carina workflow pause|resume|stop|restart …Control
CommandDescription
carina scan|grep|diff …Tree / search / diff
carina run-native / ptyNative wrappers
carina patch-native …Atomic patch primitive (JSON stdin)
CommandDescription
carina runtime start|status|stop|logsManage the current workspace runtime
carina runtimes [--json]List known workspace runtimes without starting them
CommandDescription
carina daemon start|status|stop|logsCLI-owned local daemon
carina completion <bash|zsh|fish>Shell completion
  • Binary: carina --help on your machine
  • Packaging: docs/release.md
  • Conceptual maps: Policy · Audit · FEATURE_MAP

Was this page helpful?

One vote per page is recorded during this session.