Skip to content

Bump status-bar to 0.2.0; refuse pushes that change a mod without a version bump - #12

Merged
evanwon merged 2 commits into
mainfrom
status-bar-0.2.0
Dec 3, 2026
Merged

evanwon merged 2 commits into
mainfrom
status-bar-0.2.0

Conversation

@evanwon

@evanwon evanwon commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • status-bar goes from 0.1.0 to 0.2.0, so claude plugin update status-bar installs the auto-compact gauge from Measure the status bar's context gauge against the auto-compact point #11 (context gauge measured against the auto-compact point).
  • The pre-push hook gains a check: a mod that differs from origin/main (changes to its tests/ aside) must have a different version in its .claude-plugin/plugin.json. A mod that origin/main doesn't have yet passes.
  • README's "Checks before a push" lists the new check.

Why

After #11 merged, claude plugin update status-bar reported "already at the latest version (0.1.0)" and installed nothing: it compares versions, and #11 didn't bump it. The hook now catches that before the push instead of after the merge.

For the reviewer

  • The hook sets MSYS2_ARG_CONV_EXCL='*' on the two git … origin/main:<path> calls. Without it, Git Bash rewrote the argument as a Windows path list, git cat-file failed, and the check passed every mod. The variable has no effect outside MSYS.
  • Tested with the hook on throwaway commits that were never pushed: a change to cache-alert's hooks/ without a bump was refused with the message; a change to cache-alert's tests/ only passed; this branch passed. All the hook's other checks passed on push.

🤖 Generated with Claude Code

evanwon and others added 2 commits December 3, 2026 07:43
…t a bump

claude plugin update compares versions, so the auto-compact gauge from #11
never reached an installed copy: status-bar was still 0.1.0. The pre-push hook
now fails when a mod differs from origin/main (tests aside) with the same version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@evanwon
evanwon merged commit ea674cd into main Dec 3, 2026
2 checks passed
@evanwon
evanwon deleted the status-bar-0.2.0 branch December 3, 2026 16:21
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