REQ-SELF-CLI-001 pass medium since 0.2.0
Statement: The vnvspec CLI shall use structured exit codes (0 through 5) as defined by ExitCode enum.
Rationale: Structured exit codes allow CI pipelines to distinguish failure modes.
Verification Method: inspection
Last Checked: 2026-04-17 20:01 UTC
Acceptance Criteria
- ExitCode enum defines OK=0, ASSESSMENT_FAILURES=1, INCONCLUSIVE=2, SPEC_VALIDATION_ERROR=3, USAGE_ERROR=4, INTERNAL_ERROR=5.
- All CLI subcommands use ExitCode values, not raw integers.
Evidence
| ID | Kind | Verdict | Observed | Details |
|---|---|---|---|---|
| EV-AUTO-0017 | test | pass | 2026-04-17 20:01 | message: exit_codes=[0, 1, 2, 3, 4, 5] |