Repository navigation
version-bump: a plugin change without a version above its base's fails CI - #462
Merged
Merged
Conversation
…s CI The marketplace updates by version number alone, so a change to a plugin's shipped files merged under a number already installed never reaches a session. Replayed over main's last 400 changes (2026-09-28 to 11-05), 15 did that, the bold-italics to-human style (74ff0ff) among them. bump-version.sh --since BASE [HEAD] fails for each plugin whose shipped files differ between BASE and HEAD (the working tree by default) unless every declared version at HEAD is above every one at BASE. A path goes to the innermost plugin root above it (`root`, moved up from `audit.root`); the plugin's `unshipped` globs name the files that never reach a session. Everything else counts, so a new runtime directory is covered unasked. The version-bump gate runs it on PRs and ci-gate refs. ci-kit plans no gate on a push to main, so .github/workflows/version-bump.yml runs it there against main's earlier tip, catching a direct push and a PR whose base took its number after its last run. Sminos-Session: to-human-style-rollout#d40bc9ee (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
9 of 12 tasks
Retry fetching main's earlier tip once after a short pause, then fail with the commit named instead of letting a direct push bypass the version gate. Exclude web/clipper/test from shipped paths: sessions run the committed bundle, so test-only changes need no web release. Sminos-Session: to-human-style-rollout#d40bc9ee (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The marketplace updates by version number alone, so a change to a plugin's shipped files that lands under a number already installed never reaches a session, and nothing says so. The bold-italics to-human style (74ff0ff) sat uninstalled for a day this way. Replaying this check over main's last 400 changes (2026-09-28 to 11-05) flags 15: 13 are behavior changes that shipped late (mods, skills, agents, the to-human style, #420's devcloud keys, and one version that went backwards, 482053f); #455 (manifest descriptions) and #287 (type-only mod edits) are the borderline ones.
What changes
scripts/bump-version.sh --since BASE [HEAD]: for each plugin whose shipped files differ between BASE and HEAD (the working tree, untracked files included, when HEAD is omitted), every declared version at HEAD must be above every one at BASE. A path belongs to the innermost pluginrootabove it (moved up fromaudit.root); paths matching the plugin'sunshippedglobs (docs, tests, CLAUDE.md/README.md, the marketplace file, dev scripts) need no bump. Anything not listed counts, so a new runtime directory is covered without a config change.version-bumpci-kit gate runs it on PRs andci-gaterefs..github/workflows/version-bump.ymlruns the same check on each push to main against main's earlier tip. That catches a commit pushed straight to main, and a PR whose base took its number after the PR's last run.CLAUDE.md's version-bump convention names the local check and theunshippedlist.Tests:
tests/version-bump/test-bump-version.shgains the--sincecases (unshipped only, root vs nested ownership, HEAD vs working tree, untracked files, partial and lower bumps,--plugin, a plugin new since the base, a bad base). Each new branch incmd_sincewas checked by mutation: every mutant fails the suite.Sminos-Session: to-human-style-rollout#d40bc9ee (doperpowers on macbook)