mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Multiple targets (e.g. universal/amp/kimi/replit) share ~/.config/agents/skills. Parallel sync caused concurrent goroutines to race on os.Symlink for the same destination, producing "file exists" errors. Fix: group entries by resolved target path so same-path targets run sequentially within one goroutine. Different-path targets remain fully parallel. Also addresses PR #52 review feedback: - audit: replace O(N²) findElapsed with O(1) index-aligned elapsed slice - test-brew-upgrade: explicit go check + mktemp -d (replaces || true and /tmp) Add 6 integration tests covering shared-path race condition, idempotency, --force mode, mixed paths, filters, and output verification.