Files
hermes-agent/tests/scripts
alt-glitch aa6d201dfd
Some checks failed
Live provider canaries / Live provider canaries (push) Has been cancelled
fix(code-health): packaged-imports models namespace packages; AGENTS.md names its exceptions
packaged-imports knew 69 packages while setuptools ships 181: pyproject's
packages.find leaves `namespaces` at its default of true, so folders
without __init__.py (most of plugins.*) ship too, and the 92 of them
holding Python were never scanned. The shipped set is now every
directory with tracked Python, plus its parents, filtered by `include`,
as setuptools does. Git paths are read as PurePosixPath, so the dotted
names also match on Windows, where str(Path) uses backslashes and the
guard found nothing. test_files_under_a_namespace_directory_are_scanned
fails on the previous guard.

Root AGENTS.md's package section disagreed with three area rules:
- "add none" now excepts the flat siblings tui_gateway/AGENTS.md (RPC
  methods) and tools/AGENTS.md (backends) still prescribe;
- the tools/environments/ example says its table still sits in
  terminal_tool_backends.py;
- input parsing also allows the area's wire model (Pydantic in
  tui_gateway).
Root is 12,038 of its 12,100 characters.

Both changes are the reviewer's patches as posted.
2026-11-16 11:52:44 +05:30
..