Repository navigation
fix(review): verifier no longer invalidates findings its own reason confirms - #560
Merged
Merged
Conversation
…onfirms The first sample validation (#505) found all three unpinned :latest image findings invalidated although the verifier's reason confirmed the defect: it filed the finding's own verification criterion, or its fix, as the invalidation it matched. A matched invalidation criterion that restates the finding's claim, title or fix, or a reason that states the claimed condition without negating it, no longer invalidates. The finding stays unverified and reported. Genuine refutations still invalidate, even beside a restatement. The run's misread verdicts are regression cases in the #509 harness. Closes #536
This was referenced Sep 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #536.
Problem
In the first sample validation (#505), all three unpinned
:latestimage findings were INVALIDATED, although the verifier's reason confirmed the defect:The model filed the finding's own verification criterion, or its fix ("a specific tag such as
golang:1.22.3and a checksum"), as the invalidation it matched. These were 3 of the run's 6 found-then-dropped injections.Changes (
verification.py)_without_self_refutationruns before the status is decided:Test plan
tests/test_review_verifier_self_refutation.py(8 tests):tests/test_review_regression_harness.py: the run's two misread verdicts in the golden settests/test_review_verification.py: its invalidation case now matches the finding's invalidation criterion rather than its own claimuv run devops ci --force: all 13 gates pass