Skip to content

feat(mutation-testing): name the runner's supported scopes at setup's tool proposal - #10508

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-9690-40563832264-1
Oct 27, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9690

Summary

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

/mutation-testing:setup apply step 2 now says what the detected test runner supports in the same message as the tool proposal, before the diff-target question, so the user can stop early. A path-list runner or dotnet test supports audit --exercised and /testing:cleanup's mutation gate. A name-filter-only runner (Maven -Dtest, Gradle --tests) or an unlisted one supports neither, while the diff, --full and --paths scopes still work. check step 3 reports the same thing as an INFO row, and a new eval case with a Gradle fixture expects the notice before the diff-target question.

Not verified

  • Done-when 3, bash scripts/affected-tests.sh --run, was not run as written: this lane runs only its named wrappers. check-affected ran in its place and passed.
  • The awk|grep and python3 done-when commands were not run, since pipes and interpreters are not allowed in this lane; both were checked by reading the files instead.
  • evals-schema, orphaned-fixtures, line-citations and the other checks listed as CI only are left to the PR's CI. The new fixture files are each listed in case 9's files[] to satisfy orphaned-fixtures.
  • No paid eval run of case 9; the issue scopes this slice to a statically valid case.
  • Build/test/lint: the change is skill prose, eval JSON and fixtures, with no build step. No mutation-testing script changed, so no script test was owed beyond check-affected.

Fix

  • plugins/mutation-testing/skills/setup/SKILL.md: apply step 2 names the runner's capabilities, reading the runner's kind from the audit skill's tool-test-restriction.md; check step 3 adds the matching INFO row; apply step 6 now points back to step 2 instead of repeating the refusal notice
  • plugins/mutation-testing/skills/setup/evals/evals.json: new case id 9 (Gradle project) expecting the capability notice in step 2, before the diff-target question, and no test-command proposal
  • plugins/mutation-testing/skills/setup/evals/fixtures/gradle-project/{settings.gradle,build.gradle,src/main/java/shop/Discount.java,src/test/java/shop/DiscountTest.java}: minimal synthetic Gradle/JUnit project the new case uses, each file listed in the case's files[]
  • .changes/mutation-testing/feat-9690-setup-runner-capabilities-a4d17c93.md: minor-bump changelog fragment (written by hand because new-changelog-fragment refuses on a detached HEAD)

Verification

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

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

The run reports:

  • .lane/checks/bin/check-changelog-fragments: All 4 changelog fragment(s) under .changes/ are valid
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped over 7 changed files (skips are checks that run code from the checked tree, plus typos, which is not installed)
  • .lane/verify/bin/check-evals-quality on setup/evals/evals.json: PASS, exit 0; the 5 Q4 warnings are on cases 2, 5 and 6, which this change does not touch, and none is on case 9
  • Done-when 1 by reading the file: apply step 2 (SKILL.md:134-145), which runs up to the 'Settle the diff target' line, names Gradle --tests
  • Done-when 2 by reading the file: eval case 9's prompt, expected_output and files name Gradle
  • Local review by a fresh-context subagent: it confirmed that the diff/--full/--paths scopes need no test-command (audit/SKILL.md:185-217) and that cleanup falls back to cannot-fail-only when test-command is missing (cleanup/SKILL.md:90,98-101); its four confirmed findings were fixed (tie the refusal
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40563832264

Left out: the items under Not verified.

Related

#9690

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

Copy link
Copy Markdown
Contributor

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

No security issues found in this pull request.

The change is skill prose, an eval case, a synthetic Gradle fixture and a changelog fragment. I read the full diff and the PR context.

  • No file matches a trusted path. No trust control, plugin manifest (plugin.json or marketplace.json), userConfig key, hook, or MCP/LSP server definition is touched.
  • plugins/mutation-testing/skills/setup/SKILL.md adds a capability notice to apply step 2 and an INFO row to check step 3. The old step 6 sentence saying audit --exercised refuses for name-filter runners now points back to step 2. The new text still says to propose, never install, and to ask before installing a dependency, so the user-consent rule is kept. The refusal behavior is not weakened, and the new text says cleanup still needs a path-list test-command. Nothing is dropped from the instruction surface that a hook or validator would otherwise have to enforce.
  • The fixture build.gradle pins junit-jupiter:5.11.3. The fixture is only data for an eval, and nothing in the diff executes it.
  • The PR context contains no embedded instructions aimed at the review lane.

manifest fields: none hit.
critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

No findings. The change is skill prose, one eval case, a Gradle fixture and a changelog fragment, and I found nothing to block or flag.

I read the full diff and the PR context. I also read the files the new prose points to: audit/context/tool-test-restriction.md, the Phase 0 runner rules in audit/SKILL.md, and the check and apply sections of setup/SKILL.md. I ran nothing, so the PR's own verification claims (check-affected, check-evals-quality, the lane's subagent review) are author-claimed and unverified by me.

Closing issue #9690:

  • apply step 2: it now names the runner's capabilities in the tool-proposal message, before the diff-target question, and names Maven -Dtest and Gradle --tests. This meets the first scope item and the first done-when.
  • check step 3: it adds the INFO row.
  • Eval case 9: it uses a Gradle fixture, expects the notice before the diff-target question, and expects no test-command proposal. This meets the second done-when. The four fixture files exist, and their evals/fixtures/... paths match the repo's convention in justify/evals/evals.json.
  • Changelog: a fragment is present.
  • Third done-when (bash scripts/affected-tests.sh --run): I did not run it. The PR says it was not run as written, and check-affected ran in its place and passed (author-claimed).

Accuracy of the new prose against the sources:

  • Table reference: the "test-command filter forms" heading exists in tool-test-restriction.md. It lists Maven and Gradle as "name filter only", and the path-list and dotnet test rows match the claims.
  • --exercised refusal: it agrees with audit/SKILL.md:116-123. A name-filter-only runner refuses unless the tool's own restriction reads yes, and no JVM tool is probed.
  • Cleanup behaviour: the "cannot-fail-only" claim relies on cleanup/SKILL.md:90, which I only grepped. Treat it as author-claimed.
  • Wording: setup/SKILL.md:142-143 says such a runner "supports neither" and then adds the yes exception. This is a harmless wording looseness, because the exception cannot apply to any runner listed today. It is not worth blocking.

Manifest: no plugin.json or marketplace.json changes, so there are no manifest lines. The fragment's bump: minor suits a behaviour addition to a skill.

Cost: no billing-relevant change. The new eval case would spend only prepaid or subscription usage if run, and the PR says it was not run.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 9a9b457 Oct 27, 2026
44 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9690-40563832264-1 branch October 27, 2026 19:24
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.

feat(mutation-testing): tell the user up front when setup's runner has no exercised path

0 participants