Repository navigation
refactor(javascript-format)!: rename biome-format plugin to javascript-format - #15807
Conversation
…t-format Move plugins/biome-format to plugins/javascript-format with its hook scripts and control-skill feature directory, and rename the plugin id, setup command, the three options and their CLAUDE_PLUGIN_OPTION_* variables, the git-hook directory, decline key and findings prefix. The biome-check entry, the biome command and biome.json keep the tool's name. entries.json declares earlierNames so the shared installer retires what an install under the old name left. The shared prerequisites checker's sample option name is now EXAMPLE_ENABLED, synced to every carrier, so a later rename does not touch its copies. Released changelog entries use the current name, and entries that named a skill, schema path or variable removed earlier describe it instead; each corrected plugin has a patch fragment. Owner decisions Q107 and Q133; owner, 2026-11-12: "we need to make sure everything's migrated: nothing cosmetic, nothing left behind." Refs: #15554 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
… removed check skill and name the opt-out Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane-Activity: pr-refine/fix-docs
|
claude-review reviewed claude-review (incremental, 7f3c22f..ab92ade): no findings. I read every hunk of all 5 files in scope. This push is
I searched the full PR diff for the restored phrases and found none of them. So all five files now match the base at those lines, and none of the reverted hunks is left in the pull request. Prior findings:
This lane already reviewed an earlier head, so this review was blocking only. I report no advisory findings. No settled threads apply to these lines. I found no embedded instructions in the PR context. Spend: none. This push changes no workflow, model, turn or schedule setting. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: incremental,
|
|
claude-security-review holds this pull request for a person (critical-security) at Chunk 1: One CRITICAL finding in claude-lane: claude-security-review |
|
The pr-verify verifier failed head What it wrote (88 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
This reverts commit 7f3c22f.
|
claude-security-review holds this pull request for a person (critical-security) at The CRITICAL manifest flag on .claude-plugin/marketplace.json lines 52-81 is unchanged and restated, not posted again (#15807 (comment)). The renamed claude-lane: claude-security-review |
Refs: #15554
session: AI Hero
Summary
Built on the python-format rename (#15783, merged): the rename commit was written on that branch and then applied to
mainonce #15783 landed. Checks given below againstf100024444were run there; the catalog, cheat sheet, shared-copies and changelog checks were run again on this head againstorigin/mainwith the same results.Merges together with the dotfiles companion PR (branch
refactor/rename-biome-format-to-javascript-formatin melodic-software/dotfiles), this PR first.The owner approved renaming the JavaScript formatting plugin from
biome-formattojavascript-format, migrated in full (owner decisions Q107 and Q133; owner, 2026-11-12: "nothing cosmetic, nothing left behind"). This PR delivers the in-repository rename, theearlierNamesdata the shared git-hook installer reads, and a plugin-neutral example option name in the shared prerequisites checker. Old installs leave through dotfilesuninstallPlugins(companion PR).Fix
git mvof the plugin directory toplugins/javascript-format, with the hook scripts renamed tohooks/javascript-format.sh,hooks/javascript-format.test.shandhooks/javascript-format-end-of-turn.test.sh, and the control-skill feature directory moved tofeatures/javascript-format. The pre-commit entry keeps its tool name,biome-check; thebiomecommand,biome.jsonand@biomejs/biomestay.Old-to-new mapping:
biome-format@melodic-softwarejavascript-format@melodic-software/biome-format:setup/javascript-format:setupbiome_format_enabledjavascript_format_enabledbiome_format_lint_gitignoredjavascript_format_lint_gitignoredbiome_format_end_of_turnjavascript_format_end_of_turnCLAUDE_PLUGIN_OPTION_BIOME_FORMAT_*CLAUDE_PLUGIN_OPTION_JAVASCRIPT_FORMAT_*.githooks/biome-format/,checks.biome-format.biome-check.declined, findings prefixbiome-format:.githooks/javascript-format/,checks.javascript-format.biome-check.declined,javascript-format:These cover
plugin.jsonuserConfig,hooks.json(--run-if-unset-or-true JAVASCRIPT_FORMAT_ENABLED,--require-true JAVASCRIPT_FORMAT_END_OF_TURN),prerequisites.json(session_probe,hook:javascript-format.sh), the README, the setup skill, the hook and git-hook tests, the evals (commands, sample transcripts, the escapedjavascript\-formatregex insu-apply-headless-toggle-off-no-uninstall/case.yaml) and.performance/ratchets.json(both ratchets)./biome-format:checkfrom the issue has no counterpart: that skill was removed before this rename.plugins/javascript-format/git-hooks/entries.jsondeclares"earlierNames": ["biome-format"], which switches on the installer's leftover scan and decline carry-over (delivered by feat(git-hooks): migrate hook artifacts left under an earlier plugin name #15594) for this plugin.Example string:
lib/prerequisites.mjsgaveBIOME_FORMAT_ENABLEDas the sample option name in two error messages; both now sayEXAMPLE_ENABLED, a name no plugin carries, andscripts/sync-shared-copies.shwrote it to all 77 vendored copies.docs/contracts/prerequisites/README.mduses the same sample (EXAMPLE_ENABLEDreadsexample_enabled).Every in-repository reference is renamed: the marketplace entry (keeps its position), the control skill row,
.claude/cloud-bootstrap.sh, ADR 0028,docs/cloud-sessions.md,docs/contracts/check-placement/README.mdandadopting-git-hooks.md,docs/contracts/hook-budget/README.md,docs/contracts/hook-precision/README.md(both places),docs/cursor-compatibility.md(both),docs/formatter-path-probes.md,docs/upstream/claude-code-mods/research-2026-09-19/research-repo-fit.md(dated research, owner ruling),plugins/evals/skills/plugin-eval/reference/reading-results.md,plugins/evals/skills/plugin-eval/scripts/test_run_validity.py, andscripts/affected-tests-live.sh.Alphabetical lists: unlike
rufftopython,javascriptdoes not sort intobiome's slot. In each list that sorted under the old name, the entry moved to its sorted slot: ADR 0028 (afterguardrails),adopting-git-hooks.md,hook-budget/README.md,hook-precision/README.md:158,cursor-compatibility.md:50,60, and the control skill's feature list (afterinstruction-placement). Lists that were not sorted keep the old position:docs/cloud-sessions.md:402, thehook-precisiontable, theformatter-path-probes.mdtable,affected-tests-live.sh,marketplace.json, and the<tool>-formatfamily lines in the bash-format and markdown-format changelogs.Sorted script lists:
scripts/fragment-plugins.txt,scripts/suite-seconds.txtand the plugin's block inscripts/em-dash-purged-paths.txtmoved afterinstruction-placement.scripts/shared-copies.txt: all seven runs (lib/exec-bash.mjs,lib/prerequisites.*,lib/hook-utils.sh, the threelib/git-hooks/lines,plugin-reconfiguration) sat in order under the old name and moved to wherejavascript-formatsorts (resort-shared-copies.py).Generated files: the token rename rewrote the
docs/catalog.mdentry;node scripts/generate-catalog.mjsthen reported it in sync (the catalog follows marketplace order, which keeps its position).node scripts/generate-cheatsheet.mjsreports in sync;scripts/sync-shared-copies.sh --checkreports all 820 copies match.docs/architecture/landscape.jsonnames no path under the plugin:landscape-record.sh --drift-against docs/architecture/landscape.jsonreports "none that gates" (onlylast_touchedmoves), so it was not re-recorded.Changelog fragments:
majorfor javascript-format naming the new id, keys and git-hook remedy;patchfor each of the 77 plugins carryinglib/prerequisites.mjs(the example-string change, written withnew-changelog-fragment.sh --carriers-of lib/prerequisites.mjs);patchfor evals prose;patchfor each plugin whose released entries were corrected in place (below). No fragment file name carries the old name (files arerefactor-rename-to-javascript-format-<hex>.md).plugin.jsonversions are unchanged.Released entries in
plugins/javascript-format/CHANGELOG.mdthat would name something that never shipped under the current name describe it instead, with no heading changed and no earlier-name note: four mentions of the removedcheckskill (reword-removed-names.py), the removed per-hook telemetry schema path, and the retiredHOOK_<PLUGIN>_ENABLEDvariable.Consumer migration. The plugin id changes to
javascript-format@melodic-software. The dotfiles PR renames theforce.enabledPluginskey and adds the old id toclaudeSettings.uninstallPlugins, so the nextfleet-convergeon each lane uninstalls the old copy and installsjavascript-format. SavedpluginConfigsvalues for the old id move to the new id and keys through therenamedPluginsentry the dotfiles PR adds. On a machine not managed by those dotfiles:claude plugin uninstall biome-format@<marketplace>,claude plugin install javascript-format@<marketplace>, then set any option again under its new key. In a repository with the pre-commit entry,/javascript-format:setup checkreports what the old install left assuperseded, and/javascript-format:setup apply install-git-hooksinstalls the new entry and retires those artifacts on the user's yes, keeping a recorded decline.Old name
Clean cutover.
git grep -n -i -e biome-format -e biome_format -e biomeformat -e 'biome\-format'finds 538 hits at the python-format headf100024444and 1 at this head:plugins/javascript-format/git-hooks/entries.json:2"earlierNames": ["biome-format"], the migration data the shared installer reads to find and retire what an install under the old name leftgit ls-files | grep -i -e biome-format -e biome_formatprints nothing.git grep -n -i 'biome format'hits only the tool: itsbiome formatsubcommand (plugins/toolchain/reference/ecosystems/typescript.yaml:5,15,plugins/toolchain/skills/check/context/typescript.md:32,plugins/toolchain/CHANGELOG.md:510, four eval sample transcripts runningnode_modules/.bin/biome format src), and prose about Biome's formatting (.editorconfig:31"Biome formatter policy",plugins/toolchain/skills/setup/SKILL.md:84"Biome format vs check --write",plugins/javascript-format/git-hooks/biome-check.test.sh:79"the way Biome formats it"). None is the plugin's name written with a space. No.changes/biome-format/directory exists; #15504 and #15508 merged before this branch's base.Released entries corrected in place (#2388 rule). Only entry bodies changed; every
## [<v>]heading is kept. Each plugin's new patch fragment names the same versions:ADR 0028 (line 14-15) also names
javascript-formatnow, in its sorted position.Verification
Run locally on this head (
06579d248a):bash plugins/javascript-format/hooks/javascript-format.test.sh: PASS=43 FAIL=2.bash plugins/javascript-format/hooks/javascript-format-end-of-turn.test.sh: 8 passed, 1 failed. The failures are the spawn-budget census cases (scripts/hook-census.shexits with a mise error on this host) and, in the first suite, "biome absent" (abiomeon this host's PATH formats the file). The unchangedplugins/biome-format/hooks/biome-format.test.shon the main checkout at541f8b005cfails the same two cases (PASS=43 FAIL=2), so they are host problems, not this change; CI decides them.bash plugins/javascript-format/git-hooks/biome-check.test.sh: 66 passed, 0 failed.node --test --test-concurrency=4 lib/prerequisites.test.mjs: 326 tests, 326 passed.bash lib/prerequisites.test.sh: no FAIL lines.python3 -I -m unittestoverplugins/evals/skills/plugin-eval/scripts/test_run_validity.py: 168 tests OK.scripts/run-ruff.sh checkon it: all checks passed.scripts/check-changelog-fragments.sh --check: all 96 fragments valid.--check-required f100024444: every fragment-mode plugin the change set changes (77) has a fragment.scripts/check-changelog-parity.sh --check-preserved f100024444: 5 changed changelogs keep every version heading (692 compared).scripts/check-killswitch-hoist.sh: 23 PreToolUse/PostToolUse scripts read their kill switch before any source.scripts/check-hook-userconfig-argv.sh: no bare${user_config.*}tokens.node scripts/generate-catalog.mjs --checkandnode scripts/generate-cheatsheet.mjs --check: in sync.scripts/sync-shared-copies.sh --check: all 820 copies match.checks.biome-format.biome-check.declined trueset locally: the vendoredplugins/javascript-format/lib/git-hooks/install.mjs verifyreporteddeclined biome-checkwith the fix "set checks.javascript-format.biome-check.declined true in this clone's local config; unset git config checks.biome-format.biome-check.declined (local)", andplan --scope localreturned asupersededdecision with"from":"biome-format"and"carry":"decline". The setup skill's retire-on-yes step was not run..githubsuite, the release dry run, and/docs-hygiene:rename-references(the hyphen, underscore, joined, spaced, upper-case and regex-escaped forms were swept withgit grepinstead).Remaining
Issue #15554 stays open after this PR. Its remaining done-when items live outside this repository or after merge:
enabledPluginskey,uninstallPlugins, therenamedPluginsentry, and the dotfiles manifest and render checks..claude/settings.jsonenabled id), medley and github-iac prose (each its own paired PR, per the issue); not built here.fleet-convergeon a lane:claude plugin listshowsjavascript-format@melodic-softwareand not the old id, and no saved setting is left under the old name.javascript-formatand writes nothing under the old name.setup checkreports it,apply install-git-hooksretires it and keeps a decline): only the decline detection above was run; a full old install retired through the setup skill was not..changes/rate-limit-guard/refactor-rename-to-javascript-format-5321a369.md(the example-string fragment for the rate-limit-guard copy) moves into.changes/rate-limits/: whichever of this PR and therate-limit-guardrename merges second does the move.Also in this PR
.claude/skills/control-claude-code-plugins/SKILL.md: thepython-formatrow, left in the old name's slot by refactor(python-format)!: rename ruff-format plugin to python-format #15783, moves to its sorted place afterprototype.features/javascript-format/README.mdno longer lists acheckskill; the plugin ships onlysetup.Review
ab92ade975in https://github.com/melodic-software/claude-code-plugins/actions/runs/43365657371 and every suite job succeeded: Select Tests, Test Bash (shards 0 to 11), Test Node, Test Python (shards 0 to 2), Check Plugins, Check Tests, Check Skills, Check Catalog, Check Managed Files, Lint Repo and Lint Shell. The later run 43368939837 on the same head came from a label change and skips the suite jobs. The host-only local failures listed under Verification did not occur in CI.docs/cloud-sessions.md,docs/contracts/hook-precision/README.md, a dated research record, and released entries in the evals and spelling changelogs. It is reverted in full, so no released entry is edited beyond the versions listed above.scripts/shared-copies.txt, thelib/prerequisites.{mjs,sh,ps1}block: the threeplugins/javascript-format/lib/...lines stay betweendisplay-redactionanddiscovery. That run was not in sorted order under the old name either (biome-formatdoes not sort there), and the rename rule moves only runs that were sorted under the old name (resort-shared-copies.py); re-sorting an unsorted run is not part of a rename. Every run that was sorted moved.Follow-ups
checkskill those plugins no longer ship (for examplefeatures/go-format/README.md,features/markdown-format/README.md);/app-control:map refreshrewrites them.Related
refactor/rename-biome-format-to-javascript-format(must merge together).🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr