Repository navigation
fix(tier1): require complete missing-reference evidence - #483
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Reviewed exact head 188c78b9 and both external integrations: 37654e6b exactly merges original 76ac185c with main 6eb75632, and this head exactly merges that result with main b8bbd52e. No manual source changes were introduced. Reviewed the bounded completeness/ledger matching, actual unscanned exclusions, escaped-space handling, refusal guidance and independent warning/error/gate preservation. All 33 new regression cases pass on this exact head; the full security module previously passed 1,341 cases with 1 skip on the reviewed implementation. Full src/tests Ruff and Fern validation are recorded for that implementation. Current-head CI has no failed checks; coverage remains running. No remaining actionable finding.
Summary
A missing-reference scan could pass when a second
missingreference had no ledger row, or the report declared truncated evidence. Require the complete supported report shape, a ledger location for every missing reference, no ambiguous references anywhere, and nonfatal exclusions backed by actual uninspected paths.Shell-escaped spaces now participate in omitted-file checks. Finding deduplication preserves independent scan warnings/errors and gate failures, so the accepted-reference warning survives the static/LLM merge. Refused references include an acceptance hint and documentation link. The existing unreleased entry and docs describe these requirements; the stray wildcard housekeeping bullet is folded into that entry.
Follow-up to #457, including ledger coverage, unknown evidence, escaped spaces, diagnostics, and stage-merge warnings.
Verification
CHANGELOG.md.python -m pytest tests/validators/test_security.py -q -n 2: 1,341 passed, 1 skipped under the current lock on Python 3.13.python -m ruff check src testspassed; Fern check: 0 errors, 1 existing warning.Release Impact