Skip to content

fix(#1295): CI validates the marketplace manifest, not the repo root as a plugin - #1296

Merged
admarble merged 1 commit into
mainfrom
fix/1295-validate-marketplace-file
Oct 4, 2026
Merged

admarble merged 1 commit into
mainfrom
fix/1295-validate-marketplace-file

Conversation

@admarble

@admarble admarble commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Claude Code CLI 2.1.289 added a lint that warns when a plugin root contains CLAUDE.md. "Plugin Structure Validation" runs claude plugin validate --strict ., which also lints the repo root as if it were a plugin. Since #1265 the plugin lives in plugin/, so the repo's own CLAUDE.md now fails the job under --strict.

The step now validates .claude-plugin/marketplace.json directly, the same way the /release skill's pre-flight already does. The ./plugin check is unchanged.

Fixes #1295

Evidence

  • main @ 3dd47c0 passed this job on CLI 2.1.288. PR fix(#1287): skills stop pre-approving broad shell access in allowed-tools #1291 @ fda34ab, whose diff doesn't touch plugin structure, failed it on 2.1.289 with root: CLAUDE.md at the plugin root is not loaded as project context.
  • Local run on main with CLI 2.1.289:
    • claude plugin validate --strict . exits 1 with that warning.
    • claude plugin validate --strict .claude-plugin/marketplace.json passes.
    • claude plugin validate --strict ./plugin passes.
  • No test pins the workflow command (git grep "plugin validate").

Test plan

  • Both new targets pass locally on 2.1.289
  • "Plugin Structure Validation" passes on this PR

🤖 Generated with Claude Code

… plugin

Claude Code 2.1.289 lints a plugin root's CLAUDE.md; validating '.' treats the dev repo root as a plugin and --strict fails on its CLAUDE.md. The release skill already validates .claude-plugin/marketplace.json directly.

Entire-Checkpoint: 54ab6aedb1ab
@admarble
admarble merged commit 8c7edc4 into main Oct 4, 2026
11 checks passed
@admarble
admarble deleted the fix/1295-validate-marketplace-file branch October 4, 2026 16:04
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.

fix(ci): claude plugin validate --strict . fails on CLI 2.1.289 — the repo root is linted as a plugin (root CLAUDE.md warning)

1 participant