Skip to content

fix(tier1): require complete missing-reference evidence - #483

Merged
rng1995 merged 3 commits into
mainfrom
naren/review-reference-ledger-20261113
Nov 13, 2026
Merged

rng1995 merged 3 commits into
mainfrom
naren/review-reference-ledger-20261113

Conversation

@rng1995

@rng1995 rng1995 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

A missing-reference scan could pass when a second missing reference 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

  • Familiar with the Contributing Guidelines; commit is signed off.
  • Added validator-level captured-report regressions, observed the expected failures before the fixes, and retained passing controls.
  • Updated documentation and 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.
  • Independent source review and 30-case regression selection passed.
  • python -m ruff check src tests passed; Fern check: 0 errors, 1 existing warning.
  • Full repository suite and build are left to this PR's CI.
  • No credentials, private datasets or proprietary benchmark content added.

Release Impact

  • Updated the existing Unreleased entry rather than adding separate unreleased housekeeping fixes.

@rng1995
rng1995 enabled auto-merge (squash) November 13, 2026 08:47

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rng1995
rng1995 merged commit 7a37915 into main Nov 13, 2026
27 checks passed
@rng1995
rng1995 deleted the naren/review-reference-ledger-20261113 branch November 13, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant