Skip to content

Require version bump for changed Claude plugin guidance - #3

Draft
stephen-vakil wants to merge 1 commit into
mainfrom
codex/claude-plugin-semver-ci
Draft

stephen-vakil wants to merge 1 commit into
mainfrom
codex/claude-plugin-semver-ci

Conversation

@stephen-vakil

Copy link
Copy Markdown
Collaborator

Summary

Require a manifest version increase when a public plugin PR changes one of the three SOFA skills, plugin-guidance.json, or .mcp.json. Compare with the PR base commit on public main; an unrelated change can retain the same version. A version decrease always fails. The reviewer still chooses the appropriate patch, minor, or major increment.

The check runs in the existing package CI job. Full checkout history makes the PR base commit available. This is the public-repo CI requirement for the generated PR workflow in SOFA draft PR #835.

Validation

  • python3 -B -m unittest discover -s scripts -p 'test_*.py' -v — 11 passed
  • python3 -B scripts/check_package.py --base-sha 6de91dd1d8c34839c1cb4b103951089b5e794262 — passed
  • git diff --check — passed

The new tests failed on the baseline where changed guidance and a version decrease were accepted.

Merge protection

After CI reports the package job on this PR, set that existing job as a required status check on public main. The owner approved this separate settings change; no merge is performed here.

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.

2 participants