mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
20fc493c47
A skill root can live inside the workspace (the project-scope .claude/skills), and grep reports those hits relative to the workspace root while outside ones come back absolute. The attribution only stripped an absolute skill prefix, so an in-workspace root produced alpha/alpha/SKILL.md - and, worse, a path that no longer started with the skill name when the root itself was the workspace. Normalizing the hit to an absolute path before relativizing to the skill covers both, and the hit line is now matched with a pattern instead of a colon split so a Windows drive letter cannot split it wrongly. Found by running the REPL against a workspace-local skill root; the tool tests only covered roots outside the workspace, so they get that case now.