Skip to content

test(developer-experience): add shared eval fixtures for the .NET and Python repositories - #10899

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9943

Summary

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

Adds the tarnquill (.NET) and brackenfold (Python) fixture repositories under plugins/developer-experience/evals/fixtures/, copied from what sources/harness/build-fixtures.py writes, plus seed.sh, which seeds either one in the bare, conventions-only, converged or (tarnquill) legacy state into a workspace and commits it on main, so the ported #6649 cases can name a fixture state from their scaffold. A fixture case, fx-seed-every-state, seeds all seven states and checks the conventions file each copy's AGENTS.md names, which is what makes every fixture file reachable from a scaffold.

Not verified

  • /evals:validate (plugins/evals/skills/validate/scripts/validate-cases.py) was not executed on plugins/developer-experience/evals: this lane allows no interpreter. The case was checked only by reading it against the validator's key, grader and sample rules (by me and by the review subagent). The eval
  • seed.sh and the fx-seed-every-state scaffold were never executed here (no way to run them in this lane). Neither the seeded trees nor the pointer-line.sh output were produced and diffed against build-fixtures.py output; the match rests on reading the code
  • The fx-seed-every-state case was not run under claude plugin eval. It checks the fixtures, not the plugin, so both arms should pass (zero delta). It costs one run per arm whenever the whole suite runs. A reviewer may prefer to drop it once the ported cases name every state, or to filter it out by it
  • scripts/check-changelog-fragments.sh --check-required origin/main (the issue's second Done-when) was not run in that form here. The lane's check-changelog-fragments wrapper passed, and the --check-required form is left to the PR's CI
  • CI-only checks not run here: orphaned-fixtures, editorconfig, evals-quality, typos (not installed) and the shebang exec-bit step. New .sh and #! files are written at mode 644 and get their exec bit from the issue lane's apply-issue-patch
  • Tidy skipped: the change is 56 files, over the 10-file and 300-line tidy cutoffs
  • The checkout root holds untracked files this run did not create (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc), probably from the sandbox environment. They were left untouched and are not part of this change
  • brackenfold-agentic (the held-out H-audit overlay from build-agentic-overlay.py) is not included: the issue names only the bare, conventions-only, converged and legacy states

Fix

  • plugins/developer-experience/evals/fixtures/seed.sh: new. Usage seed.sh <tarnquill|brackenfold> <state> [dir]. It copies the fixture tree with the .txt suffix stripped, builds the state's AGENTS.md the way build-fixtures.py does (conventions-only appends the conventions section; conver
  • plugins/developer-experience/evals/fixtures/tarnquill/**: new, 20 files: the TQ tree and bare AGENTS.md from build-fixtures.py, each with a .txt suffix. Tarnquill.sln.txt is a fixed classic solution with constant project GUIDs in place of the dotnet new sln output, so seeding needs no dotnet and fit
  • plugins/developer-experience/evals/fixtures/brackenfold/**: new, 18 files: the BF tree and bare AGENTS.md from build-fixtures.py, each with a .txt suffix. seed.sh creates the empty tests/init.py
  • plugins/developer-experience/evals/fixtures/states/*.md.txt: new, 7 files: each fixture's conventions section and converged conventions file, plus tarnquill's legacy conventions file, legacy block and CLAUDE.md
  • plugins/developer-experience/evals/fx-seed-every-state/{case.yaml,prompt.md,scaffold.sh,graders/.md,samples/.json}: new fixture case. The scaffold seeds all seven states into tarnquill-<state>/ and brackenfold-<state>/. The prompt asks which conventions file each AGENTS.md names. Three
  • plugins/developer-experience/evals/.editorconfig: new. [fixtures/**] unsets indent_style and indent_size, because the fixture Makefile recipes and the .sln sections are tab-indented
  • plugins/developer-experience/evals/sources/README.md: says the generator's output under sources/ is not committed, while the eval cases read the committed copy in evals/fixtures/ through seed.sh, so a change to a generated file goes into both
  • .changes/developer-experience/test-9943-shared-eval-fixtures-4b7e1c92.md: new patch fragment (Added) for the fixtures, the seed script and the fixture case

Verification

The runner ran each check from the base copy against 22711ba:

  • 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 56 changed files' (run before and after the review fixes). The skips were ruff (no .py changed), typos (not installed) and four checks that run code from the checked tree. orphaned-f
  • Grep for leading tabs in fixtures/tarnquill: Makefile.txt has 3 tab lines and Tarnquill.sln.txt has 21, as intended
  • Fresh-context review subagent (opus) over the whole diff. By reading the code it confirmed that every fixture file matches its build-fixtures.py string, that seed.sh assembles each state as build()/build_legacy() do, that all 43 fixture files are named in seed.sh or the scaffold under the orphaned-f
  • read https: //code.claude.com/docs/en/plugin-evals: a scaffold_script runs in the empty workspace before Claude starts, with a minimal environment and a 120-second limit; a case is a directory holding prompt.md or case.yaml; CLAUDE.md and .claude/ never load in a run, even when a scaffold wrote them
  • read https: //learn.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file: the .sln header lines (Format Version 12.00, # Visual Studio Version 17, VisualStudioVersion = 17.2.32505.173, MinimumVisualStudioVersion = 10.0.40219.1) and the Project/EndProject/Global structure
  • read https: //raw.githubusercontent.com/microsoft/vs-solutionpersistence/main/src/Microsoft.VisualStudio.SolutionPersistence/Model/ProjectTypeTable.BuiltInTypes.cs: the C# project type GUID FAE04EC0-301F-11D3-BF4B-00C04F79EFBC ('Default CLR projects', .csproj)
  • read https: //raw.githubusercontent.com/microsoft/vs-solutionpersistence/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/SlnV12/SlnFileV12Serializer.Writer.cs: a GlobalSection header is written with one leading tab and its property lines with two
  • read https: //raw.githubusercontent.com/microsoft/vs-solutionpersistence/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/SlnV12/SlnConstants.cs: the header, tag and HideSolutionNode constants
  • read https: //raw.githubusercontent.com/microsoft/vs-solutionpersistence/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/SlnV12/SectionName.cs: the section names SolutionConfigurationPlatforms, ProjectConfigurationPlatforms and SolutionProperties
  • read https: //raw.githubusercontent.com/microsoft/vs-solutionpersistence/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/SlnV12/SlnV12Extensions.cs: the .ActiveCfg and .Build.0 suffixes and the key form {guid}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  • read https: //spec.editorconfig.org/: a glob containing / is relative to the .editorconfig's own directory, ** crosses directories, and unset removes a pair's effect
  • read https: //github.com/melodic-software/claude-code-plugins/issues /9936 and https: //github.com/melodic-software/claude-code-plugins/issues /6649: the dependency #9936 is closed by PR #10754 (the sources are on main), and the sibling issues #9953-#9998 port the S/T/N/stays-quiet cases that will u
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40832361292

Left out: the items under Not verified.

Related

#9943

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

Copy link
Copy Markdown
Contributor

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

No security issues found in this pull request.

critical-findings: 0

What I read. All 56 changed files in .claude-lane/pr.diff and the PR context. I read seed.sh, the fx-seed-every-state case (case.yaml, scaffold.sh, prompt, graders), the .editorconfig, the changelog fragment and the sources/README.md change in full. I read the fixture files (.txt copies of the tarnquill and brackenfold repositories and the state files) by pattern search, not line by line. That search looked for network calls, eval, base64, credential paths, destructive commands and instruction-like text. Matches were only fixture prose such as "Tokens come from the environment, never from a flag".

Trusted paths. No changed file matches a TRUSTED PATHS glob. The change touches no trust control, workflow, action, token scope, kill switch or merge hold. It adds no plugin manifest change and no userConfig key, so there are no manifest <field> lines.

seed.sh and scaffold.sh.

  • name is limited to the tarnquill and brackenfold cases, and state to a fixed list. Neither reaches a path or a command unchecked.
  • dest is the only free-form argument. It is only passed to mkdir -p and cd, and the caller supplies it.
  • The file list is hard-coded and every copy source is $here/$name/$f.txt, so there is no path traversal.
  • bash "$helper" runs the repository's own pointer-line.sh, with fixed arguments.
  • scaffold.sh passes only fixed state names and runs in the eval harness's empty workspace, so no untrusted input reaches either script.

Eval case. The prompt allows only Read, Glob and Grep, so the fixture text cannot trigger execution. The fixture AGENTS.md and conventions text is data seeded into a throwaway workspace.

Spend. The new case costs one run per arm whenever the whole eval suite runs. That draws on prepaid or subscription usage and is not a hold.

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read the whole diff (56 files) and the PR context. I ran nothing: the lane has no shell and I did not execute seed.sh, the scaffold or the validator.

What I checked by reading:

  • fixtures/seed.sh: the file lists match the files added for each fixture. The helper path ../../skills/setup/scripts/pointer-line.sh resolves to a file that exists. apply --root . --path docs/conventions/developer-experience.md --yes starts from the bare AGENTS.md, which has no conventions block, so the helper reports no-block and writes the block with the pointer line. The legacy block and CLAUDE.md match build_legacy() in build-fixtures.py. The conventions-only assembly (a blank line, then the heading and sections) matches CONV_HEADING + conv_sections in build().
  • fx-seed-every-state: the scaffold seeds all seven states into <fixture>-<state>/. The prompt and expected_outcome agree with the three graders. I walked each regex against its pass and fail samples and they separate as the why notes say. The frontmatter keys (tags, runs, max_turns, allowed_tools, expected_outcome) are in the validator's PROMPT_KEYS.
  • The fixtures keep their deliberate defects (Paging.PageCount returns total / pageSize + 1, seed_fixtures.py imports a missing bfk.legacy, and scripts/README.md carries a decoy line aimed at agents). These are scenario content, not review findings.
  • Changelog fragment: bump: patch with an Added entry for new eval fixtures matches the change. The PR touches no manifest, so there are no manifest <field> lines.
  • Closing issue test(developer-experience): add shared eval fixtures for the .NET and Python repositories #9943: the first Done-when ("a case that names each fixture state loads under /evals:validate") is met by the case's design. I could not run the validator, so the PR author's "not run" note stands. The second Done-when (--check-required) is left to CI, as the PR says.
  • No file in the diff matches a TRUSTED PATH glob.

Author-claimed and unverified by me: the check-changelog-fragments and check-affected results, and the opus subagent's byte-for-byte match of the fixtures against build-fixtures.py. My spot checks above agree with the match but are not a full diff.

Spend: the new case costs one run per arm of prepaid eval usage whenever the whole suite runs. That is not a hold.

Not reported: scaffold.sh derives seed from dirname "${BASH_SOURCE[0]}" without cd … && pwd, which the sibling scaffolds do. This only breaks if the runner invokes the scaffold by a path relative to the workspace. I did not confirm that it does, so I did not report it.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 22711ba99574df621edcff34a85022c1b8e58701.

@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 675b792 Oct 29, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9943-40832361292-1 branch October 29, 2026 08:32
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): add shared eval fixtures for the .NET and Python repositories

0 participants