Skip to content

feat(plugins): declare the 2.1.287 mod floor in plugin.json engines "claude-code" - #17943

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-17896-44922191288-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-17896-44922191288-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17896

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Upstream confirms that install enforces engines["claude-code"]: the manifest reference documents the field (a semver range, read from Claude Code 2.1.323), and the 2.1.323 changelog says a plugin outside its range is not installed, updated or loaded. So all 8 plugins that ship a mod now declare ">=2.1.287", and the mod-authoring contract makes that field the floor's home. scripts/test-plugin-mods.sh, which validate-plugins.sh runs, now fails a mod plugin that has no range, or whose range is not ">=" the claude version floor in its prerequisites.json. The runtime checks stay, and check-mod-load.sh, the READMEs and the contract say why: a 2.1.323+ build always meets ">=2.1.287", so in practice the field never refuses an install. Builds from 2.1.76 to 2.1.286 drop the field and load the plugin with the mod off, so check-mod-load.sh and the shared prerequisites checker still read the floor from prerequisites.json, which the new check holds equal. Design choices: the check covers every mod plugin (8, not just the 2 the issue names), because the issue asks validate to fail any mod plugin without the field. check-mod-load.sh keeps reading prerequisites.json and does not switch to plugin.json, which would also break its tests and the eval scaffolds that copy only prerequisites.json. desktop-notification declares 2.1.287, its mods floor, even though its toast-forwarding option needs 2.1.295. Side effect: Claude Code 2.0.15 through 2.1.75 refuse a manifest that has engines, so desktop-notification's settings hook and session-telemetry's audit command hooks and sink-launcher refresh no longer load there; their READMEs and fragments say so.

Not verified

  • scripts/test-plugin-mods.test.sh and the validate-plugins mod pass were not run here: check-affected skipped 'claude plugin test (mods)' and the other validate-plugins steps that run code from the checked tree, and this lane cannot run bash test scripts directly; left to the PR's CI
  • comment-hygiene, size-check and typos were skipped by check-affected (fetch denied, script missing, typos not installed); comment-lint is CI only
  • tidy: not run, because the change is over the tidy cutoffs (24 files, several areas) and touches the shared path scripts/
  • No live probe of engines enforcement on a real install; done-when 1 rests on the manifest-reference page plus the 2.1.323 changelog entry
  • The related prose floors row 9 lists (docs/contracts/hook-config-delivery, docs/contracts/hook-budget, plugins/review/skills/code-review/SKILL.md) were left unchanged: no done-when item covers them

Fix

  • plugins/context-usage/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/rate-limits/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/desktop-notification/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/themes/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/session-telemetry/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/plugin-profiles/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/display-redaction/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • plugins/context-budget/.claude-plugin/plugin.json: adds engines {"claude-code": ">=2.1.287"}
  • scripts/test-plugin-mods.sh: new engines_error check fails a mod plugin with no engines["claude-code"] range, or one other than ">=" the min on the first prerequisites.json entry that detects claude; the header lists the new exit-1 cause
  • scripts/test-plugin-mods.test.sh: every mod fixture now gets a manifest with engines; adds cases for a missing range (fails), a range that differs from the prerequisites floor (fails) and a range that matches it (passes)
  • docs/contracts/mod-authoring/README.md: Packaging requires engines["claude-code"] in plugin.json as the floor's home, says why prerequisites.json keeps an equal runtime copy, describes the new validator check, and adds an engines pointer with As of and Recheck trigger lines
  • plugins/context-usage/scripts/check-mod-load.sh: header says why the script keeps its own copy of the floor (builds before 2.1.323 do not read engines)
  • plugins/rate-limits/scripts/check-mod-load.sh: header says why the script keeps its own copy of the floor (builds before 2.1.323 do not read engines)
  • plugins/context-usage/README.md: Requirements names engines as the declared floor and check-mod-load.sh, in place of the removed check skill, as what compares against the prerequisites.json copy
  • plugins/rate-limits/README.md: same Requirements update, plus 2.0.15 through 2.1.75 refusing the manifest
  • plugins/desktop-notification/README.md: the settings-hook line notes 2.0.15 through 2.1.75 refuse a manifest that declares engines
  • plugins/session-telemetry/README.md: Requirements notes that 2.0.15 through 2.1.75 refuse a manifest that declares engines, so the audit rows and the sink-launcher refresh do not load there, and which builds read or ignore the field
  • .changes/context-usage/work-resolve-issue-issue-17896-44922191288-1-08d46910.md: patch fragment
  • .changes/rate-limits/work-resolve-issue-issue-17896-44922191288-1-0782908b.md: patch fragment
  • .changes/desktop-notification/work-resolve-issue-issue-17896-44922191288-1-2590a467.md: patch fragment
  • .changes/themes/work-resolve-issue-issue-17896-44922191288-1-624f3391.md: patch fragment
  • .changes/session-telemetry/work-resolve-issue-issue-17896-44922191288-1-4419b694.md: patch fragment, now naming the hooks that no longer load on 2.0.15 through 2.1.75

Verification

The runner ran each check from the base copy against 8b42433:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //code.claude.com/docs/en/plugins/manifest-reference: the Fields table documents engines as the Claude Code versions the plugin works on, a semver range under claude-code such as ">=2.1.400", which needs Claude Code 2.1.323 or later; 2.0.15 through 2.1.75 reject a manifest with the…
  • read https: //raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md (2.1.323): "Added engines["claude-code"] to plugin.json: plugins outside their stated Claude Code version range are not installed, updated or loaded", and install and update choose the newest version that fits
  • read https: //code.claude.com/docs/en/plugins/loading: says nothing about engines
  • read https: //code.claude.com/docs/en/plugins/troubleshooting (first 100000 characters): a claude-code value that does not parse as a semver range draws a validation message and is ignored at load time
  • check-changelog-fragments: all 8 fragments valid
  • check-changed-skills: no changed skills, nothing to gate
  • check-affected: the first run failed shellcheck SC2016 on template literals in the node -e script, fixed by string concatenation; the final run gave 15 passed, 8 skipped over 24 changed files
  • fresh-context review subagent over the whole diff: 5 findings. Fixed: the floor lookup missed plugin-profiles' claude-mods entry, two README lines were inaccurate for 2.0.15-2.1.75, and the 'below the floor still loads' wording; the fixes are re-checked by the final check-affected run above.…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44922191288

Left out: the items under Not verified.

Related

#17896

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 44923823712, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44923823712

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 8 inline finding(s) on 8b424332aee40c2c2c1d7677e64b832d0451b10e; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed cc19c5bda6309950ca837775ec401073aba4d7a0: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17943, changes since bd6675b9 (blocking findings only)

No security issues in this push. This lane already reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings.

What changed since the last review

I read every hunk of both files in scope:

  • scripts/test-plugin-mods.sh (line 39): removes the trailing argument comment # <plugin dir> from the engines_error() definition. The function body does not change.
  • scripts/test-plugin-mods.test.sh (lines 34 and 39): removes the argument comments from the manifest() and claude_floor() test helpers. Neither body changes.

Checks

  • Comments only: the push removes three shell comments. No command, argument, quoting, path or control flow changes. Neither file is a trusted path, a standing instruction, a trust control, a merge hold or a manifest.
  • Earlier manifest flags: the eight manifest engines flags from the review of 8b424332 are on plugin.json files this push does not touch. Those files are outside this incremental scope, so I don't raise them again here.
  • PR context: I found no text in it that tries to direct this review.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed cc19c5bda6309950ca837775ec401073aba4d7a0: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #17943, incremental (bd6675b → cc19c5b)

This lane already reviewed an earlier head, so this review reports blocking findings only.

No findings. I read every hunk of both files in the incremental scope:

  • scripts/test-plugin-mods.sh: the push removes the trailing # <plugin dir> comment from the engines_error() { line. The function body is unchanged.
  • scripts/test-plugin-mods.test.sh: the push removes the trailing argument comments from the manifest() { and claude_floor() { lines. Both function bodies are unchanged.

In bash, a trailing # comment after { does not affect how the function parses or runs, so these edits do not change behaviour. Neither file matches a trusted-path glob, and this push changes no manifest. The settled engines threads are on plugin manifests that this push does not touch, so they stay settled.

Loosened checks: none; the push removes only comments. Loosened checks would be marked: fail. That is the default, because the prompt has no loosened_check_verdict: or loosened_check_patterns: line. The prompt also has no loosened_check_decision_record: line, so I did not check the citation requirement.

Embedded text: none in the incremental scope.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback

Run 44925014629, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44925014629

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM66ZLGX
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch

Run 44925014629, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed bd6675b
Run 44925014629

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on bd6675b.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback

Run 44925014629, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44925014629

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: an adjudicator found that a disputed review finding turns on what the change is meant to do, which a person decides.

Reason: intent

  • Reason: feedback-question-intent
  • Resume key: bd6675b9c370e85ba7e0708f424fd95e02b4b9c0 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=17943 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=17943 -f activity=address-feedback

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/report-escalation

Run 44925014629, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44925014629

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lint Repo's comment-lint failed on scripts/test-plugin-mods.sh:39 (run
44925899348): engines_error's `# <plugin dir>` note sits outside the
necessary posture. Its one caller passes the plugin directory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head cc19c5bda6309950ca837775ec401073aba4d7a0, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=cc19c5bda6309950ca837775ec401073aba4d7a0 rubric=10.4.5 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit ddb8f68 Nov 21, 2026
97 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17896-44922191288-1 branch November 21, 2026 17:53
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit ddb8f68a1b1a52a1891a37d8b1f3753f8463041a; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugins: declare the 2.1.287 mod floor in plugin.json engines["claude-code"] (2.1.323)

1 participant