Skip to content

feat(review): new low findings on a re-review no longer reopen the fix loop - #1318

Closed
guyoron1 wants to merge 4 commits into
fullsend-ai:mainfrom
guyoron1:feat/1208-rereview-low-findings
Closed

guyoron1 wants to merge 4 commits into
fullsend-ai:mainfrom
guyoron1:feat/1208-rereview-low-findings

Conversation

@guyoron1

@guyoron1 guyoron1 commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Since #1049, any finding with actionable: true and a remediation returns request-changes, low severity included. Every fix commit gives the next review new code to find nits in, so a PR whose blocking findings are already fixed keeps looping until the iteration cap. On fullsend-ai/fullsend#6930, the only medium was fixed in iteration 1, and five more rounds ran on new lows ($58 total).

This implements #1208. On a re-review where prior findings exist, a low or info finding that matches no prior finding gets actionable: false before the outcome is decided. The finding is still posted, as a suggestion.

Unchanged:

  • first reviews (fix(#1046): key review verdict on finding actionability, not just severity #1049 still applies, so actionable lows reach the fix agent once)
  • re-reviews whose prior review had no findings (approved clean, then more code pushed): the rule does not apply, so those actionable lows also get their one pass
  • all medium+ findings
  • low findings carried over from the prior review that are still unaddressed

"Matches a prior finding" reuses the code-review skill's finding matching procedure (all four criteria: category, file, code location, description).

Changes

  • skills/pr-review/SKILL.md §6f: the rule, next to the verdict rules. A demoted finding stays in findings with actionable: false, and its description starts with "Suggestion:".
  • agents/review.md: the same rule in the outcome section, since the agent definition wins on conflicts. It also states the complement: if the prior review had no findings, the rule does not apply.
  • skills/code-review/SKILL.md: a one-line pointer next to its copy of the outcome rules.
  • .skillsaw-baseline.json: context-budget ceilings set to the measured size of the two skills with the rule added (pr-review 16,784 → 16,886; code-review 3,846 → 3,875). The raise is this PR's own rule text; main's text is untouched.

Trade-off

A new actionable low found on a re-review that follows a review with findings no longer gets auto-fixed. It's still visible on the PR, and the author or a human /fs-fix can pick it up. That's the point of #1208: those rounds cost about $10 each and never blocked merge.

Testing

make lint passes (grade A) and pre-commit passes on the changed files. Validation per #1208: over the next 10 PRs with 2+ review rounds, check that no round is triggered only by new lows and that no medium+ finding is suppressed.

Closes #1208

…x loop

Since fullsend-ai#1049, any finding with `actionable: true` and a remediation sends
the PR back to the fix agent, low severity included. Each fix commit
gives the next review fresh code to find new nits in, so a PR whose
blocking findings are already fixed keeps looping until the iteration
cap (fullsend#6930: 5 fix iterations after the only medium was fixed in
the first).

On a re-review, a low or info finding that matches no prior finding now
counts as non-actionable for the verdict. It stays in the findings as a
suggestion. First reviews, medium+ findings, and low findings carried
over from the prior review are unchanged.

The skillsaw context-budget ceilings for pr-review and code-review are
raised by the added lines.

Closes fullsend-ai#1208

Signed-off-by: guy oron <goron@redhat.com>
@guyoron1
guyoron1 requested a review from a team September 16, 2026 07:28
@github-actions

Copy link
Copy Markdown

Functional tests did not run

Functional tests run automatically for org/repo members and collaborators on pull requests.

For other contributors, a maintainer must add the ok-to-test label after the latest push.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Keep new low re-review findings from reopening the fix loop

✨ Enhancement ⚙️ Configuration changes 🕐 10-20 Minutes

Grey Divider

AI Description

• Prevents unmatched low or informational re-review findings from restarting automated fixes.
• Keeps new minor findings visible as suggestions while preserving existing severity rules.
• Synchronizes review guidance and context-budget baselines.
Diagram

graph TD
  A["Adjudicated findings"] --> B{"Re-review?"}
  B -- "No" --> F["Normal verdict rules"] --> G["Review outcome"]
  B -- "Yes" --> C{"Low or info?"}
  C -- "No" --> F
  C -- "Yes" --> D{"Prior match?"}
  D -- "Yes" --> F
  D -- "No" --> E["Keep as suggestion"] --> G
Loading
High-Level Assessment

The verdict-time exception is the appropriate approach because it preserves finding visibility, reuses existing prior-finding matching, and leaves first reviews, matched minor findings, and medium-or-higher findings unchanged. Suppressing these findings or globally making minor findings non-actionable would alter broader review behavior.

Files changed (4) +21 / -5

Enhancement (3) +16 / -0
review.mdDefine unmatched minor re-review findings as suggestions +5/-0

Define unmatched minor re-review findings as suggestions

• Adds the authoritative outcome rule preventing new low or informational findings from independently returning a re-review to the fix agent. The findings remain visible as suggestions.

agents/review.md

SKILL.mdReference the minor-finding re-review exception +3/-0

Reference the minor-finding re-review exception

• Adds the re-review exception alongside the code-review outcome rules and points to the detailed PR-review procedure.

skills/code-review/SKILL.md

SKILL.mdAdd verdict handling for new minor re-review findings +8/-0

Add verdict handling for new minor re-review findings

• Defines unmatched low and informational re-review findings as non-actionable during verdict selection. It retains them as suggestions and explicitly preserves existing behavior for medium-or-higher and matched findings.

skills/pr-review/SKILL.md

Other (1) +5 / -5
.skillsaw-baseline.jsonRaise context-budget baselines for expanded review skills +5/-5

Raise context-budget baselines for expanded review skills

• Regenerates the baseline timestamp and raises the recorded token ceilings for the code-review and PR-review skills to reflect their added guidance.

.skillsaw-baseline.json

@qodo-code-review

qodo-code-review Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (2)

Grey Divider


Action required

1. New low findings can bypass fixes ✓ Resolved 📜 Skill insight ✧ Quality
Description
skills/pr-review/SKILL.md exempts an unmatched low or info finding on re-review from the
unconditional actionable: true plus remediation verdict check. When such a finding retains those
fields, the review can approve instead of requesting changes and the fix agent is not invoked.
Code

skills/pr-review/SKILL.md[R1263-1265]

+the code-review skill's matching procedure) counts as non-actionable in
+the rules above. Keep it in `findings` and call it a suggestion in the
+summary, so the self-consistency check does not escalate it. Medium+
Relevance

●●● Strong

The finding identifies a concrete verdict-consistency gap in newly changed review policy.

PR-#49
PR-#1009

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
Compliance rule 1538396 requires every finding that remains actionable and has remediation to block
approval. The new instructions create a verdict-only exception for unmatched low and info findings
instead of explicitly changing their final actionable field.

skills/pr-review/SKILL.md[1260-1266]
agents/review.md[233-236]
Skill: pr-review

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The re-review exception ignores findings that may still have `actionable: true` and a non-empty remediation, allowing approval despite the unconditional blocking contract.

## Fix Focus Areas
- skills/pr-review/SKILL.md[1260-1266]
- agents/review.md[233-236]
- skills/code-review/SKILL.md[311-312]

## Recommended Fix
Require every newly discovered low or info suggestion to be normalized to `actionable: false` in the final finding set before evaluating the verdict, rather than merely treating an actionable finding as non-actionable during verdict calculation. Keep the unconditional request-changes rule for any finding that remains actionable and has remediation.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Re-review behavior lacks regression tests 📜 Skill insight ▣ Testability
Description
agents/review.md changes verdict behavior for unmatched low and info findings, but the PR changes
no automated test or evaluation case. A re-review containing a new actionable low is therefore not
constrained alongside the required cases where matched lows and medium-or-higher findings must
continue to block.
Code

agents/review.md[R233-236]

+On a re-review, a new low or info finding — one that matches no prior
+finding — counts as non-actionable for the outcomes above, so it cannot
+send the PR back to the fix agent on its own. It stays in the findings
+as a suggestion. See the `pr-review` skill, step 6f.
Relevance

●●● Strong

Behavioral instruction changes commonly receive accepted regression-test requests, including recent
agent-policy changes.

PR-#1296

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
Compliance rule 1538339 requires a corresponding test change for behavioral changes. The cited
additions alter the agent's verdict policy, while the PR diff contains only instruction and baseline
files and no test or evaluation case.

agents/review.md[233-236]
skills/pr-review/SKILL.md[1260-1266]
eval/review/eval.yaml[71-77]
Skill: code-implementation

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The agent's verdict behavior changes without an automated test covering the new exception and its boundaries.

## Fix Focus Areas
- agents/review.md[233-236]
- skills/pr-review/SKILL.md[1260-1266]
- eval/review/eval.yaml[71-77]

## Recommended Fix
Add review evaluation cases proving that a re-review with only a new unmatched low or info suggestion does not request changes, while a first review, a matched actionable low, and every medium-or-higher finding continue to produce their existing blocking outcomes.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Review policy changes need human review 📜 Skill insight § Compliance
Description
agents/review.md and both changed skill files are protected governance paths that alter the
automated review policy. The linked issue and PR explanation justify the edits, but these
instructions still require human approval before merge.
Code

agents/review.md[R233-236]

+On a re-review, a new low or info finding — one that matches no prior
+finding — counts as non-actionable for the outcomes above, so it cannot
+send the PR back to the fix agent on its own. It stays in the findings
+as a suggestion. See the `pr-review` skill, step 6f.
Relevance

●● Moderate

Protected-path governance is relevant, but precedent rejected adding explicit protected-path
approval guidance.

PR-#753

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
Compliance rule 1538392 explicitly designates agents/ and skills/ as protected paths and
requires a finding whenever they are modified. This PR changes the authoritative review-agent
outcome instructions and two review skills, so the linked issue lowers the authorization concern but
does not remove the human-approval requirement.

agents/review.md[233-236]
skills/code-review/SKILL.md[311-312]
skills/pr-review/SKILL.md[1260-1266]
Skill: pr-review



Remediation recommended

4. Suggestion labeling breaks review format ✓ Resolved 🐞 Bug ≡ Correctness
Description
step 6f requires calling these findings suggestions in the summary, but step 7 explicitly forbids
a summary section and permits only severity-grouped findings. On an unmatched low or info re-review,
the agent must either violate the required body format or omit the wording intended to keep the
self-consistency check from escalating the verdict.
Code

skills/pr-review/SKILL.md[R1263-1265]

+the code-review skill's matching procedure) counts as non-actionable in
+the rules above. Keep it in `findings` and call it a suggestion in the
+summary, so the self-consistency check does not escalate it. Medium+
Relevance

●●● Strong

Recent precedents accept fixes for contradictory review-flow instructions and output-format
ambiguity.

PR-#1038
PR-#1211

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changed lines depend on summary wording to avoid escalation, while the output procedure
expressly says not to produce a summary section and defines a findings-only body structure.

skills/pr-review/SKILL.md[1260-1277]
skills/pr-review/SKILL.md[1295-1312]
skills/pr-review/SKILL.md[1319-1330]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new rule requires suggestion wording in a summary even though the mandated review format prohibits summaries. This leaves the agent without a compliant location for the wording used to preserve the non-blocking verdict.

## Fix Focus Areas
- skills/pr-review/SKILL.md[1263-1265]
- skills/pr-review/SKILL.md[1295-1330]

## Recommended Fix
Replace the summary instruction with an instruction to label each affected finding as a suggestion within its severity-grouped finding entry. Update the self-consistency wording to evaluate that finding text without requiring a summary paragraph or section.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


5. New suggestions can block again ✓ Resolved 🐞 Bug ≡ Correctness
Description
step 6f says matching requires the same category, while its referenced procedure defines a
category match as merely the same review dimension and also adds a code-location criterion. When two
low findings share a dimension, file, and logical issue but have different categories, the agent can
treat the new one as carried over and send it back to the fix loop.
Code

skills/pr-review/SKILL.md[R1261-1263]

+(step 2a found prior findings), a **low** or **info** finding that
+matches no prior finding (same category, file, and logical issue — see
+the code-review skill's matching procedure) counts as non-actionable in
Relevance

●●● Strong

Accepted precedents consistently resolve conflicting or ambiguous cross-references in review
instructions.

PR-#1038
PR-#1211

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The changed rule requires the same category but delegates to a procedure where “category match”
means the broader review dimension and where location is an additional mandatory criterion. The
verdict rules show that this classification controls whether an actionable low finding requests
changes.

skills/pr-review/SKILL.md[1260-1266]
skills/code-review/SKILL.md[271-285]
skills/pr-review/SKILL.md[1240-1253]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new re-review exception and its referenced matching procedure define category matching differently, making it ambiguous whether a low finding is new or carried over. That classification directly determines whether the finding may request changes.

## Fix Focus Areas
- skills/pr-review/SKILL.md[1260-1266]
- skills/code-review/SKILL.md[271-285]

## Recommended Fix
Define the matching criteria identically in both places. Either require the exact finding category in the matching procedure or change step 6f to explicitly say review dimension, and include the same location criterion in both descriptions.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
✅ Compliance rules (platform): 57 rules
✅ Skills: 4 invoked
  code-review
  code-implementation
  pr-review
  docs-review
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/autonomy-analysis (sha: 46717359)
  Explored: repo: fullsend-ai/fullsend (sha: 2f7e4e1b)
Review mode: ⚖️ Balanced: This changes review verdict semantics across multiple authoritative instruction files, creating a meaningful risk of inconsistent or incorrectly suppressed findings despite the small diff.

Grey Divider

Tip of the day
💡 Did you know, you can choose which labels appear on a finding, and whether they show icons or text

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread skills/pr-review/SKILL.md Resolved
Comment thread agents/review.md Outdated
Comment on lines +233 to +236
On a re-review, a new low or info finding — one that matches no prior
finding — counts as non-actionable for the outcomes above, so it cannot
send the PR back to the fix agent on its own. It stays in the findings
as a suggestion. See the `pr-review` skill, step 6f.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

2. Re-review behavior lacks regression tests 📜 Skill insight ▣ Testability

agents/review.md changes verdict behavior for unmatched low and info findings, but the PR changes
no automated test or evaluation case. A re-review containing a new actionable low is therefore not
constrained alongside the required cases where matched lows and medium-or-higher findings must
continue to block.
Agent Prompt
## Issue description
The agent's verdict behavior changes without an automated test covering the new exception and its boundaries.

## Fix Focus Areas
- agents/review.md[233-236]
- skills/pr-review/SKILL.md[1260-1266]
- eval/review/eval.yaml[71-77]

## Recommended Fix
Add review evaluation cases proving that a re-review with only a new unmatched low or info suggestion does not request changes, while a first review, a matched actionable low, and every medium-or-higher finding continue to produce their existing blocking outcomes.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Comment thread agents/review.md Outdated
Comment on lines +233 to +236
On a re-review, a new low or info finding — one that matches no prior
finding — counts as non-actionable for the outcomes above, so it cannot
send the PR back to the fix agent on its own. It stays in the findings
as a suggestion. See the `pr-review` skill, step 6f.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

3. Review policy changes need human review 📜 Skill insight § Compliance

agents/review.md and both changed skill files are protected governance paths that alter the
automated review policy. The linked issue and PR explanation justify the edits, but these
instructions still require human approval before merge.

Comment thread skills/pr-review/SKILL.md Resolved
Comment thread skills/pr-review/SKILL.md Resolved
…t-only exemption

A verdict-only exemption left these findings `actionable: true` with a
remediation while the review approved, contradicting the unconditional
blocking rule and the schema. Step 6f now sets `actionable: false` on
them before the outcome rules run.

Matching now defers to the code-review finding matching procedure
instead of restating a looser subset of it, and the suggestion label
moves into the finding description, since step 7 forbids a summary
section.

Signed-off-by: guy oron <goron@redhat.com>
@guyoron1

Copy link
Copy Markdown
Contributor Author

Thanks Qodo. Three fixed in 2f60bd8, two declined.

  • High: New low findings can bypass fixes. Fixed in 2f60bd8: step 6f no longer exempts these findings at verdict time only. It sets actionable: false on them before the outcome rules run, so an approve never carries an actionable: true finding with a remediation. agents/review.md and the code-review pointer say the same.
  • High: Re-review behavior lacks regression tests. Declined: no script changed, so script-test has nothing to cover. The review eval harness (eval/scripts/setup-fixture.sh) seeds issues and a PR but can't seed a prior review with a head SHA, so it can't stage a re-review. The PR body gives the validation plan from Review agent should raise severity threshold for new findings on re-review iterations #1208: the next 10 PRs with 2+ review rounds.
  • High: Review policy changes need human review. Declined: that isn't a defect in the change. Paths under agents/ and skills/ already require human approval before merge, and this PR will get it.
  • Medium: New suggestions can block again. Fixed in 2f60bd8: step 6f now points to the code-review finding matching procedure (all four criteria) and no longer restates a looser "same category, file, and logical issue".
  • Medium: Suggestion labeling breaks review format. Fixed in 2f60bd8: dropped the summary wording. The finding's own description now starts with "Suggestion:", so step 7's findings-only format holds.

make lint (grade A, within the existing baseline) and pre-commit pass.

@qodo-code-review

Copy link
Copy Markdown

Thanks Qodo. Three fixed in 2f60bd8, two declined.

  • High: New low findings can bypass fixes. Fixed in 2f60bd8: step 6f no longer exempts these findings at verdict time only. It sets actionable: false on them before the outcome rules run, so an approve never carries an actionable: true finding with a remediation. agents/review.md and the code-review pointer say the same.
  • High: Re-review behavior lacks regression tests. Declined: no script changed, so script-test has nothing to cover. The review eval harness (eval/scripts/setup-fixture.sh) seeds issues and a PR but can't seed a prior review with a head SHA, so it can't stage a re-review. The PR body gives the validation plan from Review agent should raise severity threshold for new findings on re-review iterations #1208: the next 10 PRs with 2+ review rounds.
  • High: Review policy changes need human review. Declined: that isn't a defect in the change. Paths under agents/ and skills/ already require human approval before merge, and this PR will get it.
  • Medium: New suggestions can block again. Fixed in 2f60bd8: step 6f now points to the code-review finding matching procedure (all four criteria) and no longer restates a looser "same category, file, and logical issue".
  • Medium: Suggestion labeling breaks review format. Fixed in 2f60bd8: dropped the summary wording. The finding's own description now starts with "Suggestion:", so step 7's findings-only format holds.

make lint (grade A, within the existing baseline) and pre-commit pass.

Understood. The changes in 2f60bd8 address finding 1, finding 4, and finding 5. The rationale for declining finding 2 and finding 3 is noted; no dismissal action was taken.

Comment thread skills/pr-review/SKILL.md Outdated
the PR mergeable.

**Re-review: new low findings do not reopen the loop.** On a re-review
(step 2a found prior findings), before applying the rules above, take

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEDIUM — Re-review precondition for the new low-finding rule differs between step 6f here and the authoritative agents/review.md

This line gates the new rule on "On a re-review (step 2a found prior findings)". In this skill, "prior findings exist" is a distinct condition from "re-review": step 2a only tests whether prior-review.txt is non-empty (lines 193-198), and the re-review dispatch rules at lines 223, 310, 361 and 672 branch separately on whether prior findings exist. agents/review.md:233-236 (which wins on conflict per code-review/SKILL.md:316-319) and skills/code-review/SKILL.md:311-312 state the rule for any re-review with no qualifier.

The two readings diverge when prior-review.txt is present but contains zero findings (prior review approved clean, author pushed more code, re-review finds a new actionable low):

  • Under agents/review.md, every new low vacuously matches nothing and is set actionable: false, so it never reaches the fix agent even once — contradicting the PR body's own "Unchanged" claim that actionable lows reach the fix agent once.
  • Under this skill's literal gate, the rule does not apply and the low still yields request-changes.

The gap is narrower than it might look: an absent or empty prior-review.txt is a first review per step 2a, so the divergence is only the present-but-zero-findings case. It is still a real conflict between the three files that the agent must resolve at run time.

Suggestion: Pick one precondition and state it identically in all three places.

  • If the intent is "any re-review" (prior-review.txt non-empty), change this line to "(step 2a found a non-empty prior-review.txt)" — the phrasing already used at line 549 — and drop "found prior findings".
  • If the intent is "only when the prior review had findings" (preserving the once-through-the-fix-agent guarantee), add that qualifier to agents/review.md:233 and code-review/SKILL.md:311, since agents/review.md is authoritative on conflict.

Conflict: .skillsaw-baseline.json. Main regenerated the baseline (new
timestamp, entries reordered, pr-review ceiling 16,630 -> 16,784) while
this branch had raised the pr-review and code-review ceilings for its
added rule text. Main's file is taken as is and only the two
context-budget entries this PR grows are changed, each to the token
count skillsaw 0.18.0 measures for the merged skill:

- skills/pr-review/SKILL.md: 16,784 -> 16,889 (main plus this PR's
  step 6f paragraph)
- skills/code-review/SKILL.md: 3,846 -> 3,875 (main plus the step 6f
  pointer; the branch carried 3,877, two tokens above measured)

skills/pr-review/SKILL.md itself merged cleanly.

Signed-off-by: guy oron <goron@redhat.com>
…dings exist

Step 6f gated the rule on "step 2a found prior findings", while
agents/review.md, which wins on conflict, and the code-review pointer
stated it for any re-review. The readings split when prior-review.txt
is present but holds no findings: a clean review, then more code
pushed. Under "any re-review" a new actionable low there is demoted
without ever reaching the fix agent, which contradicts the PR's claim
that actionable lows still get one fix pass.

The narrower precondition is the intended one. fullsend-ai#1208 is about the
review, fix, re-review loop, where every iteration has prior findings,
so the loop still terminates. Code pushed after a clean review has
never been through the fix agent, so its actionable lows keep their one
pass. All three files now open the rule with the same words, "On a
re-review where prior findings exist", the term the pr-review skill
already branches on (steps 3a and 3c). agents/review.md also states the
complement: if the prior review had no findings, the rule does not
apply.

Net-neutral on the context budget. Step 6f's closing sentence and the
code-review pointer are tightened to pay for the added words, so
pr-review measures 16,886 tokens (was 16,889; ceiling lowered to match)
and code-review stays at 3,875.

Signed-off-by: guy oron <goron@redhat.com>
@guyoron1

Copy link
Copy Markdown
Contributor Author

@waynesun09 thanks — addressed in 940e7c22. New head 940e7c22.

  • MEDIUM — re-review precondition differs between step 6f and agents/review.md: Took your second option: the rule applies only when the prior review had findings. Review agent should raise severity threshold for new findings on re-review iterations #1208 is about the review, fix, re-review loop, and every iteration there has prior findings, so the loop still ends. In the case you describe (prior review approved clean, more code pushed, a new actionable low) that code has never been through the fix agent, so the low keeps its one pass and still returns request-changes, in line with the PR body's claim that actionable lows reach the fix agent once. All three files now open the rule with the same words, On a re-review where prior findings exist — the term the skill already branches on for re-review dispatch (step 3c). Step 6f keeps its (step 2a) pointer, the code-review pointer carries the qualifier, and agents/review.md, being authoritative, also states the complement: "If the prior review had no findings, this rule does not apply." The added words cost no tokens: step 6f's closing sentence and the tail of the code-review pointer are tightened to pay for them.

Upstream main is merged in; the only conflict was .skillsaw-baseline.json. Both ceilings equal the measured size of the merged skills: pr-review 16,886 (main 16,784; this fix took it down from 16,889) and code-review 3,875 (main 3,846; unchanged by this fix).

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review sweep: two findings, posted inline.

Comment thread .skillsaw-baseline.json
"rule_id": "context-budget",
"file_path": "skills/code-review/SKILL.md",
"message": "Estimated 3,846 tokens exceeds skill warn limit of 3,000",
"message": "Estimated 3,875 tokens exceeds skill warn limit of 3,000",

Copy link
Copy Markdown
Member

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.json raises the context-budget ceiling for skills/code-review/SKILL.md from 3,846 to 3,875 (lines 74/76). It raises the one for skills/pr-review/SKILL.md from 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.md text already implies. Also cut or shorten the one-line code-review pointer, or remove equal wording elsewhere in the same files, until make lint passes against the original ceilings.

Comment thread skills/pr-review/SKILL.md
**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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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 actionable: false when it "fails the code-review skill's finding matching procedure against every prior finding". Criterion 3 of that procedure (skills/code-review/SKILL.md, Finding matching procedure) says: "verify the function or class containing the finding still exists in the unchanged file".

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 actionable: true.

@guyoron1

Copy link
Copy Markdown
Contributor Author

@waynesun09 thanks for the review. Closing this one: #1636 (merged 2026-10-12) implements #1208 on main with a finding ledger and stable finding ids, and enforces the gate in post-review.sh, so new low/info findings on a verified re-review no longer request changes or start a fix run. That covers what this PR did, and both of your findings (the raised baseline ceilings and the location-matching criterion) are about text this PR would add on top of it, so there is nothing left to fix here.

@guyoron1 guyoron1 closed this Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review agent should raise severity threshold for new findings on re-review iterations

2 participants