fix: stale update banner + skill sync dirty worktree crash #358

Merged
jason.woltje merged 1 commits from fix/cli-sync-issues into main 2026-04-03 02:04:06 +00:00
Owner

Summary

  • Update checker: only cache registry latest version; always check installed version fresh via npm ls — fixes false 0.0.3 → 0.0.4 banner after upgrading
  • Skill sync: use git status --porcelain for dirty detection (catches untracked files), stash with --include-untracked, abort stale rebase on pull failure, print tip directing users to skills-local/
  • Bump @mosaic/mosaic and @mosaic/cli to 0.0.5

Test plan

  • Typecheck: 36/36 green
  • Lint: 20/20 green
  • Format: clean
  • Unit tests: 41/41 pass (including update-checker tests)

🤖 Generated with Claude Code

## Summary - **Update checker**: only cache registry latest version; always check installed version fresh via npm ls — fixes false 0.0.3 → 0.0.4 banner after upgrading - **Skill sync**: use git status --porcelain for dirty detection (catches untracked files), stash with --include-untracked, abort stale rebase on pull failure, print tip directing users to skills-local/ - Bump @mosaic/mosaic and @mosaic/cli to 0.0.5 ## Test plan - [x] Typecheck: 36/36 green - [x] Lint: 20/20 green - [x] Format: clean - [x] Unit tests: 41/41 pass (including update-checker tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jason.woltje added 1 commit 2026-04-03 02:03:47 +00:00
fix: stale update banner after upgrade + skill sync dirty worktree crash
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
4b85395992
Update checker: only cache registry latest version, always check installed
version fresh — fixes false "0.0.3 → 0.0.4" banner after upgrading.

Skill sync: use git status --porcelain for dirty detection (catches untracked
files), stash with --include-untracked, abort stale rebase on pull failure,
and print tip directing users to skills-local/ for persistent customizations.

Bump @mosaic/mosaic and @mosaic/cli to 0.0.5.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit 0cf80dab8c into main 2026-04-03 02:04:06 +00:00
jason.woltje deleted branch fix/cli-sync-issues 2026-04-03 02:04:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#358