Release v2.1.7 — Stable
Internal cleanup release. No CLI behavior changes. All emitted strings,
exit codes, and JSON contracts are unchanged from v2.1.6.
Changes (merged via PR #11)
- Extracted all 14
E_*error codes to module-level constants; fixed
trailing-colon token inconsistency incommand_register(F1a, F1b, F1c) - Fixed hardcoded
scripts/reqtrace.pypath incommand_checkfix hint —
now usesPath(sys.argv[0]).name(F2) - Removed duplicate registry read on
checksuccess path (F3) - Removed double sort in
records_from_occurrences/write_ledger(F4) - Used keyword arguments in
ledger_record_from_jsonto prevent silent
field swap on reorder (F5) - Added two regression tests for
.mdscanner-skip behavior (F6) - Reverted out-of-scope sort introduced in
command_scanoutput
Verification
-
python -m pytest tests/ -v— 120 passed -
python examples/calibration/run.py— 7 passed, 0 failed -
python scripts/reqtrace.py check --strict— OK -
python scripts/reqtrace.py check --strict --format json—{"status":"ok",...} -
mkdocs build --strict— no warnings