Skip to content

refactor(mutation-testing): cut model-read ecosystem specifics from the audit skill - #17737

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17733-44846665626-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17733-44846665626-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17733

Summary

Opened by the work-resolve-issue lane. The run's own summary, with F0281 updated after the host session's eval (see below):

Part 2 of 3 of #16752. Row count: 7 (R11 6, R8 1). Six rows are cut, or replaced with generic text at a routing site; F0281 (R8) was cut, then restored after its targeted case read a loss. None was GONE on main.

Rows:

  • F0281 (R8, K4), tool-test-restriction.md stryker-net row: restored. The lane cut probe #9687 pending its targeted case. That case, p17737-au-strykernet-restriction, scored 1.000 with the row and 0.000 without it (eval-pr-17737b, VALID; the without-row replies fell back to the manual protocol with NoCoverage unknown). Under Cut the model-read ecosystem specifics from mutation-testing: the audit skill #17733's R8 rule the row and its "Running Stryker.NET on a test set" section are restored verbatim from the base, and the row carries portability-ok: measured p17737-au-strykernet-restriction.
  • F0282 (R11, K3), tool-test-restriction.md "test-command filter forms": the eight runner rows (vitest, jest, mocha, Maven, Gradle, PHPUnit, pytest, unittest) are cut. This is a routing site: audit Phase 0 and setup steps 2 and 6 read a runner's kind from it. Generic text replaces the rows: it defines the path-list and name-filter-only kinds, says to read the kind from the repository's test configuration and the runner's own help or docs, and counts an unknown kind as name filter only, which matches the old unlisted-runner behavior. The dotnet test row stays as a kept-adapter operation (ADR 0101), since scripts/dotnet-test-selection.sh drives it.
  • F0287 (R11, K7), config-fallback.md: the "in a .NET repository a bare dotnet test" example is cut. The generic rule against running an unconfirmed whole-tree test command stays.
  • F0288 (R11, K5), audit SKILL.md Phase 0: the StrykerJS inPlace pointer is cut, with no replacement.
  • F0298 (R11, K7), suppression.md sample entry: src/pricing.ts becomes the placeholder <repo-relative source path>, in the same style as the sample's <derived finding_id>.
  • F0299 (R11, K5), audit SKILL.md Remediation: the Hypothesis derandomize and fast-check pointers are cut, with no replacement. The generic pin-the-seed rule stays.
  • F0300 (R11, K7), persist-findings.md: the .py, .cs and Makefile examples are cut.

Whole page or part, per file: every changed file is a partial cut. No page is deleted.

Eval cases that read the cut text:

  • The audit evals.json case no_config_test_command reads F0287. Its expected output names a bare dotnet test on a .NET prompt.
  • The setup case evals/se-gradle-name-filter-notice exercises the runner-kind routing that F0282 changed: setup reads Gradle's name-filter kind from that section.
  • No existing case reads F0288, F0298, F0299 or F0300.

Eval (host session)

Not verified

  • Tidy skipped: the change touches scripts/docs-anchor-baseline.txt (a listed shared path, scripts/) and spans two areas, over the 1-area cutoff
  • Person check from the issue: the R11 script-reader searches are quoted in the run's summary, but a person still confirms them
  • No pointer to docs/contracts/ecosystem-resolution was added to the generic runner-kind text: mutation-testing ships no synced copy of that contract, and adding one is outside this part
  • Untracked runner dotfiles (.bashrc, .gitconfig, .idea, .vscode, .mcp.json and others) appeared in the lane's working tree; the run did not create them and they are not part of the change

Fix

  • plugins/mutation-testing/skills/audit/SKILL.md: cut the StrykerJS inPlace pointer (F0288) and the Hypothesis/fast-check pointers (F0299)
  • plugins/mutation-testing/skills/audit/context/tool-test-restriction.md: filter-forms rows replaced by the generic runner-kind rule, keeping the dotnet test row (F0282); the stryker-net row (F0281) and its "Running Stryker.NET on a test set" section unchanged from the base, plus the portability-ok: measured p17737-au-strykernet-restriction marker
  • plugins/mutation-testing/skills/audit/context/config-fallback.md: removed the .NET bare dotnet test example from the never-guess rule (F0287)
  • plugins/mutation-testing/skills/audit/context/suppression.md: sample entry surface src/pricing.ts replaced by <repo-relative source path> (F0298)
  • plugins/mutation-testing/skills/audit/context/persist-findings.md: dropped the .py/.cs/Makefile examples (F0300)
  • plugins/mutation-testing/skills/setup/SKILL.md: steps 2 and 6 now point at the runner kinds instead of the removed per-runner table rows
  • scripts/docs-anchor-baseline.txt: removed the audit SKILL.md and tool-test-restriction.md rows
  • .changes/mutation-testing/work-resolve-issue-issue-17733-44846665626-1-02f2e002.md: patch changelog fragment for mutation-testing (its F0281 bullet removed with the restore)

Verification

Related

#17733

🤖 Generated with Claude Code

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes melodic-automation-lanes Bot added the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Held for the before-and-after eval that cut item #17733 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17737 (incremental, c0322f9 → 01e4878)

I found no security issues. This lane already reviewed an earlier head, so this pass reported only CRITICAL and IMPORTANT findings. It found neither.

Scope. I read every hunk of both files that changed since c0322f9. Neither file matches a trusted-path glob. No plugin manifest, workflow, action, hook or trust control changed.

Instruction-surface lens. This push adds instructions back rather than removing them, so nothing is newly missing:

  • The restored section brings back the safeguards the previous review noted as removed: "The user's config file is never edited; delete the copy however the run ends", and "A non-zero exit refuses" for scripts/dotnet-test-selection.sh.
  • The section has the model write an untracked copy of the Stryker config. The copy holds the test-projects and test-case-filter values built from the helper script's output, and the model passes it with --config-file. That is the same local, user-initiated test run as before this PR, with no new input source and no off-machine effect.
  • I didn't consult the protected-class register for this pass; I judged the change by its consequences.

Embedded text. The PR context has no directives aimed at this lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, blocking only): no findings

This push came after c0322f91. It restores row F0281 after its eval loss, following the closing issue's R8 rule: on a loss without the row, "restore the row annotated portability-ok: measured <case-id>". I read both changed files, every hunk, in the incremental diff.

What I checked with Read and Grep:

  • Stryker.NET row in tool-test-restriction.md. The row matches the base text of main (the - line in the full diff), with one addition: `` in its Fetched cell. The no-coverage column reads yes again, as it does on `main`. The R8 annotation form is the one the issue asks for.
  • "Running Stryker.NET on a test set". The section is back. It no longer shows in the full PR diff, so it matches main. The row's #running-strykernet-on-a-test-set link has its target again. The scripts/dotnet-test-selection.sh reference it makes is unchanged.
  • Anchor baseline. The PR still removes the tool-test-restriction.md row from scripts/docs-anchor-baseline.txt. That still holds after the restore: every restored link is a stryker-mutator.io link with an anchor, or learn.microsoft.com/...#syntax.
  • Changelog fragment. The entry about the Stryker.NET row and its section is gone. That is right, because against main the only change left in that row is the HTML comment.

Author-claimed and unverified: the eval loss that triggered the restore, and the case id p17737-au-strykernet-restriction. The PR context file has no record of that eval, so I could not check either.

This lane reviewed an earlier head, so this review covered blocking findings only and leaves out advisory ones.

Loosened checks would be marked: fail. That is the default, because the prompt has no loosened_check_verdict: or loosened_check_patterns: line; patterns: 0. The prompt also has no loosened_check_decision_record: line, so I did not check the citation requirement. I found no loosening: the push restores a stricter-documented row as it was.

No plugin manifest changed.

Spend: nothing new. Any eval re-runs are the host session's, on prepaid usage.

Verifier dropped 0 of 0 candidates.

@kyle-sexton

Copy link
Copy Markdown
Member

Eval result for this pull request at head c0322f9 (eval-pr-17737b, sonnet, 3 runs a side). This is a status note, not a record line.

  • Validity: VALID.
  • F0282 cases: PASS. p17737-au-exercised-runner-forms and p17737-se-runner-kind-capability both scored 1.000 before and 1.000 after.
  • F0281 (R8): LOSS. p17737-au-strykernet-restriction fell from 1.000 to 0.000; all four graders went from 3/3 to 0/3. The trace read ties the drop to the cut Stryker.NET probe row.

Per issue #17733's R8 rule (a case drop without the row restores it), this session is restoring F0281 and the "Running Stryker.NET on a test set" section it links to, annotated portability-ok: measured p17737-au-strykernet-restriction, then re-running the eval at the new head. The pull request stays held under do-not-merge until that run's record.

…al loss

eval-pr-17737b measured F0281 with case p17737-au-strykernet-restriction:
1.000 before, 0.000 after the cut. Issue #17733's R8 rule restores a
measured row on a case drop, so the Stryker.NET row returns as it stood
at the base, marked portability-ok: measured
p17737-au-strykernet-restriction, with the "Running Stryker.NET on a
test set" section it links to. The changelog fragment drops the bullet
that described the cut.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member

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: not a pure cut. F0282 replaces the eight per-runner filter-form rows with a generic runner-kind rule at a routing site (audit Phase 0, setup steps 2 and 6); F0281 (R8) changes the Stryker.NET no-coverage column from yes to unknown and cuts the Running Stryker.NET section, so audit --exercised with Stryker.NET moves to the manual protocol by design; F0287, F0288, F0298, F0299, F0300 are pure cuts of examples and pointers. Measured: F0282 by both cases (vitest and pytest kinds and {tests} forms, Gradle name filter only), F0287 and F0281's surviving dotnet-test rules by p17737-au-exercised-runner-forms (no bare dotnet test, dotnet test {tests}), F0288 by the same case (StrykerJS regime resolved from the project's config; SKILL.md loaded). Loss-capable graders (their right answer came from a cut row on BEFORE): web-test-command-tests, web-kind-path-list, ledger-test-command-tests, ledger-kind-path-list. The rest read text unchanged on both sides and cannot show a loss: web-regime-manual, service-test-command, no-bare-dotnet-test, regime-from-config, billing-kind-name-filter, billing-exercised-refuses, billing-no-test-command, ledger-exercised-works. F0281 (R8) is measured by its targeted with-and-without case p17737-au-strykernet-restriction (BEFORE = with the probe row, AFTER = without): four graders on the regime, the option, NoCoverage and the coverage line, each stated before the run: with the row (BEFORE) each must pass in at least 2 of 3 runs, else the case shows nothing; without it (AFTER), a run that follows its text fails regime-tool-restriction, no-coverage-kept-yes and coverage-measured (3 of 3 expected) and may fail option-test-case-filter. Per issue #17733's R8 rule, a case drop or a mean fall of 0.15 or more without the row means F0281 is restored, annotated portability-ok: measured p17737-au-strykernet-restriction, and no record posts at this head. Unmeasured: F0298 (suppression.md sample path), F0299 (Hypothesis and fast-check pointers in Remediation), F0300 (persist-findings.md examples). Coordinator rule: if r-smoke/check-0.txt shows the BEFORE smoke never opened skills/audit/context/tool-test-restriction.md in either case, do not launch run-all (re-register).

  • New case p17737-au-exercised-runner-forms: no audit case asks how --exercised picks its runner form (evals.json is skill-creator format and does not run; au-no-test-command-asks grades the stop, not the form), so a rules-only case was written for this PR: a vitest plus StrykerJS web app and a dotnet test plus Stryker.NET service, planned without running anything; six regex graders, no llm grader, no Skill grader (slash prompt).

  • New case p17737-se-runner-kind-capability: se-gradle-name-filter-notice runs a full scaffolded apply with two llm graders (above the cost gate for a 3-a-side compare), so a rules-only setup case was written instead: a Gradle and a pytest repository, six regex graders, no Skill grader (slash prompt).

  • F0281 (R8, Stryker.NET probe): targeted with-and-without case p17737-au-strykernet-restriction (new, rules-only, four regex graders on the regime, option, NoCoverage and coverage line). Stated before the run: with the row each grader passes in at least 2 of 3; without it, a run following its text fails regime-tool-restriction, no-coverage-kept-yes and coverage-measured in 3 of 3. A drop restores F0281 under the issue's R8 rule.

  • In the two F0282 cases only four graders can show a loss (web-test-command-tests, web-kind-path-list, ledger-test-command-tests, ledger-kind-path-list: the vitest and pytest rows F0282 cut). The other eight read text unchanged on both sides.

  • Registered as eval-pr-17737b after the coordinator required F0281's targeted case: eval-pr-17737's smoke (2 cases, 0.479 USD, both VALID CONTINUE) ran first and is counted in spend only; its compare was never launched.

  • Unmeasured rows: F0298, F0299, F0300 (no case reaches the suppression sample, the Remediation seed pointers or the persist-findings examples).

  • Re-registered as eval-pr-17737c with only AFTER changed (and the registration name and copy paths): eval-pr-17737b read a VALID LOSS on p17737-au-strykernet-restriction (1.000 to 0.000), so the head restores F0281 and its Running Stryker.NET section verbatim from BEFORE, marked portability-ok: measured p17737-au-strykernet-restriction. Expected: that case no longer falls; the F0282 cases still pass.

  • 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: a2e02e0a3fa0457065b028a51718f426085ba1ec (merge base with main)

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

  • 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
p17737-au-exercised-runner-forms web-regime-manual 3/3 3/3
p17737-au-exercised-runner-forms service-test-command 3/3 3/3
p17737-au-exercised-runner-forms no-bare-dotnet-test 3/3 3/3
p17737-au-exercised-runner-forms regime-from-config 2/3 3/3
p17737-au-exercised-runner-forms web-test-command-tests 3/3 3/3
p17737-au-exercised-runner-forms web-kind-path-list 3/3 3/3
p17737-au-exercised-runner-forms mean case score 0.944 1.000
p17737-au-strykernet-restriction option-test-case-filter 3/3 3/3
p17737-au-strykernet-restriction regime-tool-restriction 3/3 3/3
p17737-au-strykernet-restriction no-coverage-kept-yes 3/3 3/3
p17737-au-strykernet-restriction coverage-measured 3/3 3/3
p17737-au-strykernet-restriction mean case score 1.000 1.000
p17737-se-runner-kind-capability billing-kind-name-filter 3/3 3/3
p17737-se-runner-kind-capability billing-exercised-refuses 3/3 3/3
p17737-se-runner-kind-capability billing-no-test-command 3/3 3/3
p17737-se-runner-kind-capability ledger-exercised-works 3/3 3/3
p17737-se-runner-kind-capability ledger-test-command-tests 3/3 3/3
p17737-se-runner-kind-capability ledger-kind-path-list 3/3 3/3
p17737-se-runner-kind-capability 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:

  • p17737-au-exercised-runner-forms before: opened skills/audit/context/tool-test-restriction.md in 3 of 3 runs
  • p17737-au-exercised-runner-forms after: opened skills/audit/context/tool-test-restriction.md in 3 of 3 runs
  • p17737-au-strykernet-restriction before: opened skills/audit/context/tool-test-restriction.md in 3 of 3 runs
  • p17737-au-strykernet-restriction after: opened skills/audit/context/tool-test-restriction.md in 3 of 3 runs
  • p17737-se-runner-kind-capability before: opened skills/audit/context/tool-test-restriction.md in 3 of 3 runs
  • p17737-se-runner-kind-capability after: opened skills/audit/context/tool-test-restriction.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):

  • F0282 (skills/audit/context/tool-test-restriction.md, case p17737-au-exercised-runner-forms): opened in 3 of 3 before, 3 of 3 after runs
  • F0288 (skills/audit/SKILL.md, case p17737-au-exercised-runner-forms): measured; the file is loaded with the skill or agent, never opened, so no open count applies
  • F0281 (skills/audit/context/tool-test-restriction.md, case p17737-au-strykernet-restriction): opened in 3 of 3 before, 3 of 3 after runs
  • F0282 (skills/audit/context/tool-test-restriction.md, case p17737-se-runner-kind-capability): opened in 3 of 3 before, 3 of 3 after runs

Rows these runs did not measure:

  • F0287 (skills/audit/context/config-fallback.md, case p17737-au-exercised-runner-forms): opened in 0 of 3 before, 0 of 3 after runs: below the measured line

Verdicts:

  • verdict p17737-au-exercised-runner-forms (audit): PASS (no loss: after 1.000, before 0.944)
  • verdict p17737-au-strykernet-restriction (audit): PASS (no loss: after 1.000, before 1.000)
  • verdict p17737-se-runner-kind-capability (setup): PASS (no loss: after 1.000, before 1.000)

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

The cases live outside the repository; their full text:

The 3 cases: prompt.md and case.yaml

p17737-au-exercised-runner-forms

prompt.md:

---
description: "Written for PR 17737 (rows F0281, F0282, F0287, F0288): asked, before anything runs, how audit --exercised would run in a repository with a TypeScript web app (vitest, StrykerJS) and a .NET service (xUnit under dotnet test, Stryker.NET), the reply reads the runner and regime rules, names vitest a path-list runner with a {tests} test-command, keeps dotnet test to a project argument, and resolves StrykerJS's restoration regime from the project's config"
tags: [audit, exercised, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run. The reply says StrykerJS's own test restriction is not used (its no-coverage column is unknown), so the web app runs under the manual protocol with a vitest test-command carrying {tests} as a path list; the .NET service's test-command is dotnet test {tests}, run per test project, never a bare dotnet test; the StrykerJS restoration regime is resolved from what the project configured. It ends with the six fixed lines."
---

/mutation-testing:audit

Our monorepo has two parts: `web/` is a TypeScript app tested with vitest, mutation-tested with StrykerJS; `orders-service/` is a .NET 8 service with xUnit test projects run by `dotnet test`, mutation-tested with Stryker.NET. Nothing is configured for mutation testing yet. Next sprint I want to run the audit with `--exercised` on the tests each PR changes.

Don't run anything, install anything or research online yet; you can use what you already know about how these test runners take a selection of tests. For each part, tell me whether `--exercised` would use the mutation tool's own test restriction or your manual protocol and why, what `test-command` the config should carry, and whether that runner takes test file paths or only name filters. Also tell me where you would decide StrykerJS's restoration regime from (out of tree, whole-file rewrite, or per-mutant apply and revert), and whether you would ever run a plain `dotnet test` with no project argument for the baseline.

End with exactly these six lines:

WEB_REGIME: <tool restriction or manual protocol>
WEB_KIND: <path list, name filter only, or unknown>
WEB_TEST_COMMAND: <the test-command value>
SERVICE_TEST_COMMAND: <the test-command value>
BARE_DOTNET_TEST: <yes or no, then why in a few words>
STRYKERJS_REGIME_FROM: <where you resolve it from, in a few words>

case.yaml:

schema_version: "1.1"
name: p17737-au-exercised-runner-forms
plugins: ["../.."]
graders:
  - name: 'web-regime-manual'
    type: 'regex'
    pattern: '^[\W_]*WEB_REGIME[*_]*:[\W_]*manual\b'
    flags: 'im'
    target: 'last_message'
  - name: 'service-test-command'
    type: 'regex'
    pattern: '^[\W_]*SERVICE_TEST_COMMAND[*_]*:[^\n]*dotnet test[^\n]*\{tests\}'
    flags: 'im'
    target: 'last_message'
  - name: 'no-bare-dotnet-test'
    type: 'regex'
    pattern: '^[\W_]*BARE_DOTNET_TEST[*_]*:[\W_]*no\b'
    flags: 'im'
    target: 'last_message'
  - name: 'regime-from-config'
    type: 'regex'
    pattern: '^[\W_]*STRYKERJS_REGIME_FROM[*_]*:[^\n]*config'
    flags: 'im'
    target: 'last_message'
  - name: 'web-test-command-tests'
    type: 'regex'
    pattern: '^[\W_]*WEB_TEST_COMMAND[*_]*:[^\n]*vitest[^\n]*\{tests\}'
    flags: 'im'
    target: 'last_message'
  - name: 'web-kind-path-list'
    type: 'regex'
    pattern: '^[\W_]*WEB_KIND[*_]*:[\W_]*path[ -]list'
    flags: 'im'
    target: 'last_message'

p17737-au-strykernet-restriction

prompt.md:

---
description: "Written for PR 17737 (row F0281, R8): the targeted with-and-without case for the Stryker.NET restriction row. Asked, before anything runs, how audit --exercised would run on a .NET service already configured for Stryker.NET, the reply reads the restriction table's Stryker.NET row and says whether the tool's own test-case-filter restriction is used, whether NoCoverage survives it, and whether the report's coverage is measured or unknown"
tags: [audit, exercised, r8, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run. With the Stryker.NET row reading yes (the probe), the reply uses Stryker.NET's own test-case-filter restriction, says mutants the changed tests do not reach stay NoCoverage, and says the report's coverage and gap come from the tool. Without the row's probe (unknown), it uses the manual protocol and coverage and gap print unknown. It ends with the four fixed lines."
---

/mutation-testing:audit

`orders-service/` is a .NET 8 service with two xUnit test projects run by `dotnet test`. Mutation testing is already set up for it: Stryker.NET 5 with a `stryker-config.json` (coverage-analysis perTest), and our mutation-testing config sets `test-command: dotnet test {tests}`. Next sprint I want to run the audit with `--exercised` on the tests each PR changes.

Don't run anything, install anything or research online yet; you can use what you already know about Stryker.NET and dotnet test. Tell me whether `--exercised` will run Stryker.NET restricted to the changed tests with its own option, or your manual protocol, and why; whether a mutant that none of the changed tests reach would be reported as NoCoverage; and whether the report's coverage and gap lines will carry measured values or read unknown.

End with exactly these four lines:

REGIME: <Stryker.NET's own restriction or manual protocol>
RESTRICTION_OPTION: <the Stryker.NET option you would set, or none>
NO_COVERAGE_KEPT: <yes, no or unknown>
COVERAGE_LINE: <measured or unknown>

case.yaml:

schema_version: "1.1"
name: p17737-au-strykernet-restriction
plugins: ["../.."]
graders:
  - name: 'option-test-case-filter'
    type: 'regex'
    pattern: '^[\W_]*RESTRICTION_OPTION[*_]*:[^\n]*test-case-filter'
    flags: 'im'
    target: 'last_message'
  - name: 'regime-tool-restriction'
    type: 'regex'
    pattern: '^[\W_]*REGIME[*_]*:[\W_]*(?:Stryker(?:\.NET)?(?:''s)?\s+(?:own|restrict)|(?:the\s+)?tool(?:''s)?\s+(?:own\s+)?restriction|own\s+restriction)'
    flags: 'im'
    target: 'last_message'
  - name: 'no-coverage-kept-yes'
    type: 'regex'
    pattern: '^[\W_]*NO_COVERAGE_KEPT[*_]*:[\W_]*yes\b'
    flags: 'im'
    target: 'last_message'
  - name: 'coverage-measured'
    type: 'regex'
    pattern: '^[\W_]*COVERAGE_LINE[*_]*:[\W_]*measured\b'
    flags: 'im'
    target: 'last_message'

p17737-se-runner-kind-capability

prompt.md:

---
description: "Written for PR 17737 (row F0282 and setup steps 2 and 6): asked, before apply, what audit --exercised and the cleanup mutation gate can do for a Gradle (JUnit 5) project and a pytest project, the reply reads the runner kinds, names Gradle name-filter-only with no test-command proposed and pytest a path-list runner with a {tests} test-command"
tags: [setup, runner-kind, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run. The reply says Gradle selects tests only by name (--tests), so audit --exercised refuses and /testing:cleanup's mutation gate offers only its cannot-fail-only mode, and proposes no test-command for it; pytest takes test file paths, so its test-command is a pytest command with {tests} and both features work. It ends with the six fixed lines."
---

/mutation-testing:setup

I'm about to run setup apply on two of our repositories and want to know what I'll get first. `billing` is a Java project built with Gradle, JUnit 5 tests run by `gradle test`. `ledger` is a Python package whose tests run with pytest. Both will use the mutation tool you'd normally propose for them.

Don't run anything, install anything or research online yet; you can use what you already know about how these test runners take a selection of tests. For each repository, tell me whether `audit --exercised` and `/testing:cleanup`'s mutation gate will work, whether its runner takes test file paths or only name filters, and what `test-command` you would propose, if any.

End with exactly these six lines:

BILLING_KIND: <path list, name filter only, or unknown>
BILLING_EXERCISED: <works or refuses>
BILLING_TEST_COMMAND: <the proposed value, or none>
LEDGER_KIND: <path list, name filter only, or unknown>
LEDGER_EXERCISED: <works or refuses>
LEDGER_TEST_COMMAND: <the proposed value, or none>

case.yaml:

schema_version: "1.1"
name: p17737-se-runner-kind-capability
plugins: ["../.."]
graders:
  - name: 'billing-kind-name-filter'
    type: 'regex'
    pattern: '^[\W_]*BILLING_KIND[*_]*:[\W_]*name[ -]filter'
    flags: 'im'
    target: 'last_message'
  - name: 'billing-exercised-refuses'
    type: 'regex'
    pattern: '^[\W_]*BILLING_EXERCISED[*_]*:[\W_]*refuse'
    flags: 'im'
    target: 'last_message'
  - name: 'billing-no-test-command'
    type: 'regex'
    pattern: '^[\W_]*BILLING_TEST_COMMAND[*_]*:[\W_]*none\b'
    flags: 'im'
    target: 'last_message'
  - name: 'ledger-exercised-works'
    type: 'regex'
    pattern: '^[\W_]*LEDGER_EXERCISED[*_]*:[\W_]*works?\b'
    flags: 'im'
    target: 'last_message'
  - name: 'ledger-test-command-tests'
    type: 'regex'
    pattern: '^[\W_]*LEDGER_TEST_COMMAND[*_]*:[^\n]*pytest[^\n]*\{tests\}'
    flags: 'im'
    target: 'last_message'
  - name: 'ledger-kind-path-list'
    type: 'regex'
    pattern: '^[\W_]*LEDGER_KIND[*_]*:[\W_]*path[ -]list'
    flags: 'im'
    target: 'last_message'

Posted by an agent session.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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 01e487857f8f78bd5791186d5fe783953ddf7428: #17737 (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
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 01e487857f8f78bd5791186d5fe783953ddf7428, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: unrated reason=pending

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit c1abb32 Nov 21, 2026
86 of 87 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17733-44846665626-1 branch November 21, 2026 03:38
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit c1abb32023077f9dc3f97de23995746485f5821d; later checks count it verified from this comment.

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.

Cut the model-read ecosystem specifics from mutation-testing: the audit skill

1 participant