Severity floor and a valid no-findings outcome #83
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/wuming#83
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reviewers have no strictness knob: LOW wording nits arrive with the same weight as HIGH security findings, and there is implicit pressure to produce findings on every run rather than report "nothing worth flagging".
On #75 the maintainer declined several MEDIUM findings and most LOW findings — a revealed preference for a higher floor than the default prompt produces.
A configurable minimum severity (e.g.
WUMING_MIN_SEVERITY) plus explicit agent-prompt permission to return no findings would let repos tune strictness and cut nit volume.Plan of attack (design agreed in session; spec: wave-1 review quality)
Exploration findings:
low|medium|high|critical), counted in the summary table with an unrecognised-severity catch-all. The floor is a rank-compare filter, not new plumbing.If no issues are found, return an empty array: []and the pipeline handles[]cleanly — the gap is prompt pressure (no signal that a clean report is valued) and calibration, not mechanics.Approach:
comments.py:severity_rank()(case-insensitive,Nonefor unknown) +passes_severity_floor()— unrecognised severity fails closed when a floor is set.config.py:WUMING_MIN_SEVERITY→Config.min_severity; invalid values raiseValueErrornaming the variable.main.py: filter applied right afterrouter.review(), before position resolution (cheapest filter first).Branch:
feat/issue-83-min-severityCommits:
:sparkles:rank+parser+helper →:sparkles:pipeline wiring →:sparkles:prompt calibration →:memo:docsPR: targets
main,Closes #83