Exit codes¶
Every command exits with one of these codes, so scripts and CI can tell a failed gate from a broken setup. An error message names the problem, a hint and, where one helps, a page of these docs.
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | the agent failed the gate (a finding at or above --fail-on) |
| 2 | usage or configuration error |
| 3 | environment or dependency problem (a missing extra, or an unreachable collector when otel.required is set) |
| 4 | verification failure |
| 5 | internal error |
--fail-on none never exits 1. credencestack evidence verify exits 4 when any file, chain, root or signature does not check out.