stella CLI — Output & Exit Codes

Audience: CI authors and operators who script against the stella CLI and need a stable, machine-readable output and exit-code contract.

This is the canonical exit-code contract for the StellaOps CLI. Every command honors these formats and codes unless its own guide documents an exception; scripts and pipelines should branch on them rather than parsing human-readable text.

Output formats

Exit codes (contract)

Clients and scripts should treat 2–5 as non-retryable unless input changes; only 10 should trigger automated retry with backoff.

The process invocation boundary normalizes System.CommandLine parse failures to 2 after the parser renders its diagnostic and usage text. Help and version requests still exit 0; valid commands retain the exit code returned by their handler.

Determinism & ordering

Examples

stella vuln list --output json | jq '.items[0]'
stella export mirror --offline --output ndjson > mirror.ndjson
stella task-runner simulate --output table

Observability signals

Command-specific notes

Proof and replay surfaces

Attestor transparency