Skip to content

fix(skills): follow symlinks in iter_skill_index_files (salvage #11847) - #14230

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-17b001fb
Apr 23, 2026
Merged

teknium1 merged 2 commits into
mainfrom
hermes/hermes-17b001fb

Conversation

@teknium1

Copy link
Copy Markdown
Collaborator

Salvages #11847 by @xandersbell onto current main (substantive commit 6d5d2e9; the PR's other commits were stale-branch merge commits).

Passes followlinks=True to os.walk() in iter_skill_index_files. Users who symlink their ~/.hermes/skills/ directory to a dotfiles repo or shared location previously had their skills invisible to discovery — os.walk skips symlinked directories by default. This matches how skill discovery already walks into the user's skills dir as a regular traversal.

Closes #11847. Author attribution preserved via cherry-pick.

xandersbell and others added 2 commits April 22, 2026 17:43
os.walk() by default does not follow symlinks, causing skills
linked via symlinks to be invisible to the skill discovery system.
Add followlinks=True so that symlinked skill directories are scanned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Medium — degraded but workaround exists tool/skills Skills system (list, view, manage) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants