Skip to content

feat(mutation-testing): accept any mutation tool id and name one with no shipped adapter - #16229

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16061-43638574524-1
Nov 14, 2026
Merged

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

Conversation

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

Closes #16061

Summary

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

The mutation-testing team-layer schema's tool key changes from a closed enum to a non-empty string, so tool: cargo-mutants validates. manual keeps its reserved meaning. The config template now lists the six shipped adapter ids and says any other id is accepted. /mutation-testing:audit keeps the layer that sets an unlisted id, names the id on its Config: line as no shipped adapter, refuses to run it and offers tool: manual on the same terms as Tool unavailable. The refusal follows from the write regime: with no tooling.md row, Phase 0 cannot resolve the tool's write regime, so it cannot rule out an in-tree write it has no gate for. /mutation-testing:setup check reports such an id as INFO. This is part 2 of 4 of #15710 and covers AC8 only, the mutation-testing adapter. The code-metrics, dead-code, bash-harness and id-list parts belong to the sibling parts.

The run went past its turn budget (turns=85 max-turns=75): the work may be too big for one run.

Not verified

  • plugins/mutation-testing/tests/config-schema.test.sh was not executed: this lane's Bash runs only the named wrappers, so no bash or node test run was possible. Left to the PR's CI (scripts/run-plugin-tests.sh).
  • The two-version skill-text compare and eval batches that #15710's Method names were not run. That compare is a separate done-when item of the parent (one of its sibling parts), and this lane cannot run evals.
  • Tidy pass 5 (ai-slop): the deterministic detector detect.sh was not run because lane permissions do not allow it. The changed markdown was read by hand against the catalog instead, with no findings.
  • Tidy pass 1 proposal, not applied: the test's inline fits helper also checks integer and array types that no case uses. Removing them would change which inputs it accepts.
  • Verify, build and lint beyond the repository checks: no build applies to markdown and JSON, and the markdownlint step inside check-changed-skills was skipped by its own setting (CHECK_SKILL_SKIP_MARKDOWNLINT=1).
  • Found outside this change, not fixed: config-template.md says verification defaults to standard, but the schema says light.

Fix

  • plugins/mutation-testing/schemas/mutation-testing.schema.json: tool changes from an enum to type: string, minLength: 1. The former list moves to examples, and the description names the shipped adapters, the no-adapter behavior and the reserved manual.
  • plugins/mutation-testing/skills/setup/templates/config-template.md: the tool: comment lists the shipped adapter ids, says any other id (cargo-mutants) is valid but has no shipped adapter, and keeps manual reserved.
  • plugins/mutation-testing/skills/audit/context/config-fallback.md: new section, Tool with no shipped adapter, placed before Tool unavailable and applied first. It names the six shipped ids. For any other id but manual, the audit keeps the layer, says no shipped adapter on the Config: line, refuses to run the tool and offers tool: manual, without probing whether the tool is installed or offering an install. Tool unavailable now applies only to a tool with a shipped adapter.
  • plugins/mutation-testing/skills/audit/SKILL.md: the Phase 0 Config bullet adds the no-adapter rule ahead of Tool unavailable and points to config-fallback.md for it.
  • plugins/mutation-testing/skills/setup/SKILL.md: check step 6 reports a tool id with no shipped adapter as INFO, and the layer still counts. Steps 2 and 3 report as not run for such an id, pointing to step 6, so check never guesses a version command or names an install for it.
  • plugins/mutation-testing/tests/config-schema.test.sh: new suite. tool: cargo-mutants, manual and stryker-js validate. An empty tool, a non-string tool and an unknown key are refused. It also checks that tool has no closed list and that the audit names a no-adapter tool. A node pass always runs,…
  • .changes/mutation-testing/work-resolve-issue-issue-16061-43638574524-1-2598a62e.md: minor changelog fragment for the change.

Verification

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

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 6 fragments valid (run after the edits, after tidy and after the review fixes)
  • check-changed-skills: audit and setup PASS, 0 errors. The warnings (description length, body size, body grew by 2 lines) predate this change or come from its added lines; audit SKILL.md is at 499/500 lines.
  • check-affected: 15 passed, 6 skipped over 7 changed files, run three times
  • fresh-context review subagent over the whole diff: no high or medium findings. The three low findings are fixed: the rule names the six ids instead of tooling.md display names, the test uses portable mktemp -d with a fixed file name, and a refusal exits 3 so a node crash cannot pass for one.
  • tidy (code-tidying:tidy-diff): cut one no-op sentence from config-fallback.md and made no code edits
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43638574524
  • Review-feedback round (no-adapter rule ordered before the install probe and Tool unavailable): checked by reading the code only, with no command run. CI checks the new head after the push. The audit SKILL.md Phase 0 bullet keeps its line count, so the file stays at 499/500 lines.

Left out: the items under Not verified.

Related

#16061

Lane-Activity: work-resolve-issue/resolve-issue

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on bd49eb40b4e303c932d7e8dc51a94bc40842f0cf; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #16229, incremental (bd49eb4 → 4b2d8c1)

I reviewed only the changes since bd49eb40, in 3 files. All 3 diffs were read in full: plugins/mutation-testing/skills/audit/SKILL.md, plugins/mutation-testing/skills/audit/context/config-fallback.md and plugins/mutation-testing/skills/setup/SKILL.md. This lane already reviewed an earlier head, so this pass reports blocking findings only.

Result: no blocking findings. This push fixes the ordering problem from this lane's earlier advisory finding (that thread is now settled), and it fixes it consistently in all three places:

  • config-fallback.md: "Tool with no shipped adapter" now comes first. It says to apply it before Tool unavailable and never to check whether the tool is installed (L40-L53). "Tool unavailable" now applies only to tools that have a shipped adapter (L55-L61).
  • Audit Phase 0: the Config bullet uses the same order and says "checked first, installed or not", with no install offer (L190-L193).
  • Setup check: for an id with no shipped adapter, probe 2 now reports itself and probe 3 as not run and points to probe 6. It no longer guesses a version command or gives an install line (L73-L76). That matches the INFO row in probe 6.

Neither section heading changed, so existing anchors and the schema test's grep for no shipped adapter still match.

Closing issue #16061 (AC8): still met. With this push, an unadapted id that is not installed now gets the no shipped adapter refusal instead of an install offer. As before, that half of AC8 lives in skill text, and the only test on it is the suite's grep.

Unverified: the PR says this round was checked by reading the code only, with no command run. I ran nothing either; CI runs the new test suite.

Plugin manifests are unchanged in this push. The PR context contains no embedded instructions.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #16229 (incremental, bd49eb4 → 4b2d8c1)

No security issues found. This was an incremental review, and because this lane already reviewed an earlier head, it reported blocking findings only. I read every hunk of all 3 changed files in the incremental diff. None of them is on a trusted path, and none is a plugin manifest, workflow, token-scope or trust-control file.

What I checked

  • Order of the audit's Phase 0 rules (plugins/mutation-testing/skills/audit/SKILL.md, skills/audit/context/config-fallback.md): the no-shipped-adapter rule now runs before Tool unavailable. It says "never probe whether the tool is installed" and gives an unlisted id no install offer. Tool unavailable now applies only to a tool with a shipped adapter.
    • Instruction-surface lens: the narrowed rule's guarantees still apply to unlisted ids, because the no-adapter section restates them: install nothing, never guess the test command, and stop an unattended run with the id and the tool: manual offer. The change removes no guardrail. It takes away the install and probe step for an arbitrary, config-supplied tool id, which lowers the chance of the model installing or running a package named only by config.
  • Setup check probe 2 (skills/setup/SKILL.md): for an id with no shipped adapter, probes 2 and 3 now report as not run instead of guessing a version command or install line. This means no command made up from a free-form tool value is run. This narrows what runs, so it is not a finding.

Prior findings: the earlier review of bd49eb4 reported 0 findings, so nothing carries over. There were no settled threads to apply.

Embedded text: the PR context contains no instructions aimed at the review.

Spend: nothing in this change can bill the owner. It is prose only.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43640291410

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM63i1ii
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 4b2d8c1
Run 43640291410

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 4b2d8c1.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 43640291410

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4b2d8c165c2dde4e310e70cf6c7be572f406c897, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 4b2d8c1

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16229-4b2d8c165c2dde4e310e70cf6c7be572f406c897, expires on 2026-12-14.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=4b2d8c165c2dde4e310e70cf6c7be572f406c897 rubric=9.2.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 08fcb90 Nov 14, 2026
64 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16061-43638574524-1 branch November 14, 2026 21:23
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 08fcb9062e1b34a8e2520478cac47a808a84bb4f; 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.

Accept any recorded or inferred ecosystem id and any mutation tool value - part 2 of 4

0 participants