Repository navigation
Description
Problem
#948's calibration caps a hedged finding at MEDIUM unless criteria verified it (ai/review/calibration.py:77-82, at da50329), and it decides "hedged" from the title only. In review session 20261003-012555 (S8) the pricing.py broad-except findings were titled with "May ..." and reported MEDIUM; in 20261003-021501 (S9) the same claims came back without "May" and were reported HIGH (.data/review-evaluation-20261003-s9.md, section 3). They deserve LOW at most. A cap that flips with the wording of an unverified finding is not a calibration.
Acceptance criteria
- An UNVERIFIED finding is capped at MEDIUM whatever its wording, unless the persona quotes a consequence the cap names (the rule lives beside the other caps in
calibration.py); the hedge-word rule goes, or applies to title and description alike if the key question below decides to keep it. - A table test pins S8's and S9's pricing titles (with and without "May") to the same calibrated severity.
-
changelog.d/1051.mdrecords the change under### Changed.CHANGELOG.mdis not edited. -
uv run devops cipasses.
Key questions
- Cap every UNVERIFIED finding at MEDIUM? (proposed) Yes. VERIFIED ranks first since fix(review): the report ranks verified findings first, keeps only scanned advisories, and uses one category taxonomy and calibrated severity #948 and CRITICAL already requires VERIFIED; an unverified HIGH is the model's guess about severity on a claim nobody checked, and S5-S9 reported no valid unverified HIGH.
Depends on: none.
Order: after #1043 (criteria verdicts no longer final), which changes how findings reach VERIFIED.
Related: #948 (calibration), #1015 (persona severity rules).
Scope added 2026-10-03 from #1015's re-run (.data/measurements/recall2/decision.md): with both arms pinned to qwen3-coder, the persona followed #1015's severity wording 0 of 15 times. All 11 network-ingress findings came in HIGH although none quoted a NodePort, LoadBalancer, host port or Ingress route (none exists in k8s/monitoring or k8s/otel), and all 4 broad-except findings came in MEDIUM although the prompt asks for LOW. Prompt wording does not set severity; the cap belongs in calibration. 9 of the 11 network findings carry CWE-284, which maps to access_control, not network_exposure, so a cap keyed on the class alone would catch 2 of 11.
- Calibration caps a finding on a NetworkPolicy, Ingress, Service or firewall manifest that admits every address (whatever its category,
CWE-284included) at MEDIUM unless the finding quotes the NodePort, LoadBalancer, host port or Ingress route that publishes the port. A table test with the re-run's 11 network findings (fixtures from.data/measurements/recall2/{a,b}/reviews) asserts MEDIUM. - Calibration caps a broad-except (error-handling) finding at LOW unless it quotes a worse consequence. A test with the re-run's 4
pricing.pyfindings asserts LOW.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
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 (the severity cap that depends on whether the title hedges) is superseded by #871, re-scoped on 2026-10-03 as the redesign's single admission step: findings carry their producer's anchor, a location checked against the reviewed commit, severity from the tool and a policy table, and suppressions read at the base revision.
It stays open, labelled
status/blocked, and closes as not planned with "Superseded by #871" when #871 lands. Merging it into #871 now was proposed by the consolidation; that is left to a person.dan-petty commentedon Oct 8, 2026
Closing as not planned: superseded by #871 (PR #1278, v0.2.28), as the 2026-10-03 freeze comment and #1137's table say. A scanner finding's severity now comes from the tool at admission (
review/severity.py:99-113); the.devops/review.tomlcaps are not passed to admission yet, which #1301 tracks. The title-hedge cap (ai/review/calibration.py:77-78,:106-110) acts on model findings, which #1150 and #1151 delete.Found by the 2026-10-08 backlog review.