Skip to content

refactor(mutation-testing): cut model-read ecosystem specifics from setup and the tooling page - #17824

Merged
kyle-sexton merged 6 commits into
mainfrom
refactor/17731-mutation-testing-setup-tooling-cut
Nov 21, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
refactor/17731-mutation-testing-setup-tooling-cut

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Closes #17731

Summary

Part 1 of 3 of #16752. /mutation-testing:setup stops picking the consumer's mutation tool and test command from bundled text, and the principles tooling page stops mapping an ecosystem to a tool. Setup now reads the configured tool key 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 in docs/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.

Row Rule Kind Outcome
F0276 R11 K7 Cut. config-template.md's test-command comment drops the pytest, vitest and Maven forms; the dotnet test {tests} sentence stays (R6: it describes what scripts/dotnet-test-selection.sh drives).
F0277 R11 K2 Replaced at a routing site. Setup check probe 1's manifest list becomes: read the configured tool, else resolve by steps 3, 4 and 7 of reference/ecosystem-resolution.md; nothing resolved is still INFO naming the manual path.
F0278 R11 K2 Cut. 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.
F0279 R11 K4 Cut. Probe 3's Maven -Dtest / Gradle --tests parenthetical and probe 4's per-project dotnet test sentence are deleted; the generic name-filter rule stays.
F0280 R4 K3 Replaced at a routing site. apply step 2 resolves the tool through reference/ecosystem-resolution.md (the tool key is the record, written in step 7), names the install command the tool's own docs give, and proposes tool: manual when nothing resolves. Step 6's per-runner test-command list becomes the repository's own test command resolved the same way, with {tests}; the Maven/Gradle parentheticals in steps 2 and 6 go. The dotnet test {tests} form stays (the audit's script drives it).
F0289 R4 K4 Cut: the ecosystem-to-tool mapping. The table's Ecosystem column, the "Tools by ecosystem" title and the "which tool exists for which stack" intro go. Kept: the rows keyed by tool id with their diff-scoping, write-regime and metric-name columns and the source links behind them. Audit Phase 0 (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) and audit/context/restoration-regimes.md:20 read 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.
F0290 R11 K7 Cut. "Shell, Terraform, SQL, and plenty of others" becomes "Many languages", and the lib/hook-utils.test.sh worked-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, apply steps 2 and 6, as above.
  • plugins/mutation-testing/skills/setup/templates/config-template.md (part): the test-command comment.
  • 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 for tooling.md no longer says "which tool for which ecosystem".
  • plugins/mutation-testing/reference/ecosystem-resolution.md (new, generated) and scripts/shared-copies.txt (one line): the carrier copy, from scripts/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 naming config-template.md; the test reads only the schema and config-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 naming config-template.md and tooling.md; both files still exist.
  • Eval samples and cases (pr-bash-no-tool, pr-survivor-three-classes) name tooling.md as a file the model reads.
  • Every setup/SKILL.md hit outside plugins/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

  • setup: se-gradle-name-filter-notice (apply step 2's tool proposal for a Gradle repo, and the Gradle --tests parenthetical; its proposes-pit and names-name-filter regexes 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; its probe-ecosystem regex is why probe 1 keeps the word "ecosystem"). se-test-command-needs-placeholder (probe 7's {tests} rule, unchanged; its remediation names python -m pytest {tests}, which step 6 no longer lists).
  • principles: pr-bash-no-tool reads tooling.md and grades "no established tool covers shell" plus the five-step manual protocol. pr-score-vs-test-strength reads the metric-name column, which stays.

Eval

Registration eval-pr-17824b (#17731), head dbef3ce9fe034169f18b53e8e6078f4a546689a4, 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-tool and se-resolve-tool-runner). tooling.md was 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

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 20, 2026 23:54
…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]>
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Held for the targeted before-and-after eval; session 7be98497 runs it and posts the eval-pair record.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 21, 2026 08:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T08:10:47.409804Z 2bad177 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 44883553034, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step skipped
Commits pushed none (read lane)
Run 44883553034

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17824

No security issues found. I read every hunk of all seven changed files in .claude-lane/pr.diff. This lane already reviewed an earlier head, so this review reports only blocking findings (CRITICAL and IMPORTANT). The new head is a merge from main. The PR's own changes match what the earlier review covered.

What changed. The diff touches only prose and config text in the mutation-testing plugin:

  • /mutation-testing:setup (check probes 1, 3 and 4, apply steps 2 and 6), the config template's test-command comment and the principles tooling.md page drop their built-in ecosystem examples. They now point to a new generated copy of the ecosystem-resolution steps, plugins/mutation-testing/reference/ecosystem-resolution.md.
  • scripts/shared-copies.txt gains one line for that copy.
  • A changelog fragment is added.

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:

  • the manifest list;
  • the Maven -Dtest and Gradle --tests notes;
  • the list of example test-command lines for each runner;
  • the per-project dotnet test sentence in probe 4;
  • the "Selecting a tool" section;
  • the hook-utils.test.sh worked example.

None of these is a security or consent guardrail. The protected-class register (docs/contracts/instruction-exception-register/README.md) was not consulted, so I judged each removed rule by its consequence. The safeguards that protect the user are still in place:

  • Before running a test command, probe 4 still asks for the command or waits for the user to confirm a proposed one. An unattended run reports the probe as not run (plugins/mutation-testing/skills/setup/SKILL.md:221-223).
  • apply step 2 still says to ask before installing anything and to "Propose, never install unprompted" (plugins/mutation-testing/skills/setup/SKILL.md:234-236).
  • Probe 1 explicitly asks for and records nothing.
  • The new resolution copy adds limits for unattended runs: it installs nothing, copies no command text out of a CI workflow file and writes no record (plugins/mutation-testing/reference/ecosystem-resolution.md:63-65).

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

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

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 (2bad1772), so it reports blocking findings and manifest flags and leaves out advisory findings. I read every hunk of all 7 changed files.

The earlier finding is fixed. The recheck trigger in tooling.md (line 15) used to say "when a new mutation tool appears for a listed ecosystem". It now says "when a new mutation tool gains a shipped adapter", which fits the table that is now keyed by tool.

Checks at this head:

  • The new ../../reference/ecosystem-resolution.md links in setup/SKILL.md (probe 1, apply steps 2 and 6) point to plugins/mutation-testing/reference/ecosystem-resolution.md, which this change adds.
  • The carrier copy is registered in scripts/shared-copies.txt.
  • When nothing resolves, apply step 2 now proposes tool: manual. That value matches the reserved manual id that config-template.md:24-26 and setup probe 6 (setup/SKILL.md:96-99) already define.
  • Closing issue Cut the model-read ecosystem specifics from mutation-testing: setup and the tooling page #17731: every row (F0276–F0280, F0289, F0290) is cut or replaced at a routing site as the PR body's table says. I found nothing that blocks.

I ran no scripts. The author's check-affected.sh, check-changed-skills.sh and sync-shared-copies.sh results are their claim, and I did not verify them.

Other criteria:

  • Loosened checks: the wrapper wrote no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It wrote no decision-record line either, so I did not check the citation requirement. The change loosens no check.
  • Plugin manifests: this change edits no plugin.json or marketplace.json. The changelog fragment's bump: patch fits a skill-text refactor.
  • Spend: this change adds none. The eval it is held for runs from a host session, not from this change.
  • Embedded text: none found in the PR context.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 3 commits November 21, 2026 03:21
…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]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Held for the targeted before-and-after eval at head dbef3ce; session 6aaaae84 runs it and posts the eval-pair record.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Targeted eval result: PASS

One targeted case per changed skill, run on the old text (before) and the new text (after), on sonnet at 3 runs a side, Claude Code 2.1.330 (Claude Code).

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).

  • New cases: p17824-pr-bash-no-tool is copied from plugins/mutation-testing/evals/pr-bash-no-tool (legacy principles 6) with its seven llm graders turned into six anchored KEY-line regex graders, plus two kept tool-row facts (Stryker.NET --since, Infection Covered Code MSI); p17824-se-resolve-tool-runner is written for this PR (seven anchored KEY-line regex graders). Both rules-only, no negative lookahead, no Skill grader; each prompt names the pages its graders read (R121).

  • Re-registered as eval-pr-17824b before any compare run: eval-pr-17824's setup prompt named 'the plugin's ecosystem-resolution reference', a file only the AFTER arm has; its BEFORE smoke run looked for it with a Glob and a Grep over the plugin copy, both denied by the eval sandbox, which reads COUNTED and would withhold the record line. The only change is that clause, dropped; AFTER setup SKILL.md links the reference itself. eval-pr-17824's smoke counts in spend only.

  • Unmeasured rows: F0276 (config-template.md), F0277 (check probe 1), F0278 ('Selecting a tool', no grader).

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates cut pull requests on the no-loss compare alone.

  • Before: 7a6294ddb9b844f4a4a1490486709d63b51b29c2 (merge base with main)

  • After: dbef3ce9fe034169f18b53e8e6078f4a546689a4 (pull request head; live head when this was written: dbef3ce9fe034169f18b53e8e6078f4a546689a4)

  • Loss: the mean case score falls by 0.15 or more, or any one grader passes in 2 or more fewer after runs than before runs.

Passing runs per grader, per side:

Case Grader Before After
p17824-pr-bash-no-tool stryker-net-since 3/3 3/3
p17824-pr-bash-no-tool infection-covered-msi 3/3 3/3
p17824-pr-bash-no-tool fallback-sbr 3/3 3/3
p17824-pr-bash-no-tool revert-every-exit 3/3 3/3
p17824-pr-bash-no-tool unkillable-cited 3/3 3/3
p17824-pr-bash-no-tool no-invented-tool 3/3 3/3
p17824-pr-bash-no-tool mean case score 1.000 1.000
p17824-se-resolve-tool-runner gradle-exercised-refuses 3/3 3/3
p17824-se-resolve-tool-runner gradle-cleanup-gate-cannot 3/3 3/3
p17824-se-resolve-tool-runner gradle-diff-scopes-work 3/3 3/3
p17824-se-resolve-tool-runner gradle-no-test-command 3/3 3/3
p17824-se-resolve-tool-runner ask-before-install 3/3 3/3
p17824-se-resolve-tool-runner ledger-repo-command 3/3 3/3
p17824-se-resolve-tool-runner ops-tool-manual 3/3 3/3
p17824-se-resolve-tool-runner mean case score 1.000 1.000

Graders that cannot show a loss, because they failed on the old text in every run:

  • none: every grader passed in at least one run on the old text

Changed files the compare runs opened, per case and side:

  • p17824-pr-bash-no-tool before: opened skills/principles/reference/tooling.md in 3 of 3 runs
  • p17824-pr-bash-no-tool after: opened skills/principles/reference/tooling.md in 3 of 3 runs
  • p17824-se-resolve-tool-runner before: opened no changed file in 3 runs
  • p17824-se-resolve-tool-runner after: opened reference/ecosystem-resolution.md in 3 of 3 runs

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):

  • F0289 (skills/principles/reference/tooling.md, case p17824-pr-bash-no-tool): opened in 3 of 3 before, 3 of 3 after runs
  • F0290 (skills/principles/reference/tooling.md, case p17824-pr-bash-no-tool): opened in 3 of 3 before, 3 of 3 after runs
  • F0279 (skills/setup/SKILL.md, case p17824-se-resolve-tool-runner): measured; the file is loaded with the skill or agent, never opened, so no open count applies
  • F0280 (skills/setup/SKILL.md, case p17824-se-resolve-tool-runner): measured; the file is loaded with the skill or agent, never opened, so no open count applies

Rows these runs did not measure:

  • none

Verdicts:

  • verdict p17824-pr-bash-no-tool (principles): PASS (no loss: after 1.000, before 1.000)
  • verdict p17824-se-resolve-tool-runner (setup): PASS (no loss: after 1.000, before 1.000)

Cost: 1.40 USD (smoke and compare, the runs' costUsd).

The cases live outside the repository; their full text:

The 2 cases: prompt.md and case.yaml

p17824-pr-bash-no-tool

prompt.md:

---
description: "Copied and made deterministic from plugins/mutation-testing/evals/pr-bash-no-tool (legacy principles 6) for PR 17824 (issue #17731: principles tooling.md drops its Ecosystem column, the Selecting-a-tool steps, the 'Shell, Terraform, SQL' sentence and the hook-utils worked example; its tool-keyed rows stay). Asked whether a shell mutation tool exists, the reply says none does, gives the manual fallback (statement-block removal, revert on every exit path, a cited measurement for unkillable), and names Stryker.NET's --since and Infection's Covered Code MSI from the kept rows. Its seven llm graders become anchored KEY-line regex graders."
tags: [principles, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run. The reply says no established mutation-testing tool covers shell or Bash and invents none; the manual fallback uses one operator, statement-block removal, reverts the mutation on every exit path, and needs a cited measurement before calling a mutant unkillable; it names --since for Stryker.NET and Covered Code MSI for Infection. It ends with the six fixed lines."
---

We write Bash. Is there a mutation testing tool for shell scripts? Answer with /mutation-testing:principles, and check your answer against its tooling page (`reference/tooling.md`). While you're there, two quick ones for our other repos: which flag scopes a Stryker.NET run to a diff, and what does Infection call the covered-code score?

Don't run, install or research anything online.

End with exactly these six lines:

SHELL_TOOL: <the tool's name, or none>
FALLBACK_OPERATOR: <the one operator a hand-run pass uses>
FALLBACK_REVERT: <when the mutation is undone>
UNKILLABLE_NEEDS: <what must be shown before calling a mutant unkillable>
STRYKER_NET_DIFF_FLAG: <flag>
INFECTION_COVERED_NAME: <name>

case.yaml:

schema_version: "1.1"
name: p17824-pr-bash-no-tool
plugins: ["../.."]
graders:
  - name: 'stryker-net-since'
    type: 'regex'
    pattern: '^[\W_]*STRYKER_NET_DIFF_FLAG[*_]*:[^\n]*--since'
    flags: 'im'
    target: 'last_message'
  - name: 'infection-covered-msi'
    type: 'regex'
    pattern: '^[\W_]*INFECTION_COVERED_NAME[*_]*:[^\n]*covered[- ]code[- ]msi'
    flags: 'im'
    target: 'last_message'
  - name: 'fallback-sbr'
    type: 'regex'
    pattern: '^[\W_]*FALLBACK_OPERATOR[*_]*:[^\n]*(?:statement|block)[^\n]*(?:removal|delet)'
    flags: 'im'
    target: 'last_message'
  - name: 'revert-every-exit'
    type: 'regex'
    pattern: '^[\W_]*FALLBACK_REVERT[*_]*:[^\n]*(?:every|any|all|whether|always|trap|finally)'
    flags: 'im'
    target: 'last_message'
  - name: 'unkillable-cited'
    type: 'regex'
    pattern: '^[\W_]*UNKILLABLE_NEEDS[*_]*:[^\n]*(?:measure|cite|baseline|two runs|evidence)'
    flags: 'im'
    target: 'last_message'
  - name: 'no-invented-tool'
    type: 'regex'
    pattern: '^[\W_]*SHELL_TOOL[*_]*:[\s*`]*(?:none|no\b|there is no|n/?a\b)'
    flags: 'im'
    target: 'last_message'

p17824-se-resolve-tool-runner

prompt.md:

---
description: "Written for PR 17824 (issue #17731: mutation-testing setup probes 1, 3, 4 and apply steps 2, 6 resolve the ecosystem, tool and test command from the repository through the new ecosystem-resolution copy instead of a bundled manifest list and example commands). Asked, before anything runs, how apply would treat a Gradle project and a uv-managed Python project, the reply says Gradle filters by name only so audit --exercised refuses and the cleanup gate cannot run while the diff, --full and --paths scopes work, proposes no test-command for Gradle, asks before installing, takes the Python test command from the repository's own instructions, and proposes tool: manual for a repository with no recognised ecosystem"
tags: [setup, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run, installed or written. The reply says the Gradle runner filters by name only, so audit --exercised refuses and the cleanup mutation gate cannot run while the diff, --full and --paths scopes still work; proposes no Gradle test-command; asks before installing any tool; proposes the Python test-command from CONTRIBUTING.md with {tests}; and proposes tool: manual for the shell-only repository. It ends with the seven fixed lines."
---

/mutation-testing:setup

Before you run, install or write anything, tell me how `apply` would go in three of our repositories. Check your answers against the setup skill's steps and the audit skill's tool-test-restriction page.

1. `billing/` is a Java service built with Gradle (`build.gradle`, JUnit tests run by `./gradlew test`). What does its test runner support for `audit --exercised`, `/testing:cleanup`'s mutation gate and the diff, `--full` and `--paths` scopes? Would you propose a `test-command`?
2. Before installing a mutation tool there, what do you do?
3. `ledger/` is a Python project; its `CONTRIBUTING.md` says "Run the tests with `uv run pytest`". What `test-command` would you propose?
4. `ops-scripts/` holds only Bash scripts, with no manifest or build file. What `tool` would you propose?

End with exactly these seven lines:

GRADLE_EXERCISED: <works or refuses>
GRADLE_CLEANUP_GATE: <runs or cannot run>
GRADLE_DIFF_SCOPES: <work or do not work>
GRADLE_TEST_COMMAND: <the command, or none>
BEFORE_INSTALL: <what you do>
LEDGER_TEST_COMMAND: <the command>
OPS_TOOL: <the tool value>

case.yaml:

schema_version: "1.1"
name: p17824-se-resolve-tool-runner
plugins: ["../.."]
graders:
  - name: 'gradle-exercised-refuses'
    type: 'regex'
    pattern: '^[\W_]*GRADLE_EXERCISED[*_]*:[\s*`]*refuse'
    flags: 'im'
    target: 'last_message'
  - name: 'gradle-cleanup-gate-cannot'
    type: 'regex'
    pattern: '^[\W_]*GRADLE_CLEANUP_GATE[*_]*:[\s*`]*cannot'
    flags: 'im'
    target: 'last_message'
  - name: 'gradle-diff-scopes-work'
    type: 'regex'
    pattern: '^[\W_]*GRADLE_DIFF_SCOPES[*_]*:[\s*`]*work'
    flags: 'im'
    target: 'last_message'
  - name: 'gradle-no-test-command'
    type: 'regex'
    pattern: '^[\W_]*GRADLE_TEST_COMMAND[*_]*:[\s*`]*none\b'
    flags: 'im'
    target: 'last_message'
  - name: 'ask-before-install'
    type: 'regex'
    pattern: '^[\W_]*BEFORE_INSTALL[*_]*:[^\n]*\bask'
    flags: 'im'
    target: 'last_message'
  - name: 'ledger-repo-command'
    type: 'regex'
    pattern: '^[\W_]*LEDGER_TEST_COMMAND[*_]*:[^\n]*uv run pytest \{tests\}'
    flags: 'im'
    target: 'last_message'
  - name: 'ops-tool-manual'
    type: 'regex'
    pattern: '^[\W_]*OPS_TOOL[*_]*:[^\n]*\bmanual\b'
    flags: 'im'
    target: 'last_message'

Posted by an agent session.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

The do-not-merge hold waited only on eval evidence (reason=eval), and a listed human posted a VALID no-loss eval-pair record for dbef3ce9fe034169f18b53e8e6078f4a546689a4: #17824 (comment). pr-merge removed do-not-merge. To hold again, add the label back with a new pr-hold reason line.

@melodic-automation-lanes melodic-automation-lanes Bot removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 54e4c88 Nov 21, 2026
90 of 92 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/17731-mutation-testing-setup-tooling-cut branch November 21, 2026 10:24
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the model-read ecosystem specifics from mutation-testing: setup and the tooling page

1 participant