Skip to content

test(developer-experience): port eval cases S2 and S5 - #10934

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-9958-40852626815-1
Oct 29, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-9958-40852626815-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9958

Summary

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

Ports scenarios S2 (tracker comment, stays quiet) and S5 (build-cli review of bfk release) from evals/sources into claude plugin eval cases on the shared fixtures, seeded through evals/fixtures/seed.sh. S2 is graded fully deterministically (created paths, Write/Edit calls, Skill calls, the outbox file's contents and the tq item comment Bash call). S5 keeps llm graders only for the two judge items, with criteria taken from judge/items.json, and replaces the tree-hash item with deterministic Write, Edit, created-file and shell-mutation checks that also catch rm, mv, sed -i and git resets inside compound commands.

Not verified

  • /evals:validate (plugins/evals/skills/validate/scripts/validate-cases.py) was not executed: this lane's Bash runs only the named wrappers, with no interpreter. The issue's Done-when names it; run python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/developer-experience/evals bef
  • Paid judge calibration of gaps-vs-contract and cites-file-line against sources/labels/S5/1 and S5/3 (TPR/TNR) was not run; it is the operator's paid run. Only the criteria-to-label consistency read above was done
  • The two new scaffold.sh files are written with mode 100644; every other eval scaffold in the repo is 100755. The file tools cannot set the executable bit; run chmod +x plugins/developer-experience/evals/s2-tracker-comment/scaffold.sh plugins/developer-experience/evals/s5-release-review/scaffold.sh
  • Known grader limits: neither case sees a Bash-side change to an existing file through a plain redirect (> file), and S2 does not see sed -i on existing source; S5's no-shell-change fails a run that deletes a temporary copy it made outside the workspace (the S3 harness rm check had the same beha
  • Arm mapping differs from the source run matrix: claude plugin eval runs both arms on the converged state, so S5's A0 (bare) and A1 (conventions-only) states and S2's plugin-arm-only scoring are not reproduced. Inherited from the source rubric: the converged conventions file says bfk release has no
  • tidy skipped: the change is 29 files, over the 10-file tidy cutoff
  • review-venue.txt was absent from the scratchpad, so the review ran locally in one fresh-context subagent
  • The issue's scripts/check-changelog-fragments.sh --check-required origin/main was not run in that form; the lane's check-changelog-fragments wrapper ran and passed
  • Untracked files at the checkout root (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) predate this run and are not part of the change

Fix

  • plugins/developer-experience/evals/s2-tracker-comment/prompt.md: S2 prompt, tools [Read, Glob, Grep, Write, Edit, Bash, Skill], runs 3
  • plugins/developer-experience/evals/s2-tracker-comment/case.yaml: schema 1.1, scaffold_script scaffold.sh
  • plugins/developer-experience/evals/s2-tracker-comment/scaffold.sh: seeds tarnquill converged via ../fixtures/seed.sh
  • plugins/developer-experience/evals/s2-tracker-comment/graders/no-new-source.md: regex over created paths, no new .cs/.csproj/.sln/.sh/.ps1/.py/Makefile outside obj/ and bin/ (weight 0.5)
  • plugins/developer-experience/evals/s2-tracker-comment/graders/no-source-edit.md: no Edit call on a source, script or project file (weight 0.25)
  • plugins/developer-experience/evals/s2-tracker-comment/graders/no-source-write.md: no Write call on a source, script or project file (weight 0.25)
  • plugins/developer-experience/evals/s2-tracker-comment/graders/no-dx-skill.md: no Skill call to build-cli or audit-tools, arm both
  • plugins/developer-experience/evals/s2-tracker-comment/graders/outbox-comment.md: .tarnquill/outbox/4821.json holds the comment text (weight 0.5)
  • plugins/developer-experience/evals/s2-tracker-comment/graders/used-item-comment.md: a Bash call ran item comment 4821 (weight 0.5)
  • plugins/developer-experience/evals/s2-tracker-comment/samples/*.json: must-pass and must-fail answers for each of the five deterministic graders
  • plugins/developer-experience/evals/s5-release-review/prompt.md: S5 prompt, tools [Read, Glob, Grep, Write, Edit, Bash, Skill], runs 3
  • plugins/developer-experience/evals/s5-release-review/case.yaml: schema 1.1, scaffold_script scaffold.sh
  • plugins/developer-experience/evals/s5-release-review/scaffold.sh: seeds brackenfold converged via ../fixtures/seed.sh
  • plugins/developer-experience/evals/s5-release-review/graders/gaps-vs-contract.md: llm, S5 item 1 (interactive-only prompt and missing --yes), criteria from judge/items.json
  • plugins/developer-experience/evals/s5-release-review/graders/cites-file-line.md: llm, S5 item 3 (each gap cites file:line), criteria from judge/items.json
  • plugins/developer-experience/evals/s5-release-review/graders/no-write.md, no-edit.md, no-new-files.md, no-shell-change.md: S5 item 2 (workspace unchanged) as four deterministic graders at weight 0.25 each; no-shell-change catches rm/mv/git rm at a command start or after ; & | ( { ` or a newline,
  • plugins/developer-experience/evals/s5-release-review/samples/*.json: must-pass and must-fail answers for the four deterministic graders, compound-shell cases included
  • .changes/developer-experience/work-resolve-issue-issue-9958-4b8e2d61.md: patch fragment, Added entry for the two cases

Verification

The runner ran each check from the base copy against 2128a50:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //code.claude.com/docs/en/plugin-evals: grader types table (regex target files is the list of paths created during the run, not files only modified; tool_used min/max; file_exists counts only created files), arm both/with-only semantics, context.scaffold_script runs a Bash script in the
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: All 6 changelog fragment(s) under .changes/ are valid (run before and after the review fixes)
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: 12 passed, 6 skipped over 29 changed files (skips: ruff no .py, typos not installed, three validate-plugins steps that run checked-tree code, changed-skills none)
  • Fresh-context review subagent: traced every frontmatter block against validate-cases.py's YAML subset and graded every sample by hand under JavaScript regex rules; no FAIL and no mis-sorted sample. Its fidelity findings (S2 missed Write overwrites of source; S5 missed sed -i, git checkout/restore/re
  • Compared the S5 llm criteria with judge/items.json S5 items 1 and 3 and read every label in sources/labels/S5/1/labels.jsonl and S5/3/labels.jsonl: the two added clauses (treating the missing bypass as intended fails; sub-points and suggested fixes need no own citation) match the labelers' stated re
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40852626815

Left out: the items under Not verified.

Related

#9958

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

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 2128a50c3b8176a8e9932de6f8e1d6fa6c9cf430: 0 finding(s), 0 as inline comments.

No security issues found in this pull request.

I read the whole 29-file diff and the PR context. It adds two claude plugin eval cases under plugins/developer-experience/evals/ (s2-tracker-comment and s5-release-review), plus a changelog fragment. The files are case YAML, prompts, grader definitions, sample JSON answers and two scaffold scripts.

  • Trusted paths: none of the 29 changed files matches a TRUSTED PATHS glob. No trust control, merge hold, token scope, kill switch or workflow is touched.
  • Manifests: no plugin.json or marketplace.json change, so there is no manifest <field> line to report.
  • Scaffold scripts: both are three-line scripts. Each runs the existing ../fixtures/seed.sh with fixed literal arguments (tarnquill converged and brackenfold converged), resolved from BASH_SOURCE. No untrusted input reaches them, and they run in the eval workspace.
  • Eval prompts: each grants allowed_tools [Read, Glob, Grep, Write, Edit, Bash, Skill] to the eval run, as the other eval cases in the repo do. The prompts are fixed strings, with no interpolation of untrusted text.
  • Grader regexes: these only score eval output. They are non-capturing groups and bounded \s* or \W{0,3} runs. I saw no nested quantifiers that could cause catastrophic backtracking. The known coverage gaps the PR itself lists (plain > redirects, sed -i on S2) weaken the eval's fidelity, not any repository control.
  • PR context: it contains no embedded instructions aimed at the review lane.
  • Spend: the eval runs use prepaid or subscription usage only. This is not a hold.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 2128a50c3b8176a8e9932de6f8e1d6fa6c9cf430: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (29 files), the PR context and closing issue #9958, the repo's validate-cases.py grader semantics, the existing fx-seed-every-state case, and fixtures/seed.sh. I had no shell, so I ran no validator or tests myself.

Closing issue #9958

  • "Each case loads and passes /evals:validate (no paid run)": I could not run it. The PR says it was not run either, so this is unverified.
    • By reading, the frontmatter keys fit validate-cases.py: tool_used takes tool/input_match/min/max, arm and weight are common keys, and target: files and {source: file, path} are the forms it documents.
    • input_match runs as a flagless regex over the compact JSON of the call's input. The "command"\s*:\s*" and \\n alternatives in no-shell-change assume that encoding, which matches call_matches.
    • I traced several of the S5 no-shell-change samples, such as sed -n '1,20p', git stash list and the compound && rm / ; git rm / (rm …) cases. They sort the way the sample files claim.
  • "check-changelog-fragments.sh --check-required origin/main exits 0": a patch fragment is present at .changes/developer-experience/work-resolve-issue-issue-9958-4b8e2d61.md. I did not run the script. The PR reports that the lane's wrapper passed, which is author-claimed.
  • "Include the rm and compound-shell checks where a case needs them": s5-release-review/graders/no-shell-change.md covers this, with compound-command samples.
  • "Check each llm grader against the committed labeled samples": the PR says the criteria were compared with the labels by reading, and no paid calibration was run. I did not check the labels.

Other checks

  • Both scaffold.sh files resolve ../fixtures/seed.sh, the same relative path fx-seed-every-state/scaffold.sh uses. seed.sh accepts tarnquill converged and brackenfold converged as arguments.
  • The diff shows both scaffold.sh files as mode 100755. The PR body's "Not verified" note says 100644, so that note is stale.
  • No plugin manifest changed, so there are no manifest <field> lines.
  • A patch bump with an Added entry is acceptable for new eval cases.
  • Grader limits: sed --in-place, combined flags such as sed -ni, and plain > redirects over existing files are not caught. The PR lists the redirect limit itself.
  • Trusted-path match: none of the changed files fall under the listed globs.
  • Spend: the new cases run 3 times each against prepaid credit or subscription usage, only when someone runs them. That is not a hold and not a counted finding.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 2128a50c3b8176a8e9932de6f8e1d6fa6c9cf430.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 733ccf3 Oct 29, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9958-40852626815-1 branch October 29, 2026 11:40
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

The run's summary has the full report.

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.

test(developer-experience): port eval cases S2 and S5

0 participants