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 18:13 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-PYTEST-0032 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/test_self_spec.py::TestExitCodes::test_exit_code_enum_values, test_name: test_exit_code_enum_values |