Skip to content

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

Description

@kyle-sexton

Summary

mutation-testing setup text still names the personal layer at .claude/mutation-testing.local.md. Move it to the config-cascade personal layer.

Current behavior

plugins/mutation-testing/skills/setup/SKILL.md:26-29:

The config resolves across three layers, lowest first: the user layer (userConfig) -> team (${CLAUDE_PROJECT_DIR}/docs/conventions/mutation-testing.yaml, ...) -> personal override (.claude/mutation-testing.local.md), later layers overriding scalars and unioning lists.

The team layer is already docs/conventions/mutation-testing.yaml, and :37 says ~/.claude/mutation-testing.md "is never read", so only the personal path is a live read. The text at :33 and :103 treats .claude/mutation-testing.md as retired, and :51 and :113 name the separate arid-node record .claude/mutation-testing-arid.md (check whether it moves with this change).

Desired behavior

Per the config-cascade layers, the personal layer is <home>/mutation-testing.local.<ext>. The setup text and the resolution it describes read and write the contract layers; a file at an old path keeps being read during a dual-read window (see the acceptance criteria) and is reported with a warning. The canonical location list (docs/contracts/config-cascade/locations.md) lands in the docs/config-locations pull request.

Key interfaces

  • The personal-layer path in skills/setup/SKILL.md and the check and apply steps that write it

Acceptance criteria

  • The setup text and the resolution it describes read the config-cascade layers (the layers).
  • Dual-read window: while an old-path file (.claude/mutation-testing.local.md) exists, it is still read and its values still apply where no new-layer file supplies that layer; each run prints one warning naming the old file and the new location to move it to. No setting in an old file is silently dropped.
  • The plugin's setup (check and apply) names each old file it finds and after a preview and a yes, moves its settings to the new location, checks the new location resolves the same values, then deletes the old file, so migration ends in one home, never two (owner 2026-11-21: "we don't have dual approaches, and that stuff gets cleaned up"); the dual-read warning names that setup command, so normal skill use leads to the migration; apply writes the personal layer under <home>, not .claude/.
  • Removing the old-path read is a separate later change, made only once no old file is reported.
  • Evals or tests cover: new layer only; old file only (values apply, warning printed); both present (new wins, warning names both).

Placement rule (owner decisions 2026-11-21, #18000 Q1 and #18009 Q2)

For each key in the old user-global file, choose the new home by what the key is:

  • a per-repo convention (what a repository's commits, PRs or files must look like): the team file <home>/<concern>.yaml, with the personal override for one person in one repo; no new userConfig option;
  • a per-user value userConfig can hold (string, number, boolean, directory, file, list of strings): a userConfig option;
  • a per-user structure userConfig cannot hold (a list of objects, a nested map): one file-typed userConfig option naming the user's file, which keeps the structure as it is.

If a key fits none of these, stop as design-change and name the key.

Out of scope

Other plugins' resolvers (one issue each), the suppression-lint.sh comment about .claude/mutation-testing-arid.md, and the separate "cut model-read ecosystem specifics from mutation-testing" work.

Activity

  1. added
    agent-ready
    on Nov 21, 2026
  2. added
    needs-triage
    on Nov 21, 2026
  3. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the mutation-testing plugin's setup skill (check and apply steps), its config resolution, and its evals or tests; read by anyone running the plugin.
    Reversible: yes; revert the change. Old-path files that setup already migrated and deleted would need restoring by hand.
    Open questions: none
    Understood: move the personal config layer from .claude/mutation-testing.local.md to the config-cascade <home>/mutation-testing.local.<ext>. Keep a dual-read window with a warning, add a setup migration that moves the file after a preview and a yes, and add tests for the three cases. The acceptance criteria and placement rule are exact, so no owner decision is needed. The issue's note about whether the arid-node record moves with this change is an implementation detail for the issue lane. The issue also says the canonical location list lands in the docs/config-locations pull request, so check that has merged before finishing. No duplicate found. The open per-plugin config-cascade issues cover other plugins, and #356-range work on cutting ecosystem specifics from mutation-testing is explicitly out of scope.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 21, 2026
  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b3e6b654c660418a98f2e40f51b38d702ffd940ad709cd3b7f7ed8def3f2be2c","body_sha256":"534af6043c17ea1ef7fadef8cd6163780a0e4559f1d1ba01372ba52ae4d55c99"}

  6. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its body was edited after it was deferred, so the admission it was deferred from judged an older body. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  7. removed
    agent-ready
    on Nov 21, 2026
  8. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b3e6b654c660418a98f2e40f51b38d702ffd940ad709cd3b7f7ed8def3f2be2c","body_sha256":"2d175cf4cd624425810d43a3ff8b6d75538f9cdb9b499798a09545b2a6685127"}

  9. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b3e6b654c660418a98f2e40f51b38d702ffd940ad709cd3b7f7ed8def3f2be2c","body_sha256":"2d175cf4cd624425810d43a3ff8b6d75538f9cdb9b499798a09545b2a6685127"}

  10. melodic-automation-lanes commented on Nov 22, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44961115958, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T23:21:01Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  11. github-actions commented on Nov 22, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions