Files
hermes-agent/agent
Teknium 3562528727 fix(skills): keep the published skill map only when a skill root can't be stat'ed
_skill_dirs_signature caught every Exception and returned None, and None
keeps the published command map. A bug in the signature code would
therefore pin a stale /command map for the life of the gateway, logged
only at debug. It now catches OSError (an unreadable or vanished root)
and lets anything else raise, as the catalog scan already does when it
takes the same signature.

Test: test_only_an_unreadable_skill_root_keeps_the_published_map
(TypeError was swallowed -> raises; PermissionError still gives None).

Review finding by @alt-glitch on #140472
Refs #134889 (CFG-8)
Refs #140337
2026-10-17 08:03:50 -07:00
..
…
…
…
…
…
…