fix: Duplicate skills now follow stable source priority#1614
Conversation
Keep discovery roots in an ordered list while using a separate set for path deduplication, so duplicate skill names consistently honor the CLI-only, Assets, package, manifest, and cache priority.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughSkillSourceRootEnumerator now returns skill source roots in deterministic discovery order via an ordered list combined with a deduplication set, replacing prior HashSet iteration. A new test validates that GetSkillSourceInfos resolves overlapping skill names from the earlier-precedence source root, using a new WriteSourceSkill test helper. ChangesDeterministic Source Root Ordering
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
User Impact
Changes
Verification
dist/darwin-arm64/uloop compile --project-path <PROJECT_ROOT>(0 errors, 0 warnings)SkillInstallLayoutTests(11 passed)ToolSkillSynchronizerTests(52 passed)git diff --check