Repository navigation
Description
Refs: #15693
Split from the changelog release issue(s) above under the owner's decision of 2026-11-21 (melodic-software/architecture#148): one issue per handoff row, rows that edit the same file grouped.
Route: lane work. Basis: adopt: a declared floor enforced at install replaces a runtime check for the same fact; keep the runtime check until a probe shows install enforces it.
Problem
context-usage: declare the 2.1.287 mod floor in plugin.json engines["claude-code"] instead of a runtime check (2.1.323)
Row 7 of #15693 (key changelog:2.1.323..2.1.323:adopt:plugins/context-guard/scripts/check-mod-load.sh; the plugin is now context-usage, renamed in #15633). Required sentence: a plugin can declare its Claude Code version range in plugin.json engines["claude-code"], so a build below the mod floor never installs or loads it. Today the floor is read from prerequisites.json and reported at runtime.
On main: plugins/context-usage/scripts/check-mod-load.sh:21 reads min from plugins/context-usage/prerequisites.json:36 (2.1.287). No plugin.json in the repo declares engines. When the row was filed, engines was not on the plugins manifest-reference page (docs-lag).
rate-limits: declare the 2.1.287 mod floor in plugin.json engines["claude-code"] (2.1.323)
Row 8 of #15693 (key changelog:2.1.323..2.1.323:adopt:plugins/rate-limit-guard/scripts/check-mod-load.sh; the plugin is now rate-limits, renamed in #15827). Required sentence: a plugin can declare its Claude Code version range in plugin.json engines["claude-code"], so a build below the mod floor never installs or loads it. Today the floor is read from prerequisites.json and reported at runtime.
On main: plugins/rate-limits/scripts/check-mod-load.sh:23 reads min from plugins/rate-limits/prerequisites.json:36 (2.1.287). No engines key in the plugin's manifest.
docs(contracts): mod-authoring floor lives in README prose; engines["claude-code"] could enforce it at install (2.1.323)
Row 9 of #15693 (key changelog:2.1.323..2.1.323:adopt:docs/contracts/mod-authoring/README.md). Required sentence: version floors live only in README prose and runtime checks. engines["claude-code"] lets install and update enforce the floor and pick the newest fitting version.
On main: docs/contracts/mod-authoring/README.md:135 says "Declare Claude Code 2.1.287 as the floor in the plugin's README with the version tested against". The contract does not mention engines. Related prose floors, as the row lists them: docs/contracts/hook-config-delivery/README.md, docs/contracts/hook-budget/README.md, plugins/review/skills/code-review/SKILL.md.
Done when
- A probe or the manifest-reference page confirms that install enforces
engines["claude-code"]; until then the runtime checks stay. - If adopted:
plugins/context-usage/.claude-plugin/plugin.jsondeclares">=2.1.287", and check-mod-load.sh plus prerequisites.json either read that or say why they keep their own copy. -
plugins/rate-limits/.claude-plugin/plugin.jsondeclares">=2.1.287", and check-mod-load.sh reads it or says why it keeps its own copy. - the mod-authoring contract requires
engines["claude-code"]in plugin.json as the floor's home, andscripts/validate-plugins.sh(or a contract check) fails a mod plugin without it.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: plugin.json for context-usage and rate-limits, their check-mod-load.sh and prerequisites.json, the mod-authoring contract, and scripts/validate-plugins.sh; read by plugin installers, maintainers and CI.
Reversible: yes; revert the manifest, contract and validator edits (the runtime checks stay until a probe confirms install enforces the floor).
Open questions: none
Understood: declare
engines["claude-code"]: ">=2.1.287"in the context-usage and rate-limits manifests, require it in the mod-authoring contract, and make validation fail a mod plugin without it. The issue already gates adoption on a probe or the manifest-reference page confirming install enforces the field, and keeps the runtime checks until then. That is the first step. Parent: #15693. I found no open duplicate and no merged PR that already covers it.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"30dcccf36fcd5f26f7a908780b2f359fa290b6f4aca36c05f00189311e568989","body_sha256":"ab8238a28df9e21db6ed29be400436972882189eb97173118570187fd29e1308"}
melodic-automation-lanes commentedon Nov 21, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44892125719, the work-resolve-issue run that
agent-readystarted, 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-21T10:03:10Z. work-unblock has now removed and addedagent-readyback 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 thekill-switchwait.github-actions commentedon Nov 21, 2026