Skip to content

test(songwriting): grade eight-plus-candidates with an llm judge in the rhyme menu cases - #12325

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-12299-41408505323-1
Nov 2, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-12299-41408505323-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #12299

Summary

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

The eight-plus-candidates grader in rh-window-menu-no-winner and rh-release-identity-menu is now an llm grader (type llm, focus last_message), in place of a regex that counted list lines and table rows. The criteria counts distinct candidates however they are laid out, excludes header rows, bold tier headings, tier labels and words named only to reject them, and counts every offered word, even a weak rhyme, so the judge does not grade rhyme quality. Both samples files keep every earlier sample; the one-line inline sample moves from fail to pass, and each file adds a four-row tier table with 20 candidates, 12 candidates on three list lines, inline prose candidates, and fails for seven candidates several per line, seven inline, and six padded with rejected words. The field layout follows the existing llm graders (mp-sung-line-template/case.yaml, no-identity-candidate) and the llm key set in plugins/evals/skills/validate/scripts/validate-cases.py:162,231.

The run went past its turn budget (turns=77 max-turns=75): the work may be too big for one run.

Remaining work

  • Calibrate the eight-plus-candidates judge on both cases' samples with the suite's judge model (plugin-eval 'Calibrating a judge', at least 90% agreement), which needs a paid eval run outside this lane

Not verified

  • Judge calibration (plugin-eval 'Calibrating a judge': calibrate-judge.py build, claude plugin eval --runs 3, score at >=90% agreement) was not run: it is a paid model run and this lane's Bash runs only the named wrappers. The new grader is uncalibrated until it passes.
  • validate-cases.py (the static case validator) and the evals-schema check could not run here; check-affected lists evals-schema as CI only. Its llm-sample WARN ('sample answers need judge calibration') is expected.
  • check-evals-quality wrapper not applicable: it lints skill evals.json files, not case.yaml suites (it rejected plugins/songwriting/evals as 'not a file').
  • tidy pass 5 (ai-slop fix) ran as a hand rubric read only: detect.sh and digest-guard.sh are outside this lane's Bash allowlist. The rubric read found nothing to fix.
  • Review note not acted on: rh-release-identity-menu pass samples 2-6 are regex-era 'window' candidates at exactly eight each. They are kept because the issue asks to keep every current sample, and the criteria's 'do not judge how well it rhymes' covers them; calibration will show whether the judge co
  • #12195 (no-single-winner llm grader) edits the same case.yaml files; whichever lands second rebases.

Fix

  • plugins/songwriting/evals/rh-window-menu-no-winner/case.yaml: eight-plus-candidates regex replaced by an llm grader with candidate-counting criteria for 'window'
  • plugins/songwriting/evals/rh-release-identity-menu/case.yaml: eight-plus-candidates regex replaced by an llm grader with candidate-counting criteria for 'release', naming police and lease as rejected identities that do not count
  • plugins/songwriting/evals/rh-window-menu-no-winner/samples/eight-plus-candidates.json: inline run-on sample relabeled pass; added tier-table (20), three-list-line (12) and inline-prose (10) passes, and multi-per-line (7), inline (7) and rejected-word-padded (6) fails
  • plugins/songwriting/evals/rh-release-identity-menu/samples/eight-plus-candidates.json: same relabel; added release-domain tier-table (20), three-list-line (12) and inline-prose (9) passes, and multi-per-line (7), inline (7) and police/lease-padded (6) fails
  • .changes/songwriting/work-resolve-issue-issue-12299-41408505323-1-63e9d45b.md: patch fragment under ### Changed describing the grader change (tidy split its long sentence and named the cases)

Verification

The runner ran each check from the base copy against b47b9f4:

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

The run reports:

  • check-changelog-fragments: first run failed (no ### section); fixed, then all 3 fragments valid
  • check-changed-skills: no changed skills under plugins/*/skills/, nothing to gate
  • check-affected: 11 passed, 7 skipped, 0 failed over 5 changed files (final run after tidy and review fixes)
  • fresh-context review subagent: hand-counted every sample in both files and confirmed each label matches the criteria, both JSON files have only pass/fail arrays of answer/why objects, llm fields match validate-cases.py's allowed keys, other graders intact; its suspected identity-wording risk was fix
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41408505323

Left out: the items under Not verified.

Related

#12299

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 5ff49e0afdd8a038114126076e7944c93f4cd911: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12325 (incremental, since bb1e340)

No security issues found. I read every hunk of the one file in scope: plugins/songwriting/evals/rh-release-identity-menu/samples/eight-plus-candidates.json.

What changed. Five pass samples in this eval file had the eight "window" candidates left over from the regex grader. They now have eight "release" candidates (wreath, grief, east, free, deep, kiss, the streets, on my knees). Each why field and the JSON layout stay the same. The edit is test data for the LLM judge's calibration and nothing more.

Checks:

  • Trusted paths: the file matches no trusted-path glob.
  • Trust controls: nothing changed in the trusted-trigger check, the lane token, the kill switch, the token broker, merge holds or any .github/actions/ control.
  • Plugin manifests: no plugin.json or marketplace.json changed.
  • Instruction surfaces: no standing instruction was deleted, narrowed or softened.
  • Untrusted text: the strings are fixed sample answers the PR author wrote, and they only feed the eval's own judge calibration. No credentialed lane receives them.
  • Embedded text in the PR context: no directive in the PR context or the earlier-findings file tries to steer this review.

Spend: nothing new in this change. The earlier review already named the LLM judge's prepaid model credit.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

claude-review: 1 inline finding(s) on b47b9f44bca0826d74f105af7b08408afcd15969; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 5ff49e0afdd8a038114126076e7944c93f4cd911: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12325, incremental since bb1e3408

What I reviewed. One file changed since the last review: plugins/songwriting/evals/rh-release-identity-menu/samples/eight-plus-candidates.json. I read every hunk of that change in .claude-lane/incremental.diff, then read the whole file and the eight-plus-candidates criteria in case.yaml for context.

What changed. This round fixes my advisory finding from round 1 (discussion_r4440088969), which the owner asked the pr-fix lane to fix. Pass samples 2 to 6 (lines 7, 10, 14, 18 and 22) offered rhymes for window. They now offer the same eight rhymes for release: wreath, grief, east, free, deep, kiss, the streets and on my knees. Each sample keeps its layout and its why, and the layout is what these samples test.

Checks against the criteria. I checked these by reading. I ran nothing.

  • Each changed sample still has exactly eight distinct candidates. That is the threshold, so the pass labels still hold.
  • The tier labels fit the words: wreath and grief are family rhymes (s to th, s to f), east is additive (adds t), free is subtractive (drops s), deep is assonance, kiss is consonance, and the last two are mosaics.
  • None of the new candidates is police or lease, so the rejected-identity rule does not remove any of them from the count.
  • kiss is a loose consonance pairing. The criteria counts every offered word, even a weak rhyme, so it still counts.
  • The window-domain fail samples (lines 58 to 71) are unchanged. They are safe whatever the judge decides, because each has seven or fewer candidates.

Prior findings. The one inline finding from round 1 is the code this change fixes. Its lines changed since it was posted, and I found no new problem there, so I am not raising it again. This is round 2 of a cap of 3, so the cap does not apply.

Settled threads. The only thread is that same finding. The owner's reply asked for a fix and stated no decision, and the fix has now landed.

Still not verified (unchanged). The judge is still uncalibrated, as the PR says under "Remaining work". validate-cases.py only WARNs on llm sample answers, so nothing in CI checks these labels until someone runs calibration. The PR body's verification results are the author's claims, and I have not confirmed them.

Closing issue. The PR refs #12299 but closes no issue, so there were no acceptance criteria to check.

Embedded text. The PR context, settled-threads and prior-findings files tell this lane to do nothing.

Manifests. No plugin.json or marketplace.json changed.

Spend. This change adds no spend. The judge-model calls the PR already adds draw on prepaid credit only, so there is no hold.

No findings.

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the pull request has an unresolved review thread the lane does not take (a reviewer it does not act on, a review of an older head, or a thread it already answered), so no lane resolves it and a session builder takes it. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

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 pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12325 -f activity=address-feedback

@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 bb1e3408196758c48023a4e4e008b8c20c73e914. The lanes clear this reason on their own; the next scheduled run judges it again.

a pr-unblock lane stopped its head (pr-unblock/address-feedback is failure), which ci-status fails
  in the merge queue

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

A lane run on this pull request's head failed because the token broker refused it as workflow-modified: .github/workflows/pr-run-activity-write.yml changed on main after the run's event, and a rerun keeps the old file. pr-merge pushes an empty commit so the next pr-unblock run uses main's files. It does this once per version of that file, so if a run fails the same way again, a person looks at it. The push starts no run itself: the conflict-resolution run starts at the next push to main or half-hourly pr-unblock-dispatch tick, or when a listed person runs it by hand, and an address-feedback run can start after both review lanes review the new head, if an unresolved thread is left for it.

The token broker refused a lane run on the previous head as workflow-modified (.github/workflows/pr-run-activity-write.yml). This commit changes no file.
@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 2, 2026
Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6ylB75
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 5ff49e0.

@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 2, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 5ff49e0afdd8a038114126076e7944c93f4cd911.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 7a25fa8 Nov 2, 2026
75 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-12299-41408505323-1 branch November 2, 2026 09:34
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 7a25fa8fa55edcb94e936a97814f9656dfb41c8d; later checks count it verified from this comment.

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.

1 participant