You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(review): verdicts bind across conflicting titles and absence wording shields nonexistent constructs #790
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Three gaps on release/v0.2.24 let a verification result attach to the wrong finding, or let a false finding through. Found while checking the #659 and #660 fixes:
A verdict still binds to a finding whose title conflicts._is_oracle_verdict_match (ai/review/verification.py:1820) binds when the id and location match even if the titles conflict. In a repro, an INVALIDATED "Line too long" verdict bound to a SQL injection finding on the same line. The title-overlap count also includes stopwords such as "in" and "the". test_positional_oracle_rejects_incompatible_title passes on 1ad24ac, because its string ids parse to None.
The absence exemption is too broad. It matches substrings of the title and description (ai/review/construct_validator.py:463). Findings about constructs that don't exist therefore escape invalidation whenever their text says "without" or "missing". Examples: "Unsafe eval_payload call … without validation" and "Missing timeout in fetch_bounded", where neither name exists in the code.
A "-" mitigation slips through. "-" is in _NO_VALUES (ai/review/verification.py:1312) but not in CONST_PLACEHOLDER_VALUES (config/constants.py:961). A "-" mechanism or perimeter therefore gives MITIGATED with an empty perimeter.
Scope & Deliverables
Deliverable:
A verdict binds only when the title is compatible, and the comparison ignores stopwords.
An absence finding is exempt only for the construct it says is missing.
One placeholder set serves both checks.
Tests cover a real integer-id collision with conflicting titles, a nonexistent construct described with "without", and a "-" mitigation.
Frozen by the evidence-first review redesign (#1137, owner direction of 2026-10-03): patches to the model generator and verifier stop, and tool-layer fixes continue. This item patches code that #1150 deletes (the verifier path in verification.py, the guards and verifier prompts, construct_validator.py, criteria_evidence.py, and the known-false-positive catalog).
It stays open, labelled status/blocked, and closes as not planned with "Superseded by #1150" when that item lands. Until then, the interim is the tools-only review (--no-persona-review --no-verification). Do not start work on it.
Moved to v0.2.35: v0.2.35 started with fewer than its 16 items and was topped up to 16 from Ready items, critical fixes and P0 features first. (devops roadmap reprioritize)
Closed as not planned in the 2026-10-17 unblocking review: Superseded by #1150. verification.py, construct_validator.py and the mitigations ledger are deleted. A person's verdict reaches a findings.json copy only by persona, location and title (ai/review/adjudication.py:214-245).
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
dan-petty commentedon Oct 3, 2026
Frozen by the evidence-first review redesign (#1137, owner direction of 2026-10-03): patches to the model generator and verifier stop, and tool-layer fixes continue. This item patches code that #1150 deletes (the verifier path in
verification.py, the guards and verifier prompts,construct_validator.py,criteria_evidence.py, and the known-false-positive catalog).It stays open, labelled
status/blocked, and closes as not planned with "Superseded by #1150" when that item lands. Until then, the interim is the tools-only review (--no-persona-review --no-verification). Do not start work on it.dan-petty commentedon Oct 11, 2026
Moved to v0.2.35: v0.2.35 started with fewer than its 16 items and was topped up to 16 from Ready items, critical fixes and P0 features first. (devops roadmap reprioritize)
dan-petty commentedon Oct 17, 2026
Closed as not planned in the 2026-10-17 unblocking review: Superseded by #1150. verification.py, construct_validator.py and the mitigations ledger are deleted. A person's verdict reaches a findings.json copy only by persona, location and title (ai/review/adjudication.py:214-245).