Skip to content

feat(mutation-testing): read the personal override from docs conventions mutation-testing.local.yaml - #18084

Merged
melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-18014-44964541536-1
Nov 22, 2026
Merged

melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-18014-44964541536-1

Conversation

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

Closes #18014

Summary

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

The mutation-testing personal override moves from .claude/mutation-testing.local.md to docs/conventions/mutation-testing.local.yaml, the personal layer in the config-cascade contract (docs/contracts/config-cascade/README.md, 'The layers' and 'Personal override naming'). The YAML form follows the contract's rule that a structured surface's personal channel is <home>/<concern>.local.yaml, and the path sits beside the team file the plugin already reads. During the dual-read window the old file still supplies the personal layer when no new file exists. With both present, the new file wins and each old key is named as overridden or not applied. Every check, apply and audit run prints one WARN line naming the old file, the new location and /mutation-testing:setup apply local. setup apply (team or local) moves the old file after a preview and a yes, reads the new file back to confirm the values match, then deletes the old file. Two decisions, with their basis: (1) the arid suppression record .claude/mutation-testing-arid.md stays where it is, because the contract's 'Declared team-layer paths' table lists it as a finding-suppression record outside the settings' location axis, and the issue puts its lint comment out of scope. (2) The dual-read works per layer, not per key, matching the criterion 'its values still apply where no new-layer file supplies that layer'.

Not verified

  • Tidy skipped: the change touches 24 files, over the tidy cutoff of 10.
  • The three new eval cases were not executed: they need a model run with --scaffold. The PR's CI and the eval runner cover them, and eval-cases schema validation runs in CI only.
  • check-affected skipped typos (not installed), comment-hygiene (sandbox denied the fetch) and size-check (script absent in the lane). Left to the PR's CI.
  • The repository's own post-merge mutation lane (.github/scripts/post-merge-test-mutation/set-diff-target.sh and generate.prompt.md, plus the comment in docs/conventions/mutation-testing.yaml) still writes .claude/mutation-testing.local.md. The dual-read keeps it working, with the warning, until a…
  • The new scaffold.sh files were created without the executable bit (no chmod in this lane). Sibling cases are run through bash via context.scaffold_script.

Fix

  • plugins/mutation-testing/skills/setup/SKILL.md: the merge model names docs/conventions/mutation-testing.local.yaml as the personal layer and defines the dual-read rules and the warning line, including the exact suffix the line ends with when both personal files are present: (docs/conventions/mutation-testing.local.yaml won). Probe 6 reports the old file as INFO and prints the warning. Probe 9 covers the new file. Step 10 and apply local name the new path. Moving the old personal file previews, asks, writes, reads back and deletes the old file. A declined or unattended move ends apply local without writing, so a new file never hides old keys the user did not carry over.
  • plugins/mutation-testing/skills/setup/templates/config-template.md: the personal override path is now docs/conventions/mutation-testing.local.yaml.
  • plugins/mutation-testing/README.md: names the new personal override path and says the old file is still read, with a warning, until apply local moves it.
  • plugins/mutation-testing/skills/audit/SKILL.md: the Config check prints the merge model's warning line when the old personal file exists.
  • plugins/mutation-testing/skills/audit/context/several-repositories.md: the per-repository personal file is the new path, or the old one with its warning.
  • plugins/mutation-testing/evals/se-personal-yaml-layer/ (case.yaml, scaffold.sh, samples/narrow-from-personal.json, samples/no-write.json, samples/no-edit.json): new eval case for the new layer only. operators: narrow comes from the YAML file, with no old-path warning.
  • plugins/mutation-testing/evals/se-old-personal-file-dual-read/ (case.yaml, scaffold.sh, samples/warns-old-file.json, samples/no-write.json, samples/no-edit.json): new eval case for the old file only. Its values apply, and the WARN line names the old file, the new location and apply local.
  • plugins/mutation-testing/evals/se-both-personal-files-new-wins/ (case.yaml, scaffold.sh, samples/warns-both.json, samples/no-write.json, samples/no-edit.json): new eval case for both files present. The new file wins, the WARN line names both and ends with the fixed suffix saying the new file won, and the old max-mutants is named as not applied.
  • plugins/mutation-testing/evals/se-apply-proposes-tool-writes-config/case.yaml: the LLM criterion expects the new personal override path.
  • plugins/mutation-testing/evals/se-apply-user-layer-no-repo-write/case.yaml: the criterion now says 'no personal override file' instead of naming the old .local.md.
  • plugins/mutation-testing/skills/audit/evals/evals.json: two prompts now say 'no personal override file' instead of naming the old .local.md.
  • .changes/mutation-testing/work-resolve-issue-issue-18014-44964541536-1-f70024d0.md: minor changelog fragment describing the move, the dual-read window and the migration.

Verification

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

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

The run reports:

  • check-changelog-fragments: all 3 fragments under .changes/ valid (run before and after the review fixes)
  • check-changed-skills: audit and setup PASS, 0 errors; the warnings are size and description-length advisories
  • check-affected: 15 passed, 8 skipped over 24 changed files (skips: typos not installed, comment-hygiene fetch denied by the sandbox, size-check script absent, checks that run the checked tree's own code)
  • check-evals-quality plugins/mutation-testing/skills/audit/evals/evals.json: PASS; the 6 warnings are on cases this change did not touch
  • Fresh-context review subagent over the whole diff: 5 findings, all confirmed and fixed (arid-draft ignore line kept in step 10, one overridden/not-applied rule in the merge model, probe 6 and the move preview, the move's check-ignore step stated for both layers, warns-both regex now requires 'won'…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44964541536

Left out: the items under Not verified.

Related

#18014

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 44968130657, attempt 1

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

Failed GitHub API calls

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

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/fix-ci

Run 44971634708, attempt 1

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

Failed GitHub API calls

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

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-patch

Run 44971634708, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 5c3e439
Run 44971634708

Failed GitHub API calls

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

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #18084, incremental since e26384af828948c465abb321aff0f904858b1c5c

I found no security issues in this push. Only blocking findings were in scope: this lane already reviewed an earlier head, so the review covered CRITICAL and IMPORTANT findings only.

Scope. One file changed: plugins/mutation-testing/skills/setup/SKILL.md. I read all three of its hunks in the incremental diff. It matches no trusted-path glob, and it touches no plugin manifest, workflow, action, hold script or trust control.

What changed and what I checked:

  • The warning line (around L44). The prose now gives the exact suffix the line ends with when both personal files are present: (docs/conventions/mutation-testing.local.yaml won). This only changes what is printed. It adds no input path and no command.
  • apply local when the move is declined (around L258 and L310). If the user declines the move, or the run is unattended, apply local now stops and writes nothing. Before, it could write a new YAML file beside the old one. That made the skill stricter, not looser: it writes less without the user's consent, and its effect on the personal layer is easier to predict. apply team goes on to its own writes and leaves the personal layer as it was. The steps that gate writing are unchanged: preview, ask, then git check-ignore with the offer to add the ignore line.
  • Instruction-surface lens. No standing instruction was deleted or softened. The only change adds a restriction.
  • PR context. It contains no instructions aimed at the review lane.

Prior findings. The earlier summary comment reported no findings, so there is nothing to carry forward.

critical-findings: 0

@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: 2 inline finding(s) on e26384af828948c465abb321aff0f904858b1c5c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, blocking only): e26384a..5c3e439

I read the whole incremental diff. It changes one file, plugins/mutation-testing/skills/setup/SKILL.md. I also read the head SKILL.md around the warning template and the se-both-personal-files-new-wins grader and samples. This lane already reviewed an earlier head, so this review reports blocking findings only.

Both earlier findings are fixed:

  1. warns-both grader wording. SKILL.md:44-45 now gives an exact suffix for the warning line: a space and (docs/conventions/mutation-testing.local.yaml won) after apply local. That fits the grader's pattern in case.yaml:17, which ends in \bwon\b, and the passing sample in samples/warns-both.json:4. A correct reply no longer has to guess the wording.
  2. apply local after a declined move. SKILL.md:258-260 now says that when the move is declined, or the run is unattended, apply local stops and writes nothing. It also gives the reason: a partial YAML file would hide the old file's keys. Step 2 of "Moving the old personal file" (SKILL.md:309-311) says the same, and says apply team goes on without touching the personal layer. The two sections agree.

The change adds no new blocking problem. Nothing tests the stop on a declined move, because the three eval cases run only check. The closing issue's eval criterion asks only for the read cases, so I don't count this as a finding.

The incremental diff touches no plugin manifest, paved-path entry, grader or prompt, so the loosened-check criterion has nothing to judge. The prompt had no loosened_check_* lines, so I used the default. Loosened checks would be marked: fail (default; no consumer layers); patterns: 0. The citation requirement was not checked.

I found no embedded instructions in the PR context or the prior-findings data.

I dispatched no verifier subagent.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback

Run 44970193495, attempt 1

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

Failed GitHub API calls

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

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch

Run 44970193495, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 8a48072
Run 44970193495

Failed GitHub API calls

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 8a48072f39515d340aa51fad296e1ae49abcc350. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback

Run 44970193495, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44970193495

Failed GitHub API calls

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 5c3e4391142568770223a21e361d29ff85bea6ea, 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: max=HIGH demote=true head=5c3e4391142568770223a21e361d29ff85bea6ea rubric=10.5.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 22, 2026
Merged via the queue into main with commit b0c00a4 Nov 22, 2026
65 of 66 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-18014-44964541536-1 branch November 22, 2026 02:34
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

mutation-testing: read the personal config layer from the config-cascade location, not .claude

0 participants