fix(coding-agent): avoid duplicate symlinked skills in pi config (#3417)

- dedupe resolved skill entries by canonical path (realpathSync) with raw-path fallback matching loadSkills()

- preserve precedence by applying skill dedupe after resource precedence sorting (first winner retained)

- add tests to verify expected behavior

- closes #3405
This commit is contained in:
Ramiz Wachtler
2026-04-20 13:23:00 +02:00
committed by GitHub
parent cbe0e8304f
commit 2b45243817
3 changed files with 64 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed skill resolution to dedupe symlinked aliases by canonical path, so `pi config` no longer shows duplicate skill entries when `~/.pi/agent/skills` points to `~/.agents/skills` ([#3405](https://github.com/badlogic/pi-mono/issues/3405))
## [0.67.68] - 2026-04-17
## [0.67.67] - 2026-04-17