Skip to content

version-bump: a plugin change without a version above its base's fails CI - #462

Merged
SSFSKIM merged 2 commits into
mainfrom
version-bump-gate
Nov 6, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
version-bump-gate

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 6, 2026

Copy link
Copy Markdown
Owner

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 plugin root above it (moved up from audit.root); paths matching the plugin's unshipped globs (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.
  • The version-bump ci-kit 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 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.
  • Root CLAUDE.md's version-bump convention names the local check and the unshipped list.

Tests: tests/version-bump/test-bump-version.sh gains the --since cases (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 in cmd_since was checked by mutation: every mutant fails the suite.

Sminos-Session: to-human-style-rollout#d40bc9ee (doperpowers on macbook)

…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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T01:14:15.090066Z 932ad98 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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)
@SSFSKIM
SSFSKIM merged commit 0a402f1 into main Nov 6, 2026
21 checks passed
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.

1 participant