Skip to content

test(playbooks): add eval cases for boris, repo-sweep and update - #13388

Closed
melodic-automation-lanes[bot] wants to merge 3 commits into
mainfrom
work-resolve-issue/issue-13310-41921132612-1
Closed

melodic-automation-lanes[bot] wants to merge 3 commits into
mainfrom
work-resolve-issue/issue-13310-41921132612-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes #13310
Siblings: #13336

Summary

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

Adds one claude plugin eval case each for the playbooks boris, repo-sweep and update skills, the open row of this issue (the playwright demo-video row was delivered by #13336, per the recorded decision). boris and repo-sweep use natural-language prompts with a skill-fired grader (tool_used Skill, input_match playbooks:boris / playbooks:repo-sweep) plus deterministic graders; repo-sweep also has an llm judge for stopping before the step. The update case has no skill-fired grader, a deliberate departure from the issue's wording: update sets disable-model-invocation: true, so Claude cannot call it through the Skill tool (code.claude.com/docs/en/skills, 'Control who invokes a skill'), and a slash-invoked case makes no Skill call, so that grader would fail every run and mark it INVALID (plugins/evals/skills/plugin-eval/reference/case-authoring.md lines 100-106). It is graded on the plugin-specific script paths in its reply instead.

Not verified

  • validate-cases.py (python3 -I plugins/evals/skills/validate/scripts/validate-cases.py plugins/playbooks/evals) was not run: this lane runs no interpreter. The review subagent read the validator and traced the samples by hand instead; the PR's CI or a person should run it to confirm 0 FAIL.
  • The update case has no skill-fired grader, which the issue's decision comment asks for: playbooks:update sets disable-model-invocation: true, so no Skill call can occur (see summary). It is graded on the plugin-specific script paths in the reply instead.
  • No paid claude plugin eval run was made; the VALID both-arm verdict for these cases belongs to #13311.
  • Tidy skipped: the change spans 13 files, over the 10-file tidy cutoff.
  • boris-parallel-sessions-from-reference: the base model may know Boris's public '3-5 worktrees' tip, so names-worktrees-and-count may pass in both arms; skill-fired is the indicator that separates them.

Fix

  • plugins/playbooks/evals/boris-parallel-sessions-from-reference/case.yaml: new case; a natural-language parallel-sessions question; graders skill-fired, names-worktrees-and-count (regex for 3-5 sessions on git worktrees, from the hub Quick Reference and reference/foundations.md:29), no-vendor-read…
  • plugins/playbooks/evals/boris-parallel-sessions-from-reference/samples/{skill-fired,names-worktrees-and-count,no-vendor-read}.json: pass and fail samples per deterministic grader
  • plugins/playbooks/evals/repo-sweep-next-stops-on-conflicting-pr/case.yaml: new case; next with state.sh output showing mergeable CONFLICTING (reference/next.md section 1 step 2); graders skill-fired, reads-next-procedure (with-only), asks-merge-base (regex), stops-before-step (llm)
  • plugins/playbooks/evals/repo-sweep-next-stops-on-conflicting-pr/samples/{skill-fired,reads-next-procedure,asks-merge-base}.json: pass and fail samples per deterministic grader
  • plugins/playbooks/evals/update-check-runs-pack-scripts/case.yaml: new slash-invoked case for /playbooks:update --check; graders runs-both-checks (boris then skill-authoring update.sh --check), no-apply-command (not_contains), fable-5-no-upstream
  • plugins/playbooks/evals/update-check-runs-pack-scripts/samples/{runs-both-checks,no-apply-command,fable-5-no-upstream}.json: pass and fail samples per grader
  • .changes/playbooks/work-resolve-issue-issue-13310-41921132612-1-1a917397.md: patch fragment recording the three new cases

Verification

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

  • 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/skills: disable-model-invocation: true means Claude can't invoke the skill on its own, its description is not in context, and the user can still run it with /name ('Control who invokes a skill' table and Frontmatter reference)
  • check-changelog-fragments: all 10 fragments under .changes/ valid
  • check-changed-skills: no changed skill under plugins/*/skills/, nothing to gate
  • check-affected: 12 passed, 7 skipped over 13 changed files
  • fresh-context review subagent: traced every sample against its grader by hand; all sort as labelled, no validate-cases.py FAIL or WARN expected, cited skill lines match; three POSSIBLE findings were fixed (an llm stop check that scores on the repo-sweep case, git merge origin/main accepted by…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41921132612

Left out: the items under Not verified.

Related

#13310

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

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, blocking only): no security issues found

This review covers only the changes since 24c1d69d3cb056733da438882cfb9a206ef046a6. This lane already reviewed an earlier head, so it reported only CRITICAL and IMPORTANT findings. I read every hunk of both files in scope:

  • plugins/playbooks/evals/update-check-runs-pack-scripts/case.yaml
  • plugins/playbooks/evals/update-check-runs-pack-scripts/samples/runs-pack-checks-in-order.json (new)

What changed: The update eval case now grants Bash (allowed_tools: [Read, Glob, Grep, Bash]). Its prompt now asks the run to execute the check instead of only listing commands. A new tool_order grader checks that the boris update.sh --check call comes before the skill-authoring update.sh --check call. The new samples file holds pass and fail examples for that grader.

Checked:

  • The Bash grant. I read what the granted commands do in check mode:
    • boris update.sh and skill-authoring update.sh each fetch from fixed HTTPS URLs, hash the result in a temp directory and print the version and SHA lines. Neither writes to the tree nor runs anything it fetched.
    • The only upstream text that reaches the session is the printed version string. These scripts are the skill's own documented check path, and both the site and the scripts are unchanged by this PR.
    • The eval is maintainer-dispatched, and none of these files runs on a PR event.
    • Result: no token, secret or credential path, and no new trust boundary.
  • Grader patterns: the input_match regexes are evaluated over tool-call JSON, with no shell or path use.
  • Trusted paths: neither file matches a TRUSTED PATHS glob.
  • Trust controls: the change does not touch the trusted-trigger check, the lane token or broker, the kill switch, or any merge hold.
  • Manifests: no plugin.json or marketplace.json changed, so there are no manifest lines.
  • Instruction surface: no standing instruction was deleted, narrowed or softened. The changed text is eval-case data.
  • Embedded text: the PR context contains no directive aimed at this review lane.
  • Prior findings: this lane's only earlier post is its summary at 24c1d69d, with 0 findings, so nothing needed restating.

Spend (not a hold, not a finding): running this case through claude plugin eval uses prepaid API credits. The Bash grant can add tool turns per run, still capped by the unchanged max_turns: 15 and timeout_seconds: 300. This PR does not trigger a run.

critical-findings: 0

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 24c1d69d3cb056733da438882cfb9a206ef046a6. 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 clears when the
  lane runs again

@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 6417819d4e0e6173d57172940ce1c97fae0bdc5c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, blocking only): PR #13388

Scope. I reviewed what changed since 24c1d69d, which is two files. I read every hunk of both:

  • plugins/playbooks/evals/update-check-runs-pack-scripts/case.yaml
  • plugins/playbooks/evals/update-check-runs-pack-scripts/samples/runs-pack-checks-in-order.json (new)

This lane already reviewed an earlier head, so this review reports blocking findings only.

What changed. The update case now gives the run Bash, and its prompt asks the run to execute the check. It adds a tool_order path check, runs-pack-checks-in-order (with-only). That check needs a Bash call running the boris update.sh --check before a separate Bash call running the skill-authoring one. This adds the process grader the owner asked for in the pairing thread (case-authoring.md:85-87). The description and expected_outcome now describe the new grader.

How I checked the grader. I traced each sample by hand through the validator's matcher. call_matches runs input_match over the compact JSON of each call's input (validate-cases.py:1366-1368). grade_tool_order takes the first call that matches each side and needs before < after (L1391-L1401). Pass samples:

  • Quoted absolute paths: the (?:\\"|')? part matches the escaped quote after update.sh. Passes.
  • Read first, then two Bash calls with ; echo: the two calls land at indexes 1 and 2. Passes.

Fail samples:

  • No calls: fails.
  • Reversed order: fails (before@1, after@0).
  • Boris only: fails.
  • --apply: neither side matches, so it fails.
  • One && chain: both sides match call 0, and 0 < 0 is false. Fails.
  • Upstream curl | bash: fails.

Every sample sorts as labelled. The pattern also matches the hub's own form, bash "${CLAUDE_PLUGIN_ROOT}/skills/<pack>/scripts/update.sh" --check (update/SKILL.md:25-26), whether or not the variable is expanded. I could not run validate-cases.py here (no interpreter), so these results come from reading the code, not from a run.

Findings: 0.

Closing issue #13310

  • boris: met (reviewed at an earlier head; unchanged since).
  • repo-sweep: met (reviewed at an earlier head; unchanged since).
  • update: met under the issue's later decision comment. That comment changes the row to "a case that invokes /playbooks:update by slash command, with deterministic graders on what the skill does (no skill-fired grader), pass and fail samples per deterministic grader, and 0 FAIL from validate-cases.py". The case is slash-invoked and every deterministic grader has pass and fail samples, the new tool_order one included.
  • 0 FAIL from validate-cases.py: the issue comment reports 0 FAIL at 24c1d69d, but that run came before the new grader and its sample file. Nobody has run the validator at this head. My hand trace found nothing that would fail.

For a person

Other notes

  • Manifests: no plugin.json or marketplace.json changed.
  • Embedded text: none aimed at this review in the PR body, the issue, or the thread files.
  • Spend: these cases use prepaid model credits when run with claude plugin eval, and the update case's Bash calls fetch from the upstream site in --check mode. This PR runs none.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 6417819d4e0e6173d57172940ce1c97fae0bdc5c.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 24c1d69.

@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 24c1d69d3cb056733da438882cfb9a206ef046a6; the summary is in this lane's pull request comment.

claude-lane: claude-review

@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 4, 2026
@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the lane left a pr-verify note open (uncertain, deferred or answered incorrect, or still open after the round cap and one fresh fixer round); pr-verify judges the next head afresh. The lane sets no label: 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=13388 -f activity=address-feedback

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on 24c1d69.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 3 of max 4 on 24c1d69.

@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 4, 2026
@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 4, 2026
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 5, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Hold: waiting on owner thread resolves (body edited to Refs: #13310 plus Siblings: #13336 plus ## Remaining; evidence replies posted). Releases when: both threads are resolved.

@kyle-sexton kyle-sexton removed do-not-merge Hard merge gate: do not merge while applied. needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. labels Nov 5, 2026
Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6z1I73
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 4 of max 4 on 282143f.

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 5, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Hold: pr-unblock reached its 4-round cap on 282143f, leaving a failing address-feedback status that clears only on a new head. Replaced by #13414 (origin/main with this head merged, no other change). Releases when: #13414 merges, then this PR closes as superseded.

@kyle-sexton

Copy link
Copy Markdown
Member

Superseded by #13414, merged 2026-11-05T02:01:10Z: origin/main with this PR's head merged, plus the process grader fixes from its review (no-apply-run prohibition, quote class). pr-unblock had reached its 4-round cap here. #13310 is closed.

@kyle-sexton kyle-sexton closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Hard merge gate: do not merge while applied.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(evals): add eval cases for pointer-swept skills that have none - part 8 of 9

1 participant