Repository navigation
refactor(rate-limits)!: rename rate-limit-guard plugin to rate-limits - #15827
Conversation
Renames the plugin directory, install id, commands, three option keys and their variables, the runtime directory ~/.claude/rate-limits/ and the status tool mcp__rate-limits__status, and every reference in other plugins, docs, ADRs, contracts, evals, tests, script lists and released changelogs. /rate-limits:setup check reports a directory left by the earlier name as drift and the new apply moves its stop record. Refs: #15556 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
…limit-guard-to-rate-limits # Conflicts: # .changes/rate-limits/rename-to-context-usage-829a4253.md # docs/adr/0028-classify-a-plugin-s-hooks-by-packaging-before-proposing-a-split.md # scripts/suite-seconds.txt
Refs: #15556 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
…y their new titles Prose that cites the loop-lane binding, the inline floor or the floor step now uses the renamed titles; ADR 0028 keeps its list sorted. Refs: #15556 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
…variable names "rate-limit guard" where it names the plugin, its floor or its pause now reads "rate-limits floor"; released rate-limits entries describe the removed tee's environment variables instead of naming them. Refs: #15556 Co-Authored-By: Claude Opus 5.5 <[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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 429e01dab5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review, incremental (PR #15827, head
|
…sed entries Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
claude-review reviewed claude-review, incremental pass on Scope. One file changed since the last review: Result: no blocking findings. The change adds one sentence to the The sentence holds up against the code at this head:
Fragment. The fragment stays
Prior and settled threads. The settled threads on Spend. None. The change is changelog prose only. No hold: nothing here can start a charge, and nothing is a security surface. Verifier dropped 0 of 0 candidates. |
…lock /rate-limits:setup apply now writes the old records ahead of the new file's under the hook's flock and consumes the old file inside the lock, skips a machine with no old record, waits while a session still writes the old directory, stops when the status line runs a script from it, and removes only the entries earlier releases are known to leave. The description and README say what apply does; released entries no longer name the removed shim-installing setup action. Refs: #15556 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB
|
A lane run on this pull request's head failed because the token broker refused it as workflow-modified: |
The token broker refused a lane run on the previous head as workflow-modified (.github/workflows/pr-run-activity-write.yml). This commit changes no file.
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=15827 -f activity=resolve-conflicts |
|
Held on purpose: a review found the stop-record merge does not take the earlier name's |
…d merge The setup skill's apply merged the earlier-name stop record holding only the new directory's stop-events.jsonl.lock, so a session still on the earlier name could append to the old file during the merge and lose that record. The block now takes the old directory's lock first (fd 8, exit 3), then the new one's (fd 9, exit 4). Step 5 re-checks that no stop record reappeared in the old directory before removing it, and step 1 says the freshness check cannot see an idle session on the earlier name, whose later writes a later apply merges. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB
…r its lock The setup skill's apply step 5 checked for a reappeared stop record and deleted the directory in separate steps with no lock, so a session on the earlier name could append in between and lose the record. Step 5 is now one block that holds the old directory's stop-events.jsonl.lock (exit 3 when held), exits 4 when a stop record is there again, and otherwise removes the directory, whose entries step 3 already proved known. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB
…-to-rate-limits' into refactor/rename-rate-limit-guard-to-rate-limits
…limit-guard-to-rate-limits # Conflicts: # .claude/skills/control-claude-code-plugins/SKILL.md # docs/adr/0028-classify-a-plugin-s-hooks-by-packaging-before-proposing-a-split.md
…ut step The four head_ref values in verify-legacy-fails.json are the head branch of merged PR #9863 as its verifier artifacts recorded it, so they stay as recorded. The rename fragment now tells a machine or managed policy that turned the plugin off to set rate_limits_enabled to false under the new id. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB
Refs: melodic-software/claude-code-plugins#15556 session: AI Hero ## Summary Dates the `[Unreleased]` heading as `[3.0.0] - 2026-11-13`. Merging this PR publishes release `v3.0.0`: `release-publish-binaries.yml` tags the merge commit and uploads the linux-x64 and win-x64 executables, `config.template.json`, the follower-log wrapper and `SHA256SUMS`. What ships: live-session quota is read from `rate-limits/rate-limits.json` inside the live config directory, where the `rate-limits` Claude Code plugin writes it (#441). Major release under the project's Semantic Versioning: a machine that has not moved to the `rate-limits` plugin has no file at the new path, so its live card shows no tee figures until it does. The entry now leads with a bold "Breaking for machines without the `rate-limits` plugin" marker, in the form the 2.0.0 entry used. Update the plugin on each machine before installing this release. ## Fix `CHANGELOG.md`: the `[Unreleased]` heading becomes `[3.0.0] - 2026-11-13`, and its one entry gains the breaking lead. No code changes; the release workflow builds and publishes from the merge commit. ## Verification - `CHANGELOG.md` top heading reads `## [3.0.0] - 2026-11-13`, which matches the version regex the release workflow resolves. - `eng/check-no-machine-paths.sh`: clean. Pre-commit and pre-push guardrail hooks passed. - Changelog-only diff (3 insertions, 2 deletions); no code changes, so no tests run here. ## Related - #441: the change this release ships. - melodic-software/claude-code-plugins#15827: the plugin rename it depends on (merged). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: #15556
session: AI Hero
Summary
Renames the
rate-limit-guardplugin torate-limits, completely: the plugin directory, the install idrate-limits@melodic-software, the/rate-limitsand/rate-limits:setupcommands, the status toolmcp__rate-limits__status, three option keys and their variables, the runtime directory~/.claude/rate-limits/, and every reference in other plugins, docs, ADRs, contracts, evals, tests, script lists and released changelogs. Owner decisions Q107 and Q133, and the 2026-11-12 rulings "everything's migrated: nothing cosmetic, nothing left behind" and "I want a clean cutover".Paired dotfiles PR: melodic-software/dotfiles branch
refactor/rename-rate-limit-guard-to-rate-limits. Merge this PR first, then the dotfiles PR within the hour. The account-rotation companion (TeeDirectoryName, theRateLimitGuard*identifiers) is not in either PR; see Remaining.Fix
git mv plugins/rate-limit-guard plugins/rate-limits,hooks/rate-limit-guard.test.tstohooks/rate-limits.test.ts, and the control skill'sfeatures/rate-limit-guard/tofeatures/rate-limits/.Marketplace entry
nameandsource(position kept);plugin.jsonname, and its description now opens "Rate-limit windows for loop lanes and Claude" instead of "Shared rate-limit guard".Option keys, values unchanged:
rate_limit_guard_enabledrate_limits_enabledrate_limit_guard_bandrate_limits_bandrate_limit_guard_toastrate_limits_toastCLAUDE_PLUGIN_OPTION_RATE_LIMIT_GUARD_*becomesCLAUDE_PLUGIN_OPTION_RATE_LIMITS_*, andhook::check_enabled "RATE_LIMIT_GUARD"inlib/hook-utils.test.shbecomes"RATE_LIMITS".model_notices,rate_limit_report_mode,rate_limit_line_threshold,rate_limit_approach_pctandrate_limit_line_datakeep their names.Other old-to-new pairs:
/rate-limit-guardto/rate-limits,/rate-limit-guard:setupto/rate-limits:setup,mcp__rate-limit-guard__statustomcp__rate-limits__status(no code change: the tool registers asstatusunder the plugin name),~/.claude/rate-limit-guard/to~/.claude/rate-limits/.rate-limits.json,stop-events.jsonlandrecord-rate-limit-stop.shkeep their names.hooks/register.tsx:CONTRACT_DIR, the transcript prefix, the slash command and itscommand.runmatcher, the README URL.record-rate-limit-stop.sh: the directory variableGUARD_DIRis nowCONTRACT_DIR, matching the module.The inline floor moved in one commit with its source:
reference/reader-contract.mdand its seven registered copies (work-loop, itspaused-wait.mdandguard-reader-rules.md, attend-queue, babysit-loop and itspaused-wait.md, the pull-request watch handoff, extract-ssot orchestrated mode, both loop-lane prompt files), andscripts/check-loop-lane-floor-drift.shand its test.Headings whose anchors carried the old name, renamed with every link to them: loop-lane contract §6 "Rate-limits binding" (
#6-rate-limits-binding, linked fromdocs/conventions/loop-lane/README.mdand the contract's table of contents); "Rate-limits floor (inlined)" in work-loop, attend-queue, babysit-loop and the watch handoff (#rate-limits-floor-inlined, linked fromprompts/loops/loop-lane-prompts.md); extract-ssot "Rate-limits integration (when present)". The reader contract's title is "Rate-limits reader contract". Prose that cites those sections by title now uses the new one: the loop-lane contract's "rate-limits binding (§6)", "the rate-limits floor step below" in work-loop and babysit-loop, babysit-loopcycle-shape.md,loop-lane-prompts.md, and "the rate-limits operable floor" incheck-loop-lane-floor-drift.sh's message and thepr-require-checks.ymlcomment.Readers outside the plugin:
install_state.py's matcher (rate-limits/.*\.tmp\.\d+) and its test,lib/write-snapshot.mjsand its registered copies, context-usage's hook comment and test, the lanes skill and launcher comment, session-flow, docs-hygiene, autonomy, harness-ops, ADRs 0018, 0028, 0052 and 0093, the contracts,docs/cursor-compatibility.md,docs/upstream/claudedevs-cost-performance.md, the evals named in the issue, and the sorted lists inscripts/(each entry keeps its sorted slot;resort-shared-copies.py --checkreports nothing to move).plugins/evalsconvert-evals-json.pyandvalidate-cases.pycite "run feat(evals): convert other plugins' evals.json files to claude plugin eval suites #8635" without the plugin name.verify-legacy-fails.json: the recordedhead_refisfix/lane-rate-limits(owner ruling on records).Generated files from their generators:
docs/catalog.md(scripts/generate-catalog.mjs); the cheat sheet generator reported no change;docs/architecture/landscape.jsonre-recorded withlandscape-record.sh --source "current repository plus reference graph" --remote "not used"andlandscape.mdandportfolio.mdre-rendered withrender-landscape.sh(the diff is one edge path,generated_onandlast_touched); shared copies checked withscripts/sync-shared-copies.sh --check./rate-limits:setupmoves from check-only to narrow-write:checkstep 6 reports a leftover~/.claude/rate-limit-guard/as drift, and the newapplymigrates it.argument-hintis[check|apply]; the description, Purpose, "does NOT do" sections and the README ("Install") say whatapplydoes. This is the issue's path for machines without dotfiles.apply, in order:applymerges;statusLinein effect names a path under the old directory, and prints it;stop-events.jsonl,*.lock,*.tmp.*, and the pre-0.12.0 leftoversbin/statusline-shim.sh,spool/,.statusline-tee-path,.tee-disabled,.last-write;stop-events.jsonl; otherwise, holding the hook's own lock in both directories (flock -w 2overstop-events.jsonl.lock, ashooks/record-rate-limit-stop.sh:120-125andhook::append_jsonlathooks/hook-utils.sh:3132-3142take it: the old directory's first on fd 8, which a session still on the old name appends under, then the new one's on fd 9; unlocked whereflockis missing, as the hook is), moves the old file when the new one is absent, or writes the old lines, a newline if the old file lacks a final one, then the new lines to a temp file, renames the old file aside and the temp over the new file, and deletes the aside copy, so no later apply can merge it twice; the old lock held for 2 s stops it with exit 3, the new one with exit 4;stop-events.jsonlis in the old directory again (a session on the old name may have written one after step 4; exit 4, a laterapplymerges it) and otherwise removes the directory, whose entries step 3 already proved known.Locking only the new directory's file, as the block did before, let a session on the old name append after the merge read the old file (that record lost when the file is renamed aside) or after the rename aside (a fresh old file the removal deleted unmerged).
The skill's block, extracted from
SKILL.md, was run against throwaway homes: old-first merge, an old file lacking its newline, a move into an absent new file, the old lock held (exit 3, both files unchanged, then a rerun after release merges), the new lock held (exit 4, the same); and step 5's block: a stop record reappeared (exit 4, directory and file kept), the old lock held (exit 3, directory kept), a clean directory removed: 25/25.Known limits:
applyputs a late old-name record ahead of newer ones in the new file. Readers comparedetected_at, so only which lines rotation keeps is affected.mkdir -pjust before the delete, can still drop one record silently; the migration cannot close that window.Review findings fixed (PR refactor(rate-limits)!: rename rate-limit-guard plugin to rate-limits #15827):
PRRT_kwDOTCGFQM629Q_r(old records went last, so the next rotation dropped the newest),PRRT_kwDOTCGFQM629E9S(the merge took no lock while the hook rotates under one),PRRT_kwDOTCGFQM629E9N(a machine with no old record could never clear the drift). The independent review's additions are in the steps above: the old file consumed under the lock and the absent-new move done under it (A), the live-session wait (B), known-entries-only removal and thestatusLinestop (C), the description and README (D).No reader fallback to the old directory: the issue accepts the short lane window (an absent snapshot classifies as unknown, reactive-only), and the floor-drift gate requires every copy to name one path.
Changelog: a
majorfragment forrate-limits;patchfragments for every other plugin this change touches. Fragment files are namedrename-to-rate-limits-*.md, so no tracked path carries the old name.Released entries in
plugins/rate-limits/CHANGELOG.mdthat would name something removed before the rename now describe it: thecheckskill (5), the namespacedbandcommand (3), the statusline shim path (4, viareword-removed-names.py), the per-sessionspool/path (1, by hand), and the removed tee's environment variables (RLG_TEE_*andRLG_SETTINGS_DOC, 8 lines in [0.12.0], [0.8.0], [0.7.27], [0.7.0], [0.6.1] and [0.6.0], now "the tee's async switch variable" and the like). A repository-wide search for tokens built from the new name (rate_limits_*,RATE_LIMITS_*,rate-limits:<x>,/rate-limits <x>,rate-limits/<path>) finds only names that exist today.Old name
Every remaining hit of
git grep -n -i -e rate-limit-guard -e rate_limit_guard -e ratelimitguard -e 'rate limit guard'and ofgit grep -n -i -E 'rate[- ]limit[- ]guard'is a migration line, except the two allowed hits listed after the table. Removal condition for all of them: every lane has converged onrate-limits@melodic-software, no session running the old plugin remains, and no machine holds~/.claude/rate-limit-guard/.plugins/rate-limits/skills/setup/SKILL.mdplugins/rate-limits/skills/setup/SKILL.mdcheckstep 6, the drift rowplugins/rate-limits/skills/setup/SKILL.mdapplymigration: its subject, the live-session wait, thestatusLinestop, the stop-record block and its old-directory lock, and the removal block and its lockplugins/source-control/skills/babysit-prs/scripts/verify-legacy-fails.jsonhead_refof four recorded verifier FAILs: the real head branch of merged PR #9863 (fix/lane-rate-limit-guard), a fact about that artifact and not the plugin's name; the security lane asked for it back. Removal condition: the legacy-fails record drops PR #9863git ls-files | grep -i -e rate-limit-guard -e rate_limit_guard -e ratelimitguardprints nothing.Allowed hits, removal condition never:
plugins/source-control/skills/babysit-prs/scripts/babysit_gh.py:341andtests/test_babysit_gh_rate_guard.py:1: "the rate-limit guard" there isbabysit_gh's guard against GitHub's own API rate limit, a different thing from this plugin._rlg_*function names in the code-tidying eval fixtureplugins/code-tidying/evals/fixtures/statusline-stamp.sh.txtand its casereal-statusline-stamp-aggressive/case.yaml: the removed tee's real identifiers in a fixture, not the plugin name.The spaced phrase "rate-limit guard" wherever it named this plugin, its floor or its pause (21 places in skills, evals,
config-resolution.md, the loop-lane contract and released entries) now reads "rate-limits floor", matching the renamed headings.Reported, not renamed: the telemetry field
guard_mode(work-loopSKILL.md:96, babysit-loopSKILL.md:307) is a recorded key readers parse, so it keeps its name; the prose term "guard mode" (18 places) names that field's value and does not contain the plugin name. The removed tee's nine helper function names in releasedrate-limitsentries ([0.8.0], [0.7.31], [0.7.30], [0.7.15], [0.6.1], [0.6.0], [0.5.7]) are described instead of named, the same as the removed variables.Released entries corrected in place (rule in the header of
scripts/check-changelog-parity.sh, #2388; every## [<v>]heading kept,--check-preservedgreen). Each plugin's fragment names its versions:rate-limits: the title and [3.0.16], [3.0.0], [2.1.10], [2.1.9], [2.1.8], [2.0.10], [2.0.2], [0.17.0], [0.16.0], [0.15.0], [0.13.0], [0.12.0], [0.11.0], [0.10.4], [0.10.0], [0.8.37], [0.8.30], [0.8.24], [0.8.22], [0.8.17], [0.8.16], [0.8.14], [0.7.18], [0.7.0], [0.5.7], [0.5.6], [0.5.5], [0.4.3], [0.3.0], [0.2.1], [0.1.0], [0.8.0], [0.7.27], [0.6.1], [0.6.0]actionlint[0.7.1];bash-format[0.6.3];biome-format[0.5.2];context-budget[0.6.14];dometrain[0.1.3];eol-normalizer[0.5.2];firecrawl[0.5.5];go-format[0.2.2];guardrails[0.16.1];harness-config[0.40.17];knowledge[0.9.5];machine-health[0.7.1];markdown-format[0.6.4];miro[0.2.3];planning[0.26.3];playwright[0.6.7];powershell-format[0.5.2];python-format[0.5.2];repo-hygiene[0.10.17];skill-quality[0.10.2];spelling[0.3.2]context-usage: [0.12.0], [0.7.73], [0.7.62], [0.7.60], [0.7.56], [0.7.54], [0.7.53], [0.7.51], [0.7.31], [0.7.28], [0.5.3], [0.4.0], [0.3.0]desktop-notification: [0.6.24], [0.5.2]disk-hygiene: [0.20.33], [0.9.4]docs-hygiene: [0.26.9], [0.26.7], [0.26.5], [0.21.38], [0.21.25], [0.21.22], [0.14.0], [0.12.1]harness-ops: [3.14.0], [0.29.0], [0.21.1]plugin-quality: [0.7.19], [0.7.17]session-flow: [0.48.7], [0.34.14], [0.23.7]source-control: [0.79.21], [0.79.20], [0.79.13], [0.79.9], [0.74.0], [0.55.55], [0.55.28], [0.49.1], [0.39.0], [0.31.4], [0.24.0], [0.36.0], [0.33.1]work-items: [0.49.4], [0.49.3], [0.48.7], [0.48.3], [0.39.64], [0.39.38], [0.34.1], [0.29.0], [0.22.0], [0.28.0], [0.25.4]docs/contracts/loop-lane/CHANGELOG.md(eleven lines: five plugin-name hits and six mentions of the §6 binding or floor) anddocs/contracts/retired-conventions/CHANGELOG.md(one line).Verification
claude plugin test plugins/rate-limits: 152 pass, 0 fail (hooks/rate-limits.test.ts);claude plugin validate plugins/rate-limits: passed with warnings.claude plugin test plugins/rate-limits152 pass,scripts/check-changelog-fragments.sh --check45 fragments valid,scripts/check-line-citations.pyexit 0, and the extractedapplystep 4 and step 5 blocks 25/25 against throwaway homes.plugins/rate-limits/scripts/check-mod-load.test.sh9 PASS, 0 FAIL;hooks/record-rate-limit-stop.test.sh19/19 (re-run after theCONTRACT_DIRrename).node --test lib/write-snapshot.test.mjs: 30/30.lib/hook-utils.test.sh: 703 pass, 1 fail:prereq_notice_to: printed command(it printed this host's installedbiomepath). The case expectsbiometo be absent (lib/hook-utils.test.sh:1849matches'FAIL biome (cli, required): '*), and this host hasbiomeinstalled through mise, so the failure is this host's, not this change's. The editedcheck_enabledcases (lines 3724-3777) pass.scripts/check-loop-lane-floor-drift.sh: exit 0, 7 consumers match;check-loop-lane-floor-drift.test.sh28/28.test_install_state.py(pytest viauv run --with pytest): 91 passed. Babysit-prstest_babysit_verify_index.py(loadsverify-legacy-fails.json): 48 passed.claude plugin test plugins/context-usage: 341 pass.scripts/validate-plugins.sh --only <the 33 touched plugins>: all manifests and the catalog validated (the pre-push hook first caught the org name in the autonomy fragment, now removed).validate-plugin-contracts.mjs: 65 setup skills pass with the newapply.origin/main(chore(release): release 19 plugins #15755 release, refactor(python-format)!: rename ruff-format plugin to python-format #15783 python-format rename):check-changelog-fragments.sh --check(45 valid) and--check-required origin/main(33 plugins),check-changelog-parity.sh --check,--check-preserved origin/main(33 changelogs, 7,129 headings) and--check-bump;sync-shared-copies.sh --check(820 copies); catalog and cheat sheet--check;check-cross-plugin-source-drift.sh,check-plugin-catalog-enablement.sh,check-plugin-manifest-presence.sh,check-killswitch-hoist.sh,check-hook-userconfig-argv.sh; landscape--drift-against: no gating drift. The pre-pushcheck-affectedpassed on the pushed head.scripts/release-plugins.shin a throwaway clone (before the main merge):rate-limits3.0.21 -> 4.0.0 (major), each other plugin a patch, and the new entry carries no old name.scripts/check-line-citations.py: exit 0 (no citation into the shifted setupSKILL.md).scripts/check-skill-precompute-compose.sh --all: 2 violations, both in other plugins (code-tidying, work-items), warn-only.validate-cases.py plugins/rate-limits/evals: warnings only, no failure; no rate-limits eval asserts check-only or cites setup line numbers.checkreporting the leftover directory. The leftover row is a load-time probe of$HOME/.claude/rate-limit-guard, and a case's scaffold writes only into the case workspace, so a case cannot arrange the leftover without writing under the running machine's real home; it would also add old-name hits. The setup-skill fixes after4b831eaa2fre-ran:claude plugin test plugins/rate-limits152 pass,record-rate-limit-stop.test.sh19/19, the changelog, catalog, cheat-sheet, shared-copies and plugin-contract checks,check-line-citations.pyexit 0, andvalidate-cases.py plugins/rate-limits/evals0 FAIL.setup apply(two as/rate-limits:setup apply); they now describe it ("the setup skill's shim install"). Bareapplymentions of that removed action in [0.7.x] and earlier entries, and context-usage's ownsetup applyin [0.3.0], are left as they are..githubsuite, typos, and the/docs-hygiene:rename-referencesapply flow (its pattern forms all contain the literal old token, which the case-insensitive grep above covers; a brace-split and abbreviation sweep found only the items listed above).rate[- ]limit[- ]guard(only the hits above, plus a line-break-aware sweep: none),check-changelog-fragments.sh --check(45 valid) and--check-required origin/main(33),check-changelog-parity.sh --check,--check-preserved origin/main(7,129 headings) and--check-bump, catalog and cheat sheet--check,sync-shared-copies.sh --check(820), the floor-drift gate (exit 0),check-line-citations.py(exit 0), andvalidate-cases.pyonplugins/source-control/evalsandplugins/work-items/evals(0 FAIL). The pre-pushcheck-affectedpassed.Remaining
Issue #15556 stays open after this PR:
enabledPlugins,uninstallPlugins, therenamedPluginsentry with itsdataDir(prepend: ["stop-events.jsonl"],activeDir: ".",activeSeconds: 600), and the dotfiles checks; its manifest check passes only after this PR merges.TeeDirectoryName = "rate-limit-guard"to"rate-limits", everyRateLimitGuard*identifier and file, and a release; then bump the dotfiles pin (.chezmoidata/claude-code-account-rotation.yaml,version: 2.16.1today). Until then the dashboard shows no quota once the new mod is on a host.fleet-convergeper lane: the acceptance checks in the issue (plugin list, no old directory, the new snapshot written, stop records carried over, the new MCP tool, saved values under the new keys).Review
defaultEnabled: falsebefore the rename and stays so.rate_limits_enabledtofalseunder the new id (bd5d294).verify-legacy-fails.json: the fourhead_refvalues are restored to the branch the verifier artifacts recorded (bd5d294). PR fix(ci): stop every lane GitHub call while rate limited #9863 is merged, so the entries held nothing either way.Related
.changes/rate-limit-guard/rename-to-context-usage-829a4253.md; the merge took that deletion. Any.changes/rate-limit-guard/fragment that lands on main before this PR merges must begit mv'd into.changes/rate-limits/and its old name renamed; git raises no conflict.ruff-formatfragment moved to.changes/python-format/. The javascript-format rename (refactor: rename biome-format to javascript-format #15554) will touchplugins/biome-format/CHANGELOG.mdand.changes/biome-format/: whichever PR merges second mustgit mvthe other's fragment.🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB