Files
hermes-agent/scripts
alt-glitch e22250cf17 fix(code-health): the file-size fix text asks for a folder, guarded by a discovery test
The FILE_LINES/CC/FUNC_LINES fix text told contributors to split a big file
into a flat `<stem>_<topic>.py` sibling, which is how tools/ grew to 315 flat
files and tests/hermes_cli/ to 1,928. It now says to turn `<stem>.py` into a
`<stem>/` package and move code into a topic module there.

Inside a tools/ package, discovery imports only `<pkg>/tool.py`
(tools/registry.py `_tool_module_candidates`), so a module named anything else
that calls registry.register() at import is dropped without an error. A new
test lists every tracked module under tools/ that registers at import and
fails, naming the module, when discovery would not import it. Root AGENTS.md
and CONTRIBUTING.md carry the same rule.
2026-11-16 11:52:44 +05:30
..
…