You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(sync): targets sharing a skills folder with different naming or mode aren't reported as a conflict #498
Two targets that sync skills into the same folder with different target_naming (or different mode) undo each other on every sync, but skillshare doesn't report them as a conflict.
SkillsFolderConflicts (internal/config/path_overlap.go) only flags a shared folder when sameSkillsSettings returns false, and sameSkillsSettings compares only include and exclude. So sync and doctor fall back to the generic "targets share skill folders" hint instead of the "each sync undoes the other" warning with the command to keep one.
Repro (merge mode, one nested skill frontend/dev):
sync 1: aflat links frontend__dev, then bstd migrates it to dev.
sync 2: backup is taken, aflat reports 1 linked · 1 pruned, bstd migrates again.
Both syncs and doctor show only the generic shared-path hint.
Fix: compare Mode and TargetNaming (using the effective naming, so an unset value equals the global default) in sameSkillsSettings, and add the cases to path_overlap_test.go.
Found while reviewing #497, which would add a third naming value.
Activity
docs(changelog): rewrite the 0.25.4 entry for users
fix(sync): flag shared skills folders whose mode or naming differ