Repository navigation
Description
Problem
Rename the typos-format plugin to spelling, completely. The new name says what the plugin does (spelling checks); the old one names the tool it runs (typos). When this is done, no current-state reference to the old name remains in this repository or its companion repositories, every lane runs spelling@melodic-software and not typos-format@melodic-software, and no saved setting, git-hook artifact or data directory is left under the old name.
This issue holds everything needed to build and verify the rename. Locations were taken on main at 606fdf680205dc1f7039aab0531ea6043b5ed85f. Line numbers move, so find each location by its quote or by grep, not by line number.
Why
Q107 and Q133 are the owner's decisions to rename five plugins after their concern rather than their tool or current behavior: typos-format to spelling, ruff-format to python-format, biome-format to javascript-format, context-guard to context-usage, and rate-limit-guard to rate-limits.
- Owner, 2026-11-11: "We do need to decouple ... low coupling, high cohesion".
- Owner, 2026-11-12: "we need to make sure everything's migrated: nothing cosmetic, nothing left behind. For rename, it needs to be a complete rename, and nothing left over with the old name."
The 2026-11-12 decision governs two things in this issue:
- Every item a previous rename treated as optional is required here.
- Saved option values are migrated, not reset. #15372 is the precedent for the changelog fragment's form. It is not the precedent for option handling, because it let stored values reset.
The playbook rule "no deprecation shim, alias, or pointer to the old name" (docs/migration-playbook.md, the rename section, about lines 465-473) still holds: the old name must not keep working. One-time migration code that reads the old name to move data, and then deletes it, is not an alias. Each such line is listed in the PR with the condition for removing it.
Scope in this repository
Identity
git mv plugins/typos-format plugins/spelling..claude-plugin/marketplace.json: the entry'snameandsource(search fortypos-format).plugins/spelling/.claude-plugin/plugin.json:name, and the userConfig keys below.- Commands:
/typos-format:setupand/typos-format:checkbecome/spelling:setupand/spelling:check. The install idtypos-format@melodic-softwarebecomesspelling@melodic-software.
Option keys and environment variables
| Old key | New key | Kill-switch / env variable |
|---|---|---|
typos_format_enabled |
spelling_enabled |
CLAUDE_PLUGIN_OPTION_TYPOS_FORMAT_ENABLED becomes CLAUDE_PLUGIN_OPTION_SPELLING_ENABLED |
typos_format_end_of_turn |
spelling_end_of_turn |
CLAUDE_PLUGIN_OPTION_TYPOS_FORMAT_END_OF_TURN becomes CLAUDE_PLUGIN_OPTION_SPELLING_END_OF_TURN |
Also rename every hook::check_enabled "TYPOS_FORMAT" call, every TYPOS_FORMAT_ENABLED in prerequisites.json (session_probe), and every HOOK_TYPOS_FORMAT_* test variable. Every key carries the plugin name, so none keeps its old name. Nothing outside this repository reads these variables (an org-wide and dotfiles grep found none).
Files whose names carry the old name (a content grep does not find these)
hooks/typos-format.sh,hooks/typos-format.test.shandhooks/typos-format-end-of-turn.test.shbecomehooks/spelling.sh,hooks/spelling.test.shandhooks/spelling-end-of-turn.test.sh. Updatehooks/hooks.jsonto match..claude/skills/control-claude-code-plugins/features/typos-format/becomesfeatures/spelling/.- Run
git ls-files | grep -i -e typos-format -e typos_formatafter the move; it must print nothing.
References inside the moved directory (about 60 files)
README.md: about 9 lines, including/plugin install typos-format@melodic-software.hooks/hooks.json,prerequisites.json(two places),skills/setup/SKILL.md(frontmatter and body).git-hooks/typos-check.sh: the user-facingtypos-format:message prefix becomesspelling:. The entry nametypos-checknames the tool and stays.config/default-typos.toml: the header line naming the plugin.- About 40 eval files: tags,
/typos-format:setup, sample commands, andchecks.typos-format.typos-check.declinedin the evalscaffold.sh. CHANGELOG.md: the title line ("All notable changes to thetypos-formatplugin") and the released sections are renamed; see "Owner ruling on released history" below.
References outside the moved directory (about 26 files)
- Other plugins' prose:
plugins/go-format/README.md,plugins/go-format/skills/setup/SKILL.md(two places),plugins/guardrails/README.md,plugins/docs-hygiene/context/derivability-route-followups.md. - Other plugins' code: none.
docs/:- ADR 0028 and ADR 0072 ("typos-format pilot", three places). All of these change, including ADR text that records a dated past event.
docs/cloud-sessions.md,docs/formatter-path-probes.md(two places),docs/plugin-philosophy.md(three places),docs/test-wall-clock-baseline.md.docs/contracts/check-placement/README.md(five places). Its heading anchor#typos-format-pilot-2026-10-15is linked fromdocs/conventions/check-placement/README.md; rename the heading and the link together.docs/contracts/hook-budget/README.md(four places),docs/contracts/hook-observability/README.md(six places).
- Tests outside the directory:
lib/git-hooks/check-lib.test.shtakes a path intoplugins/typos-format/git-hooks/. - Root and scripts:
.claude/skills/control-claude-code-plugins/SKILL.md(the feature row) and the moved feature directory'sREADME.md..performance/ratchets.json: the ratchetnameand itshook-census.sh typos-format … typos-format.shcommand.- Sorted path lists, where the entry moves and must be re-sorted:
scripts/fragment-plugins.txt,scripts/em-dash-purged-paths.txt(three lines),scripts/run-plugin-tests-serial.txt,scripts/shared-copies.txt(about seven lines),scripts/suite-seconds.txt.
.github/: none today. Grep it anyway.
Generated files: regenerate, never hand-edit
docs/catalog.md:node scripts/generate-catalog.mjs.- Skill cheat sheet:
node scripts/generate-cheatsheet.mjs(no hit today; run its check). docs/architecture/landscape.json: re-record withplugins/architecture/skills/map-landscape/scripts/landscape-record.sh(thereference-edges.shcount changes).- Vendored copies listed in
scripts/shared-copies.txt:scripts/sync-shared-copies.sh.
Traps: do not run a blind sed
- Every
typoscommand and thetypos-checkgit-hook entry name the tool. They stay. - Released CHANGELOG sections are renamed too (17 other plugins' changelogs mention
typos-formatin released sections). - After the
git mv, run/docs-hygiene:rename-references typos-format spellingto catch slash-tokens, paths, table rows and frontmatter globs that a token grep misses.
Changelog
Follow #15372's fragment form in today's fragment mode:
scripts/new-changelog-fragment.sh spelling majorwrites.changes/spelling/<slug>.mdwithbump: major. Do not edit theversioninplugin.json. Rename the old name in the releasedCHANGELOG.mdsections too.- The fragment names the new id, commands and keys in present tense. The old-to-new mapping and the consumer steps go in the PR body (
docs/migration-playbook.mdputs retirement guidance in the PR body). scripts/check-changelog-parity.sh --check-preservedexempts a changelog whose directory is gone, so the movedCHANGELOG.mdpasses. Released-entry body edits follow the in-place correction rule in the header ofscripts/check-changelog-parity.sh(Released CHANGELOG entries are being edited in place (#2312 rewrote two lines inside the shipped 0.51.12) — decide whether that is sanctioned #2388): name each edit in the PR body and in the new release entry.--check-preservedwatches version headings only; keep every heading and do not change the gate.- No plugin has been renamed since fragment mode began, so how the release bot handles a moved directory is unverified. After merge, confirm that the next release PR releases
spellingat a new major version and records nothing undertypos-format. If it does record something there, fix the bot in this issue's scope.
Companion changes in other repositories (each its own paired PR)
| Repo | Change |
|---|---|
melodic-software/dotfiles |
See below. Required. |
| others | No current-state reference: ci-workflows, medley, github-iac, standards and provisioning hold no typos-format hit (code search plus local clones). Re-grep each before closing. |
Repositories not edited, with the reason:
melodic-software/claude-lane-sandboxis archived and cannot change.melodic-software/pr-pipeline-sandboxholds mirror copies of this repository, and refactor(source-control)!: rename worktree-add-claim-gate to worktree-add-claim #15372 left it untouched; its mirrors refresh from here.melodic-software/knowledge-corpussources/**and.work/**are research records (history).
dotfiles PR:
.chezmoidata/claude.jsonclaudeSettings.force.enabledPlugins: replace"typos-format@melodic-software": truewith"spelling@melodic-software": true, in sorted position, value unchanged.claudeSettings.force.pluginConfigs: no entry exists fortypos-formattoday. If one exists at build time, move it tospelling@melodic-softwarewith the new key names and the values unchanged.- Add
"typos-format@melodic-software"toclaudeSettings.uninstallPlugins. The installers then uninstall it unattended on every lane and pin itfalse, as they already do fordometrain-mcp@melodic-software(.chezmoiscripts/run_after_install-claude-plugins.sh.tmpl,run_install-claude-plugins.ps1.tmpl,dot_claude/modify_settings.json). - Saved-settings migration: see Migration below. This PR builds the shared mechanism; the later rename PRs add an entry to it.
- Regenerate the affected
tools/chezmoi-template-lint/golden/*.sha256withGet-RenderHash.ps1 -Fixture <fixture>, and log the regeneration ingolden/README.mdas earlier entries do (the provenance-to-attribution rename entry is the closest precedent). docs/claude-hook-fanout.mdnamestypos-formatin a dated measurement record. Rename it too, per the owner ruling below.- Self-Modification note: editing
.chezmoidata/claude.jsonanddot_claude/**is soft-denied unless the owner names the change. The owner named it: cite Q107/Q133 and the 2026-11-12 quote. tools/check-plugin-manifest/check.shfails any declared id that ccpmaindoes not publish. This PR passes only after the ccp PR merges, and after that merge every dotfiles PR touching the plugin-state paths fails until this one lands. Merge it right after the ccp PR.
Migration: nothing left behind
-
Installed old id. It is removed on every lane at the next
fleet-convergethroughuninstallPlugins(above). The--keep-dataflag must not be passed, so the data directory~/.claude/plugins/data/typos-format-melodic-software/goes with it. If the installer keeps data, remove that directory in the same step. -
Saved option values: migrate, do not reset. A lane may hold
pluginConfigs["typos-format@melodic-software"].optionsin~/.claude/settings.json(orsettings.local.json) from/pluginconfig. The dotfilesdot_claude/modify_settings.jsonalready rewrites live settings and already loops overuninstallPlugins. Extend that existing step with a data-driven rename map in.chezmoidata/claude.json, holding old id, new id and old-to-new key names.- For each entry, copy every old option value to the new id under its new key, unless the new key already holds a value.
- Then delete the old id's
pluginConfigsentry. - Here the map entry is
typos-formattospelling, with the two key pairs above. - The map entry is a migration line. It is removed once every lane has converged and the check in the acceptance criteria passes on each.
-
Consumer git-hook artifacts.
lib/git-hooks/install.mjsderives every artifact fromplugin.jsonname, so after the rename a consumer repository that installed the old entry still runs.githooks/typos-format/and/spelling:setup checkreports the new entry missing. The artifacts are:.githooks/<name>/;- the
<event>.d/<name>.<entry>marker; - git config
checks.<name>.<entry>.declined; - lefthook job
<name>-<entry>; - git config
hook.<name>-<entry>; - the user git-config directory
checks/<name>.
/spelling:setup checkmust report each old-name artifact as drift and name the fix./spelling:setup apply install-git-hooksmust then:- install the new entry;
- carry a recorded decline over to
checks.spelling.typos-check.declinedin the clone's own config, with the value git resolves; - remove the old directory, marker, lefthook job and the old git config keys in the clone's own local and worktree config.
Owner ruling, 2026-11-12 (Q37, option a): the decline carry-over is local scope only. An old-name decline line in system or global git config, or in a file one of them or the local config includes, still counts as git resolves it; it is reported with the command that removes it and is never edited, because other clones may rely on it. Accepted cost: such a line can stay in a user's shared git config.
Build this in
lib/git-hooks/so the two formatter renames that follow reuse it. The old name reaches it as data from the plugin, a migration line listed in the PR with its removal condition. This machine's clones hold none of these artifacts. Other machines are unverified, which is why the check must report them. -
On-disk data. This plugin keeps no machine-scope directory. Its only data is the plugin data directory, handled in item 1.
Acceptance criteria
-
git grep -n -i -e 'typos-format' -e 'typos_format' -e 'typosformat' -e 'typos format'on the merged ccpmainreturns only the migration lines named in the PR, each with its removal condition. The PR lists every remaining hit. - The same grep over
melodic-software/dotfilesmainreturns only: theuninstallPluginsentry, the rename-map migration entry, and the migration lines listed in its PR. -
git ls-files | grep -i -e typos-format -e typos_formatprints nothing in either repository. -
bash plugins/spelling/hooks/spelling.test.sh,bash plugins/spelling/hooks/spelling-end-of-turn.test.shandbash lib/git-hooks/check-lib.test.shpass. - The shared gates pass:
ci-statusgreen, includingscripts/check-changelog-fragments.sh --check,scripts/check-changelog-parity.sh --check-preserved,scripts/check-killswitch-hoist.shandscripts/check-hook-userconfig-argv.sh; the catalog, cheat sheet and shared-copies checks report no drift. - dotfiles
tools/check-plugin-manifest/check.shpasses on the dotfiles PR after the ccp merge, and the golden render check passes. - After both PRs merge and one
fleet-convergeon a lane:claude plugin listshowsspelling@melodic-softwareand nottypos-format@melodic-software;~/.claude/settings.jsonhas notypos-format@melodic-softwarekey underpluginConfigs, andenabledPluginsholds it only asfalse; any value that lane had saved under the old keys sits under the new keys with the same value. - A test repository with the old git hook installed:
/spelling:setup checkreports the old artifacts with the fix, and afterapply install-git-hooksno.githooks/typos-format/, marker, lefthook job orhook.typos-format-*git config key remains, nochecks.typos-format.*key remains in the clone's own local or worktree config (one in a shared or included config file is reported with its removal command, per the Q37 ruling in Migration item 3), and a prior decline is kept under the new key. - The first release PR after merge releases
spellingand writes nothing undertypos-format.
Order and dependencies
- This rename goes first of the five. It has the smallest outside surface: no machine-scope path, no MCP tool, no outside code reader, and one dotfiles key. It also builds the shared migration pieces (the dotfiles rename map and the git-hook artifact migration) that the formatter renames reuse.
python-formatandjavascript-formatstart after this merges. They share sorted lists and docs lines with it (ADR 0028,hook-budget,formatter-path-probes,shared-copies.txt,fragment-plugins.txt).- Merge the ccp PR first and the dotfiles PR right after it, the same hour, so no lane runs both ids for long and dotfiles CI is not left red.
Open PRs to rebase around
Re-run gh pr list -R melodic-software/claude-code-plugins --state open before starting; at filing time these touch this plugin:
- #15504 adds
.changes/fragments for all five plugins and editslib/prerequisites.mjsand its copies. - #15508 adds
.changes/typos-format/…and edits go-format prose. - #15505 edits
plugins/guardrails/README.md.
A fragment under .changes/typos-format/ that merges after this rename makes a fragment directory for a plugin that no longer exists, and git reports no conflict. Before merging, check .changes/ for an old-name directory and git mv any fragment into .changes/spelling/. Prefer landing #15504 and #15508 first.
Owner ruling on released history
Owner, 2026-11-12: "I want a clean cutover". Released CHANGELOG sections, ADR text and dated records are renamed to the new name too. The only old-name hits allowed after the rename are the dotfiles uninstallPlugins entry, the rename-map migration entry, and one-time migration lines that must read the old name, each listed in the PR with its removal condition.
Related
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 12, 2026
Size: Large
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
I understood this as a complete rename of the
typos-formatplugin tospelling. It covers the directory, marketplace entry, option keys, env variables, hook files, docs, generated files, changelog fragment, a companion dotfiles PR, and migration of saved options and consumer git-hook artifacts.The issue spells out the scope, the traps and the acceptance criteria, so I found nothing missing. The work spans two repositories and many files, so it will likely need splitting.
I found no open duplicate. The admission comment says merged PR #15560 names this issue with
Refs:, so part of the work may already be done. Please check that PR against the acceptance list and close this issue if nothing remains, or post a**Decision recorded.**comment saying what is left.Automated triage. A maintainer reviews it.
github-actions commentedon Nov 12, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
melodic-automation-lanes commentedon Nov 12, 2026
Not admitted to the issue lane: merged pull request #15560, #15568, #15594 names it with
Refs:after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is**Decision recorded.**saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).kyle-sexton commentedon Nov 14, 2026
Closed by hand after the fleet check on the WSL lane (2026-11-14):
typos-format@melodic-softwareis not installed,spelling@melodic-softwareis; notypos-format-melodic-softwaredata folder exists; every running session was reloaded with/reload-plugins --forceand no old-name path was written in the ten minutes after. The only old-id hit in user settings is thefalseentry the dotfilesuninstallPluginslist renders.