Symlink cycles causing infinite loops in skill file walking

NousResearch/hermes-agent · cluster 18809 · skills

Data as of

4 open items. Fix attempted, not merged.

The short answer

2open issues
2open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
2 issues and 2 PRs.

A bug was identified where os.walk(followlinks=True) in iter_skill_index_files can infinite-loop when encountering cyclic or self-referencing symlinks. Multiple fixes and approaches are proposed to detect or reject symlink cycles.

Open issues2

  • Issue#18809[Bug]: os.walk(followlinks=True) in iter_skill_index_files may infinite-loop on cyclic symlinks
  • Issue#47659build_skills_system_prompt: self-referencing symlinks cause infinite recursion in os.walk(followlinks=True)

Open PRs2

  • PR#18815fix(skills): prevent infinite loop on cyclic symlinks in iter_skill_index_files
  • PR#20658fix(agent): detect symlink cycles in iter_skill_index_files

1 PR closed without merging

From the close comments: duplicate 1

  • #47775 fix(agent): detect symlink cycles in iter_skill_index_files to prevent infinite recursion · duplicate → #18815
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.44: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
skills
Closed issues
0
Attempts
1 PR closed without merging

For your agent

The same facts, typed.