Skip to content

test(developer-experience): port eval cases T1 and T2 - #10940

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9988

Summary

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

Adds the claude plugin eval cases t1-setup-init and t2-setup-rerun, ported from setup scenarios T1 and T2 in evals/sources/eval-scenarios-draft.md and score-deterministic.py, and seeded from the shared tarnquill fixture (bare and converged) through fixtures/seed.sh. T1 checks C1 and C4 with free regex graders in both arms. In the plugin arm it checks C2's path half (a not_contains regex), P1-P5 (file_exists and regex graders), and C2 and C3 with llm graders whose samples are the labeled T1/C2 and T1/C3 sets. T2 checks scenario items 1 and 2 as exact-content regexes over AGENTS.md and the conventions file, and adds no-Write, no-Edit and no-shell-write process graders, the last one catching compound commands and rm.

Not verified

  • The issue's done-when '/evals:validate passes (no paid run)' was not run. Its script, plugins/evals/skills/validate/scripts/validate-cases.py, needs python3, and this lane allows no interpreter. The free graders' samples were traced by hand, here and by the review subagent, under both Python re and
  • The issue's done-when 'scripts/check-changelog-fragments.sh --check-required origin/main exits 0' was not run in that form: the lane's check-changelog-fragments wrapper takes no arguments. The wrapper's own check passed. The PR's CI runs the --check-required form
  • Judge calibration of the two llm graders (true-facts, commit-interactive) against their labeled samples is a paid calibrate-judge.py run and was not started here. Note that the labeled samples are AGENTS.md diffs from baseline-arm runs, while the graders read the plugin's conventions file
  • The ai-slop and docs-hygiene audits on the new markdown (prompt.md descriptions, judge criteria, the fragment) were not run: those plugins' scripts are not available in this lane
  • Tidy skipped: the change is 37 files (36 new eval files plus the fragment), over the 10-file tidy cutoff
  • The new scaffold.sh files were written by the Write tool, and their executable bit could not be set or checked here. The sibling cases' scaffold scripts run through bash, so this should not matter, but it is unverified
  • Known approximations kept on purpose: C1 passes when AGENTS.md names any markdown file other than README, AGENTS or CLAUDE (the scorer also requires that file to have gained 3 lines), or when AGENTS.md holds at least 10 non-blank lines, and it reads only AGENTS.md, not CLAUDE.md. C2's path half acce
  • The without-arm gets the same slash prompt, while the scenario's baseline arms got a natural-language prompt. So the two-arm delta for T1 is not the scenario's arm comparison, and T2 (plugin arm only in the scenario) also runs a no-plugin arm. Both prompt.md descriptions say so
  • No paid claude plugin eval run of either case

Fix

  • plugins/developer-experience/evals/t1-setup-init/prompt.md: new case. Sends the scenario's slash prompt with Read, Glob, Grep, Write, Edit, Bash and Skill, and its description says which items score in which arm
  • plugins/developer-experience/evals/t1-setup-init/case.yaml, scaffold.sh: schema 1.1 and a scaffold that seeds the bare tarnquill fixture through fixtures/seed.sh
  • plugins/developer-experience/evals/t1-setup-init/graders/conventions-reach-agents.md (C1), agents-lines-kept.md (C4): regex graders over AGENTS.md, scored in both arms
  • plugins/developer-experience/evals/t1-setup-init/graders/named-paths-exist.md (C2, deterministic half), true-facts.md (C2 judge), commit-interactive.md (C3 judge): read docs/conventions/developer-experience.md, arm with-only
  • plugins/developer-experience/evals/t1-setup-init/graders/conventions-file.md (P1 file_exists), written-against.md (P2), section-markers.md (P3), one-pointer-line.md (P4, count:1), agents-diff-block-only.md (P5): arm with-only
  • plugins/developer-experience/evals/t1-setup-init/samples/.json: pass and fail samples for every grader. true-facts.json and commit-interactive.json each hold the 12 labeled samples (6 PASS real-, 6 FAIL var-*) from sources/labels/T1/C2 and T1/C3, copied verbatim
  • plugins/developer-experience/evals/t2-setup-rerun/prompt.md, case.yaml, scaffold.sh: new case on the converged tarnquill fixture with the same slash prompt
  • plugins/developer-experience/evals/t2-setup-rerun/graders/agents-unchanged.md, conventions-unchanged.md: exact-content regexes matching the seeded AGENTS.md (scaffold plus the pointer-line.sh block) and states/tarnquill-developer-experience.md.txt
  • plugins/developer-experience/evals/t2-setup-rerun/graders/no-write.md, no-edit.md, no-shell-write.md: process graders. The shell pattern is the one s1-branch-start-plan uses
  • plugins/developer-experience/evals/t2-setup-rerun/samples/*.json: pass and fail samples for every grader
  • .changes/developer-experience/work-resolve-issue-issue-9988-5b1e7d40.md: patch fragment for the two cases (written by hand, because new-changelog-fragment refuses a detached HEAD)

Verification

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

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

The run reports:

  • /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 37 changed files (run before and after the review fixes)
  • read https: //code.claude.com/docs/en/plugin-evals: grader types and options, the target and focus values (including { source: file, path } as the file's contents after the run), arm: with-only and arm: both, the case.yaml context.scaffold_script field, and that both arms run the same case prompt
  • fresh-context review subagent over both case directories and the fragment: found no sample sorted the wrong way and no transcription error. It flagged C1 passing on any .md name, C4 ignoring the scaffold's blank lines, P3 passing on an empty file, C2's deterministic half missing, and the judge grade
  • Grep: confirmed the fixture AGENTS.md.txt and tarnquill-developer-experience.md.txt end in a single newline and contain no CR, tab or trailing spaces, so the T2 exact-content regexes match the seeded files
  • Read: true-facts.json entry 1 checked against sources/labels/T1/C2/samples/real-A0-run1.md, and the PASS/FAIL split of both llm sample files checked against labels.jsonl
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40852661427

Left out: the items under Not verified.

Related

#9988

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

Copy link
Copy Markdown
Contributor

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

Security review: no findings

I found no security issues in this pull request.

The pull request adds two eval cases under plugins/developer-experience/evals/, t1-setup-init and t2-setup-rerun, plus a changelog fragment (37 files). The files are case.yaml, prompt.md, regex, llm, file_exists and tool_used graders, JSON samples, and two scaffold.sh scripts.

  • Trusted paths: none of the 37 changed files match any TRUSTED PATHS glob. The change touches no trust control: no trusted-actor list, token scope, kill switch, merge hold or isolation setup.
  • Plugin manifests: no plugin.json or marketplace.json changed, so no manifest <field> lines apply and nothing installs or runs code for users on update.
  • Scaffold scripts: each runs bash "$(dirname "${BASH_SOURCE[0]}")/../fixtures/seed.sh" tarnquill <bare|converged>. The arguments are literal and nothing reads external input.
  • Eval prompts: both send /developer-experience:setup apply. I confirm the changes it shows. with Read, Glob, Grep, Write, Edit, Bash, Skill. That only runs when a maintainer starts an eval, in the eval sandbox. It reaches no secret, token or CI context.
  • Regex graders: these are patterns that a maintainer's eval runner applies to model output. Some use lazy nested quantifiers. Any backtracking cost would only slow a maintainer's own eval run, so it is not an exploitable path.
  • no-shell-write process grader: if its pattern misses a write form, that is a coverage gap in the eval. It does not weaken a guard in this repository.
  • Instruction surface: no CLAUDE.md, AGENTS.md, skill, agent or hook text is deleted or softened. The AGENTS.md text in the diff is regex input describing the seeded fixture.
  • PR context: the description holds no embedded instructions aimed at the review. The closing issue's body was omitted, so I did not read it.
  • Spend: the cases add paid eval runs when a maintainer starts them. That draws only on prepaid or subscription usage and is not a hold.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

No findings. This PR adds two eval cases (t1-setup-init, t2-setup-rerun) and a patch changelog fragment. I read the whole change except the sample JSON files for the T1 regex graders and the T2 agents-unchanged and conventions-unchanged samples. Those are the files the PR's own checks and the author's hand traces cover. I could not run anything: this lane has no shell or interpreter, so none of the regexes were executed.

What I checked

  • Layout: both cases have the same case.yaml (schema 1.1, scaffold_script: scaffold.sh) as the sibling cases s1-branch-start-plan and s3-script-cleanup. The scaffolds call ../fixtures/seed.sh tarnquill bare|converged. seed.sh supports both states and the files it copies exist.
  • T2 conventions-unchanged: its exact-content regex matches fixtures/states/tarnquill-developer-experience.md.txt line for line. I compared them by reading both.
  • T2 agents-unchanged: I did not compare it against the seeded AGENTS.md. That file is the scaffold plus whatever pointer-line.sh writes, and I did not read either.
  • Process graders (T2): no-write and no-edit are plain max: 0 graders. I read no-shell-write's pattern and found no mismatch with its samples. It leaves a few write routes unmatched, such as chmod, ln, git restore/git checkout -- <file>, and perl -i. Those are residual gaps in a heuristic, not mistakes in the stated scope (redirect, cp, mv, rm, touch, mkdir, tee, sed -i, git rm, compound commands).
  • T1 regex graders: I read the patterns and traced several sample cases by hand. No pattern or sample looked misclassified.
  • Closing issue test(developer-experience): port eval cases T1 and T2 #9988: the changes meet the Fix and Also items: the case layout, deterministic graders where the scenario allows, llm graders with the labeled samples, and the rm and compound-shell checks. The two done-when items are not independently confirmed:
    • /evals:validate was not run, and the PR says so.
    • check-changelog-fragments --check-required origin/main was not run in that form, and the PR says so.
  • Manifests: no plugin.json or marketplace.json changed, so there are no manifest <field> lines.
  • Changelog fragment: bump: patch matches the two existing fragments under .changes/developer-experience/.

Not verified by me (author-claimed)

  • The PR's passing check-changelog-fragments and check-affected runs, the hand-traced regex behavior under both regex engines, and the label-split checks of the two llm sample files are the PR author's claims. I did not reproduce them.
  • The PR body already discloses that the true-facts and commit-interactive judges are uncalibrated and that their labeled samples are AGENTS.md diffs while the graders read the conventions file. It also says the approximations in C1 and C2 are intentional and that the scaffold scripts' executable bit is unchecked. The diff header shows mode 100755 for both scaffold.sh files.

Spend: each case allows up to 60 turns (T1) or 40 turns (T2) per paid eval run. This draws only on prepaid credit or subscription usage, so it is not a hold.

Embedded text: the PR context contains no instruction aimed at the reviewer.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head ff5e248acae278ad0d9309d436447ca9138f0911.

@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 d1b4161 Oct 29, 2026
55 of 56 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9988-40852661427-1 branch October 29, 2026 12:09
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 T1 and T2

0 participants