fix: auto-migrate customized skills to skills-local/ on sync #359

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

1 Commits

Author SHA1 Message Date
Jarvis
84cd96bb96 fix: auto-migrate customized skills to skills-local/ on sync
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/push/ci Pipeline failed
Replace fragile stash/pop approach with intelligent migration:
when mosaic sync detects dirty files in the skills repo, it
identifies which skills were edited, copies them to skills-local/
(which takes precedence during linking), then resets the repo clean
so git pull always succeeds. User edits are never lost.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 21:09:58 -05:00