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): review.toml severity caps apply at admission without capping secret-scanner findings #1301
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Copilot thread 7 on #1283, verified at 61f9b67. [severity_caps] in .devops/review.toml never reaches admit() [code: src/devops_cli/ai/review/pipeline.py:645], so the policy is inert. No release note claims it, and #948 calibration already caps test and docs findings at LOW. Passing the caps through as suggested would demote secrets found in docs to INFO.
Acceptance criteria
Either the caps apply at admission (head and base revision) and exempt secret-scanner findings, or the inert [severity_caps] section and the unused parameter are deleted. Tests cover the chosen behaviour.
Drop the delete option: #871 caps severity by path class (review/severity.py:78-113), and #1150 deletes the only cap today. _admit_single_candidate (ai/review/pipeline.py:636-656) passes [severity_caps]; secret-scanner findings stay uncapped.
Linked: #1352 and #1143. _admit_single_candidate (ai/review/pipeline.py:636-656) passes none of severity_caps, manifest_objects or canary_passed; whichever lands second rebases. Found by the 2026-10-08 backlog review.
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 8, 2026
Linked: #1352 and #1143.
_admit_single_candidate(ai/review/pipeline.py:636-656) passes none ofseverity_caps,manifest_objectsorcanary_passed; whichever lands second rebases. Found by the 2026-10-08 backlog review.dan-petty-bot commentedon Oct 8, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
A broken severity-cap policy degrades review quality but is not a security hole and #1150 may remove the only cap anyway.Users who configure [severity_caps] get no effect, undermining trust in the review pipeline's policy controls.The fix is either threading one parameter into admit() with a secret-scanner exemption or deleting the dead section and parameter.dan-petty commentedon Oct 25, 2026
resolved by PR #1529