Files
hermes-agent/scripts
BearHuddleston b82eee3030 fix(ci): run the tree-wide lint guards on every pull request
The no-tmp, shebangs and agents-md guards scan files of every lane:
catalog YAML, docs, TypeScript, frontend AGENTS.md files. lint.yml gated
them on detect's python lane, so a PR that changed only such files never
ran them, and main's push was the first run to report the finding. Since
November 7 five catalog entries landed a literal /tmp on main that way,
each followed by a fix commit: safe-swap (894544abd5 -> 1c7a475adb),
no-cap (aa078949dd -> a55a299b65), afterimage (d6ab9f5b9e -> #153055),
sentinel-governance (0e5409abe7 -> 778dc708c2) and memtomem (#152338,
e93b3da9a8 -> #157206).

They now run as unconditional steps of repo-guards.yml, which runs on
every event, beside the other stdlib-only tree scans. The scripts and
their arguments are the ones `scripts/check --only <name>` runs.

tests/ci/test_tree_guard_routing.py replays the real classifier's lanes
for a one-file diff through ci.yaml and the workflows it calls, and
requires each guard to run exactly once. On the old workflows a catalog,
frontend, frontend AGENTS.md or docs-site diff ran each guard 0 times;
a Python diff ran each once.
2026-11-18 11:02:20 -06:00
..
…