Skip to content

docs(review): state the nit cap in its own per-concern review file - #12268

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12198-41385209944-1
Nov 2, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12198-41385209944-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12198

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Added docs/review/findings.md with the rule #7583 decided should live in a per-concern file: a review posts at most five Suggestion-severity (🟡 Nit) findings, reports the rest as a count in the summary, and never caps Critical, Important, blocking or manifest flag lines. Indexed it in docs/review/README.md directly under the REVIEW.md row with an 'anything' trigger so it loads on every review; REVIEW.md is unchanged. One wording choice differs from the issue's text: the exemption reads 'never capped by this limit' instead of 'never capped', because the review plugin's CI code-review skill has its own round cap (plugins/review/skills/code-review/SKILL.md:244-247) that drops advisory findings, non-blocking Important ones included, and an unqualified 'never capped' would contradict it. The 'never capped' grep still matches.

Not verified

  • The issue's checks against origin/main (git diff --quiet origin/main -- REVIEW.md; git diff --name-only origin/main) were not run as written: this checkout has no origin/main ref and git-read allows only status/diff/log/show. git-read status against HEAD showed only the two docs/review files changed
  • tidy-diff ran its markdown passes (write-for-agents, ai-slop rubric) with no edits. The ai-slop deterministic detector (detect.sh), digest guard and semantic-diff verifier were skipped because the lane's Bash allowlist does not include those scripts. Code passes 1-3 had nothing to do (markdown only)
  • Review suggestion declined: the findings.md link points at the upstream Code Review page rather than an in-repo rule file like its siblings, and its label is the long page title rather than a short one. The issue specified this exact link and label, so they were kept.
  • No build or test suite applies to two markdown files; CI-only checks (lychee-offline, editorconfig, purged-em-dashes and the rest check-affected lists) are left to the PR's CI.

Fix

  • docs/review/findings.md: new per-concern review file with the nit-cap rule and its upstream link
  • docs/review/README.md: one index row for findings.md under the REVIEW.md row, applying to anything

Verification

The runner ran each check from the base copy against 84df1b1:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //code.claude.com/docs/en/code-review-customize: the example REVIEW.md has a 'Cap the nits' heading with 'Report at most five Nits per review.', and 'Choose what to write in REVIEW.md' says a cap like 'report at most five nits' keeps reviews actionable; the page does not say what happens
  • check-changelog-fragments: all 20 fragments valid (run before and after tidy and review fixes)
  • check-changed-skills: no changed skills, nothing to gate (run twice)
  • check-affected: 10 passed, 5 skipped, over the 2 changed files (run twice)
  • Grep over docs/review/findings.md: 'at most five Suggestion' on line 3, 'count' on line 4 (the count-in-summary sentence), 'never capped' on line 5 (the Critical/Important/blocking/manifest exemption), 'code-review-customize' on line 6; no U+2014 em dash
  • Grep over docs/review/README.md: '(findings.md)' prints one row, line 9, whose second column starts with 'anything'; no U+2014 em dash
  • git-read status: only docs/review/README.md (modified) and docs/review/findings.md (new) changed; REVIEW.md untouched
  • fresh-context review subagent: no Important findings, all acceptance criteria met; 3 Suggestions, one applied (scope 'never capped' to this limit), two declined as the issue's exact specified link and label
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41385209944

Left out: the items under Not verified.

Related

#12198

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 84df1b16acaaa463ec5f3ee23bd52b687603d254: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12268

I found no security issues.

Scope. I read every hunk of both changed files. Both match the trusted-path glob docs/review/**, so I read each whole change and checked what it gates.

  • docs/review/findings.md (new): one review criterion. A review posts at most five Suggestion-severity findings and reports any others as a count in the summary. Critical findings, Important findings, blocking findings and manifest <field>: flag lines are explicitly outside the cap.
  • docs/review/README.md: adds one index row so that findings.md applies to every change.

Trust controls. No trust control changes. The diff does not touch the trusted-actor list, the trusted-trigger check, the scope of a lane token, the kill switch, the token broker or any merge-hold script.

Instruction-surface lens. This adds a standing instruction, so I checked it under this lens even though it deletes nothing. The cap narrows only how many Suggestion findings are posted inline. Suggestion findings never set a hold and never count toward critical-findings: <n>. The text exempts CRITICAL and IMPORTANT findings and manifest flags, so every finding that can hold or flag a merge is still reported in full. Removed instruction rules: none. Because nothing was deleted, I did not need to consult the instruction-exception register.

Embedded text. The PR context contains no directives aimed at this lane. The only external link is a documentation URL on code.claude.com, used as a citation.

Prior findings. This is round 0 of a cap of 3. The round cap was not applied.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 84df1b16acaaa463ec5f3ee23bd52b687603d254: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12268, no findings

This PR adds docs/review/findings.md, which caps Suggestion-severity (🟡 Nit) findings at five per review and reports any extra as a count. It also adds an index row for the file in docs/review/README.md. I read every hunk of both changed files. Both match the trusted glob docs/review/**, so I read each whole change and what it gates: an index row with an anything trigger. Under REVIEW.md "Depth", that trigger means self-hosted and local reviews load the file on every change.

Closing issue #12198, Done when. I checked each item against the diff by reading it. I ran no commands.

  • at most five Suggestion appears on one line (findings.md:3): met.
  • The count-in-summary sentence (findings.md:4) contains count: met.
  • never capped (findings.md:5): met. The text reads "never capped by this limit". The PR body explains why it differs from the issue's wording: the CI lane's own round cap can drop advisory findings, and an unqualified "never capped" would contradict it. The qualified wording keeps the grep match and is more accurate.
  • The upstream code-review-customize link (findings.md:6): met.
  • The README row (findings.md) sits directly under the REVIEW.md row and its second column starts with anything: met.
  • REVIEW.md is unchanged and the diff touches only the two named files: met. The author did not run the origin/main git commands as the issue wrote them; that part is the author's claim and unverified.
  • No em dash in either changed file: met, judged by reading the lines.

These criteria are one-time verification greps over a docs-only change, not behaviour a test could guard. I don't count the missing test for each one as a finding.

Consistency. The severity names (Critical, Important, Suggestion → 🟡 Nit) and the blocking tag match REVIEW.md lines 24-40:

to three severities: **Critical**, **Important**, **Suggestion**. On this
surface's three markers:
| SSOT severity | Managed marker |
| --- | --- |
| Critical | 🔴 Important |
| Important | 🔴 Important |
| Suggestion | 🟡 Nit |
🟣 Pre-existing is not an SSOT severity. It is this surface's own <!-- ai-slop-ignore: severity-marker vocabulary, load-bearing -->
detection-time judgment of whether a finding predates the diff, orthogonal
to the three-tier vocabulary above and not something a criterion assigns.
A finding tagged `blocking` is always 🔴 Important here, regardless of what
severity its underlying criterion would otherwise carry in context.
`blocking` is this file's own tag, not a severity a `standards/review/`
criterion assigns.
. The file follows the same shape as its siblings: a heading, then one list rule ending in a link.

One soft mismatch, not counted as a finding. The README intro says each file's "link states the rule in full", but the upstream page states only the five-nit number. The count-in-summary behaviour and the exemptions are the issue's own judgment. The issue specified this exact link and label, and the PR body records why the author kept them.

Other checks.

  • No .claude/rules/ path rules, plugin manifests or paved-path entries apply to these files.
  • There are no prior findings; this is round 0 of a cap of 3.
  • The PR context contains no embedded instructions aimed at this lane.
  • Nothing here spends money or credits.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 84df1b16acaaa463ec5f3ee23bd52b687603d254. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (unreadable: RuntimeError: #12268 force pushes: unread or
  incomplete)

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit d4c4807 Nov 2, 2026
70 of 71 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12198-41385209944-1 branch November 2, 2026 06:05
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.

docs(review): state the nit cap in its own per-concern review file

1 participant