Repository navigation
refactor(mutation-testing): cut model-read ecosystem specifics from setup and the tooling page - #17824
Conversation
…etup and the tooling page Part 1 of 3 of #16752. Setup no longer picks the consumer's mutation tool or test command from a bundled table: check probe 1 and apply steps 2 and 6 read the configured tool, then follow the plugin's new copy of the ecosystem-resolution steps. The Maven, Gradle and per-project dotnet test runner notes, the config template's pytest, vitest and Maven examples, tooling.md's ecosystem column, its "Selecting a tool" section, the Shell, Terraform and SQL examples and the hook-utils worked example are cut. The tool-keyed table rows stay: the audit's Phase 0 and Phase 2, config-fallback.md and restoration-regimes.md read them. mutation-testing joins the ecosystem-resolution carriers, since setup still takes a language-specific step. Closes #17731 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…link text The skill check read the backticked `reference/...` link text as a path inside the skill directory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on-testing-setup-tooling-cut
|
Held for the targeted before-and-after eval; session 7be98497 runs it and posts the eval-pair record. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane run report
Run 44883553034, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: PR #17824No security issues found. I read every hunk of all seven changed files in What changed. The diff touches only prose and config text in the
No changed file matches a trusted-path glob. The diff touches no workflow, action, plugin manifest, hook, token request, merge hold, kill switch or trusted-actor list. Instruction-surface lens. The diff deletes or narrows standing skill text, so I checked each removed rule for what breaks without it. The removed text is:
None of these is a security or consent guardrail. The protected-class register (
The change narrows what an unattended run may execute rather than widening it. Spend. None: no paid eval runs and no change to billing or lane spend. Embedded text. The PR description says "Hold: eval-gated, awaiting the eval-pair record". I treat it as the author's note on the merge process, not an instruction to this lane. It changes nothing in this review. critical-findings: 0 |
|
claude-review reviewed Code review: PR #17824 (mutation-testing: cut model-read ecosystem specifics from setup and the tooling page)This review was blocking only. The lane already reviewed an earlier head ( The earlier finding is fixed. The recheck trigger in Checks at this head:
I ran no scripts. The author's Other criteria:
Verifier dropped 0 of 0 candidates. |
…ters The cut removed the Ecosystem column, so "a new mutation tool appears for a listed ecosystem" could never match. The trigger now fires when a new mutation tool gains a shipped adapter. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on-testing-setup-tooling-cut
…e-plugins into refactor/17731-mutation-testing-setup-tooling-cut
|
Held for the targeted before-and-after eval at head dbef3ce; session 6aaaae84 runs it and posts the eval-pair record. |
Targeted eval result: PASSOne targeted case per changed skill, run on the old text (before) and the new text (after), on What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit. Scope: pure cut plus two routing replacements (seven rows: R11 F0276, F0277, F0278, F0279, F0290; R4 F0280, F0289). F0289 cuts tooling.md's Ecosystem column, title and intro; the tool-keyed rows stay (decision D173). F0290 cuts the 'Shell, Terraform, SQL' sentence and the hook-utils worked example; after it nothing on tooling.md says shell has no mutation tool, so the principles case's SHELL_TOOL answer rests on the model (the claude-review lane's likeliest loss). F0280 and F0279 move setup apply steps 2 and 6 and probe 3 from bundled tool and test-command lists to the added ecosystem-resolution copy. Measured by p17824-pr-bash-no-tool (F0289, F0290; tooling.md named in the prompt) and p17824-se-resolve-tool-runner (F0279, F0280; setup SKILL.md loaded; tool-test-restriction named in the prompt). Unmeasured: F0276 (config-template.md comment, read only when apply writes the config, which the rules-only case forbids), F0277 (check probe 1; the case asks about apply), F0278 (the deleted 'Selecting a tool' steps; no grader reads them).
Passing runs per grader, per side:
Graders that cannot show a loss, because they failed on the old text in every run:
Changed files the compare runs opened, per case and side:
Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):
Rows these runs did not measure:
Verdicts:
Cost: 1.40 USD (smoke and compare, the runs' The cases live outside the repository; their full text: The 2 cases: prompt.md and case.yaml
|
|
The |
Closes #17731
Summary
Part 1 of 3 of #16752.
/mutation-testing:setupstops picking the consumer's mutation tool and test command from bundled text, and theprinciplestooling page stops mapping an ecosystem to a tool. Setup now reads the configuredtoolkey first, then follows the plugin's own copy of the ecosystem-resolution steps (ADR 0101; mutation-testing joins the carriers because setup still takes a language-specific step, per the carrier rule indocs/contracts/ecosystem-resolution/README.md).Row count: 7 (R11 5, R4 2). None was GONE on
main. None is R8, so none is pending a targeted case.config-template.md'stest-commandcomment drops the pytest, vitest and Maven forms; thedotnet test {tests}sentence stays (R6: it describes whatscripts/dotnet-test-selection.shdrives).checkprobe 1's manifest list becomes: read the configuredtool, else resolve by steps 3, 4 and 7 ofreference/ecosystem-resolution.md; nothing resolved is still INFO naming the manual path.tooling.md's "Selecting a tool" section is deleted with no replacement; setup probes 3 to 5 already hold its runner, green-suite and speed checks.-Dtest/ Gradle--testsparenthetical and probe 4's per-projectdotnet testsentence are deleted; the generic name-filter rule stays.applystep 2 resolves the tool throughreference/ecosystem-resolution.md(thetoolkey is the record, written in step 7), names the install command the tool's own docs give, and proposestool: manualwhen nothing resolves. Step 6's per-runnertest-commandlist becomes the repository's own test command resolved the same way, with{tests}; the Maven/Gradle parentheticals in steps 2 and 6 go. Thedotnet test {tests}form stays (the audit's script drives it).audit/SKILL.md:216) and Phase 2 (:267-268),audit/context/config-fallback.md:45-47(the six shipped adapters are defined as "one per row" of this table, and a tool with no row is refused) andaudit/context/restoration-regimes.md:20read them; cutting them would refuse every tool, which no row in this part asks for. Decided by the host session and told to the owner; the eval below measured the page with those rows kept.lib/hook-utils.test.shworked-example paragraph is deleted. The five-step manual protocol stays.Fix
plugins/mutation-testing/skills/setup/SKILL.md(part): probe 1, probes 3 and 4,applysteps 2 and 6, as above.plugins/mutation-testing/skills/setup/templates/config-template.md(part): thetest-commandcomment.plugins/mutation-testing/skills/principles/reference/tooling.md(part): title, intro, Ecosystem column, "Selecting a tool", the Shell/Terraform/SQL line and the worked example; the recheck trigger now names a new shipped adapter instead of "a listed ecosystem".plugins/mutation-testing/skills/principles/SKILL.md(part): the routing row fortooling.mdno longer says "which tool for which ecosystem".plugins/mutation-testing/reference/ecosystem-resolution.md(new, generated) andscripts/shared-copies.txt(one line): the carrier copy, fromscripts/sync-shared-copies.sh..changes/mutation-testing/: patch fragment.No page is deleted whole; every changed file is a partial cut.
Script readers
Searches, run on this branch:
git grep -n -E "config-template\.md|principles/reference/tooling|reference/tooling\.md|setup/SKILL\.md|tooling\.md" -- ':!*.md' ':!*.jsonl'across the repository.grep -rn -E "config-template|tooling|setup/SKILL|Established tools|Selecting a tool" plugins/mutation-testing/scripts plugins/mutation-testing/tests.git grep -n -E "mutation-testing/skills/(setup|principles/reference/tooling)" -- .performance scripts .github.Hits for the three cut files:
plugins/mutation-testing/tests/config-schema.test.sh:11: a# test-scope:header namingconfig-template.md; the test reads only the schema andconfig-fallback.md, not the template.scripts/docs-anchor-baseline.txt:87:tooling.md 4, a count of anchorless docs-link lines; the cut removes none of those lines, so the count stays 4.docs/conventions/mutation-testing.yaml:1,17: comments namingconfig-template.mdandtooling.md; both files still exist.pr-bash-no-tool,pr-survivor-three-classes) nametooling.mdas a file the model reads.setup/SKILL.mdhit outsideplugins/mutation-testing/is another plugin's setup skill.No script reads any of the three files, so no row is kept for a script reader. As in #17745, a test-scope header and the anchor baseline do not count as readers.
Verification
scripts/check-affected.sh: 18 passed, 2 skipped, 0 failed (it includes the shared-copies sync check and the changelog-fragment check).scripts/check-changed-skills.sh: setup and principles PASS, 0 errors; the warnings are pre-existing size warnings, plus setup's body growing from 277 to 279 lines.scripts/sync-shared-copies.sh: generated the carrier copy.Eval cases that read the cut text
se-gradle-name-filter-notice(apply step 2's tool proposal for a Gradle repo, and the Gradle--testsparenthetical; itsproposes-pitandnames-name-filterregexes now depend on resolution and the runner-kind rule, not bundled text).se-apply-proposes-tool-writes-config(apply step 2: proposes the matching tool with its install command).se-check-reports-every-probe(probe 1; itsprobe-ecosystemregex is why probe 1 keeps the word "ecosystem").se-test-command-needs-placeholder(probe 7's{tests}rule, unchanged; its remediation namespython -m pytest {tests}, which step 6 no longer lists).pr-bash-no-toolreadstooling.mdand grades "no established tool covers shell" plus the five-step manual protocol.pr-score-vs-test-strengthreads the metric-name column, which stays.Eval
Registration
eval-pr-17824b(#17731), headdbef3ce9fe034169f18b53e8e6078f4a546689a4,sonnet, 3 runs a side. Every compare reading VALID, no denied calls. Overall PASS, no loss: every grader 3/3 on both arms, mean case score 1.000 before and after, in both cases (pr-bash-no-toolandse-resolve-tool-runner).tooling.mdwas opened in 3 of 3 runs on each side, so F0279, F0280, F0289 and F0290 are measured; F0276, F0277 and F0278 are not graded by any case. Record: issuecomment-7060875676.AC10: no new enforcement-placing skill is added.
Related
docs/adr/0101-resolve-ecosystem-specifics-from-the-consumer-repository.md.🤖 Generated with Claude Code