Repository navigation
feat(review): new low findings on a re-review no longer reopen the fix loop #1318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
06de0f6
755fccc
dde7a1f
249577d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1257,6 +1257,14 @@ adjudicated set (step 6d) and evaluate: | |
| Use `reject` only when no amount of code-level iteration will make | ||
| the PR mergeable. | ||
|
|
||
| **Re-review: new low findings do not reopen the loop.** | ||
| On a re-review where prior findings exist (step 2a), before applying the | ||
| rules above, take each **low** or **info** finding that fails the | ||
| code-review skill's finding matching procedure against every prior | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MEDIUM: An unaddressed low in an edited file can fail matching criterion 3 and get demoted. Step 6f demotes a low/info finding to That wording was written for severity anchoring, where changed and unchanged files are handled separately. Before this PR, failing to match only meant "assess severity normally", so it did no harm. Now it decides whether a finding blocks. A fix commit often edits the flagged file without resolving an older low finding in it. The file is then no longer "unchanged", so a literal reading fails criterion 3. The carried-over low is treated as new, demoted, and never reaches the fix agent. That breaks the PR's stated rule that "low findings carried over from the prior review that are still unaddressed" stay unchanged. This is separate from the existing thread on category vs. dimension and the thread on the prior-findings precondition. Suggestion: For the 6f classification, say that code-location matching uses the function/class anchor whether or not the file changed since the prior review SHA. The simplest fix is to reword criterion 3 to "still exists in the file (changed or not)". Or have 6f say that a prior finding whose logical issue is still present counts as matched even if the file changed. Consider an eval case: a prior low on file X, file X edited but the issue remains, and the finding must stay |
||
| finding. Keep it in `findings`, set `actionable: false`, and start its | ||
| description with "Suggestion:". Medium+ or matched findings are | ||
| unaffected. | ||
|
|
||
| **Self-consistency check.** Before emitting the final verdict, verify | ||
| that the verdict action is consistent with the language used in the | ||
| summary paragraph of the review body. If the summary states that | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HIGH: This PR raises its own skillsaw context-budget ceilings instead of trimming.
At head 249577d,
.skillsaw-baseline.jsonraises the context-budget ceiling forskills/code-review/SKILL.mdfrom 3,846 to 3,875 (lines 74/76). It raises the one forskills/pr-review/SKILL.mdfrom 16,784 to 16,886 (lines 83/85). Those are the two files this PR edits. The PR body says so: "The raise is this PR's own rule text; main's text is untouched."CONTRIBUTING.md (Opening a PR) says to regenerate the baseline only when unrelated changes on main raise a violation: "Do not regenerate the baseline for violations introduced or increased by your PR; fix those instead." skillsaw passes only because the ceiling was raised.
Suggestion: Revert both baseline entries to their main values (3,846 and 16,784). Then trim the added text to fit. For example, shorten the pr-review step 6f paragraph. It repeats "Medium+ or matched findings are unaffected", which the
agents/review.mdtext already implies. Also cut or shorten the one-line code-review pointer, or remove equal wording elsewhere in the same files, untilmake lintpasses against the original ceilings.