Skip to content

fix: reconcile plugin.json manifest with repo and CI-gate it#39

Merged
TMHSDigital merged 1 commit into
mainfrom
fix/plugin-manifest-drift
Jul 3, 2026
Merged

fix: reconcile plugin.json manifest with repo and CI-gate it#39
TMHSDigital merged 1 commit into
mainfrom
fix/plugin-manifest-drift

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Summary

Fixes #28. The .cursor-plugin/plugin.json manifest had drifted: pinned at 0.2.3 while the repo is at 0.5.0, and listing only skills and rules.

  • plugin.json: version bumped to 0.5.0; adds snippets (17 files), templates (2 dirs), and examples (4 dirs) arrays mirroring the existing relative-path style.
  • validate.yml: new validate-manifest job — every manifest path must exist on disk, every skill/rule/snippet/template/example on disk must be in the manifest, and manifest version must equal VERSION.
  • release.yml: new Sync plugin manifest version step rewrites the manifest version line on each release (the external release-doc-sync@v1 action can't be extended from here, so the pipeline owns the line directly).
  • AGENTS.md: documents the new job and version-line ownership.

Testing

Ran the validator locally: passes clean, and a deliberately broken manifest (dropped snippet + wrong version) produces exactly 2 errors and exit 1. The release-step regex verified to rewrite only the top-level version line.

🤖 Generated with Claude Code

- plugin.json: bump version to 0.5.0 and enumerate snippets (17),
  templates (2), and examples (4) alongside skills and rules
- validate.yml: new validate-manifest job asserting every manifest path
  exists, every content file/dir on disk is listed, and manifest version
  equals VERSION
- release.yml: new step rewrites the plugin.json version line on each
  release so the pipeline owns it
- AGENTS.md: document the new job and ownership

Closes #28

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation ci labels Jul 3, 2026
@TMHSDigital TMHSDigital merged commit 996083d into main Jul 3, 2026
9 checks passed
@TMHSDigital TMHSDigital deleted the fix/plugin-manifest-drift branch July 3, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix and CI-gate the stale .cursor-plugin/plugin.json manifest

1 participant