Repository navigation
feat(review): list fanout spec findings first under their own heading, then standards - #12158
melodic-automation-lanes[bot] wants to merge 3 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
claude-security-review reviewed Security review: PR #12158, incremental since
|
| graders: | ||
| - name: spec-before-standards | ||
| type: tool_used | ||
| tool: Write | ||
| input_match: '^(?=.*\.work/reviews/[^"]*\.md")(?=.*## By axis(?:(?!\\n## ).)*### Spec(?:(?!\\n## ).)*### Standards)' | ||
| - name: missing-goal-under-spec | ||
| type: tool_used | ||
| tool: Write | ||
| input_match: '^(?=.*\.work/reviews/[^"]*\.md")(?=.*## By axis(?:(?!\\n## ).)*### Spec(?:(?!### Standards)(?!\\n## ).)*(?:[Rr]edact|REDACT|[Mm]ask|MASK|PII|[Pp]ersonal data))' | ||
| - name: defect-under-standards | ||
| type: tool_used | ||
| tool: Write | ||
| input_match: '^(?=.*\.work/reviews/[^"]*\.md")(?=.*## By axis(?:(?!\\n## ).)*### Standards(?:(?!\\n## ).)*(?:[Ii]sWeekend|[Ww]eekend|WEEKEND|[Ss]unday|SUNDAY))' |
There was a problem hiding this comment.
Advisory: some #12138 criteria are met in the docs, but no test fails if a run breaks them.
The issue says "every finding in ## Findings appears under exactly one of the two", "an empty heading reads none", and "standards for every finding when the intent paragraph reads Intent: not stated". No grader here, and nothing else in the repo, checks any of the three:
- Finding listed under both headings. Suppose a run puts the redaction finding under
### Specand also again under### Standards(say, as the security-reviewer's PII row).missing-goal-under-specstill passes, because it only looks for the words between### Specand### Standards.defect-under-standardsalso passes. Nothing catches the duplicate. isWeekendfiled under Spec. If a run lists theisWeekendrow under Spec as well as Standards, every grader still passes. The only fail sample for this (defect-under-standards.json) leaves Standards asnone.Intent: not stated. No case runs fanout without a stated intent, so a run that still files findings underspecin that situation passes everything.
To fix the first two, add a grader (or a negative lookahead in defect-under-standards) that fails when [Ii]sWeekend|[Ss]unday appears between ### Spec and ### Standards. Also add a fail sample with the redaction row under both headings. The Intent: not stated rule needs its own small case, or a stated reason in the PR for leaving it untested.
claude-lane: claude-review
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/review/evals/fanout-spec-first-email-redaction/case.yaml:13, plugins/review/evals/fanout-spec-first-email-redaction/case.yaml:17, plugins/review/skills/fanout/context/findings-normalization.md:81
The finding is accurate. The graders checked only for presence under one heading, so a finding listed under both headings passed. This round fixes the first two parts. missing-goal-under-spec now also fails when the redaction words (redact, mask, PII, personal data) appear under ### Standards in By axis. defect-under-standards now also fails when the weekend words (isWeekend, weekend, Sunday) appear between ### Spec and ### Standards. Each graders samples file gains a fail sample with the finding listed under both headings. The axis rule in findings-normalization.md:79-80 files an unstated change as standards, never spec, so a weekend mention under Spec is always wrong for this case. Both new lookaheads were checked by reading against the existing pass samples, which contain neither word set under the other heading. Running the eval graders is left to CI. This thread stays open for a person because of the third part: the Intent: not stated rule (findings-normalization.md:81) needs its own eval case, and that case needs a new scaffold.sh, which this lane cannot create (check-paths refused it). The other option is to state in the PR why it is left untested, and this lane cannot edit the PR body either.
There was a problem hiding this comment.
pr-fix lane: please fix this finding.
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/review/evals/fanout-spec-first-email-redaction/case.yaml:13, plugins/review/evals/fanout-spec-first-email-redaction/case.yaml:17, plugins/review/skills/fanout/context/findings-normalization.md:81, plugins/review/skills/fanout/SKILL.md:102, plugins/review/skills/fanout/SKILL.md:108
Following the direction, this round checked what is left of this finding. Parts one and two were fixed last round and are still covered. A finding listed under both headings fails missing-goal-under-spec (case.yaml:13). This round makes that check compare rank numbers instead of wording, see the other thread on line 13. A weekend row under Spec fails defect-under-standards (case.yaml:17). Each has a fail sample. The third part is still open: no case runs fanout with Intent: not stated (findings-normalization.md:81). fanout writes Intent: not stated only when no PR, commit subject or request states a purpose (SKILL.md:99-102), and it reviews only a git diff (SKILL.md:108). So a case for this rule needs its own scaffold.sh that builds a branch whose commit subject states no purpose. check-paths refused a new scaffold.sh at plugins/review/evals/fanout-intent-not-stated-all-standards/scaffold.sh, so this lane cannot add the case. Adding only its case.yaml, prompt.md and samples would leave a case pointing at a missing scaffold script, so none of them were added. A person needs to pick one of two options. One is to add the case: a scaffold like this one's, with a commit subject such as wip and no body, plus a grader that passes only when ### Spec reads none under By axis. The other is to state in the PR body why the rule is left untested. The thread stays open for that decision.
There was a problem hiding this comment.
The replacement PR #12204 carries the fix: new eval case plugins/review/evals/fanout-intent-not-stated-all-standards/ (a wip-only commit and a purpose-free prompt) with three tool_used graders checking that the surfaces get Intent: not stated, that ### Spec reads none, and that the isWeekend defect sits under ### Standards; validate-cases.py sorts every sample correctly. Pushed; head 56fb1b7 on feat/review-12138-intent-not-stated.
|
claude-review reviewed Code review: PR #12158, incremental since
|
Lane-Activity: pr-unblock/address-feedback
|
pr-unblock / address-feedback finished round 1 of max 4 on a7aef2f. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12158 -f activity=address-feedback |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yfdfu
|
pr-unblock / address-feedback finished round 2 of max 4 on eb1d377. |
|
The pr-unblock lane stopped on this pull request and needs a person: a disputed review finding is one only a person decides (a CRITICAL finding, a security-review finding with no rating the lane reads, or a thread a person opened or directed).
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12158 -f activity=address-feedback |
|
Superseded by #12204, merged 2026-11-02T03:54:38Z. |
Closes #12138
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
## By axisamong the sections a third-party detector may omit; findings-file-shape.md covers it, and docs/contracts is outside this plugin's areaFix
## Axis assignmentsection (spec / standards /Intent: not statedrule); Model assignment says axis assignment runs on the main thread## By axiswith### Specthen### Standardsadded to the shape after## By dimension; a paragraph says each finding appears exactly once, rows keep rank order, rank numbers and Surface(s), an empty heading readsnone, and the fix action doesAxisparagraph names the axis assignment and## By axisand says fanout reviews code against its stated purpose, not a spec or plan document; aStub-scaffold phaseparagraph (planning'sscaffold_stubs) with no new argument, setting or step; `## D## By axisas well as## By dimension(each finding appears three times in the file, not twice).work/reviews/findings file: spec-before-standards, missing-goal-under-spec, defect-under-standardsVerification
The runner ran each check from the base copy against e33a8c9:
The run reports:
target/ llmfocusof{ source: file, path: <path> }reads one file's contents;tool_usedpasses when the count of calls totoolwhose JSON-encoded input matchesinput_matchis within min/max;file_existssees only creat## Findingstable. Its hardening suggestions were applied: case-tolerantLeft out: the items under Not verified.
Related
#12138