Files
junction/tests
Hermes beb9f4be16 tests: refuse to start when two sections use the same port
A port collision is the most misleading failure this suite can produce: the
second listener dies with "Address already in use" and the checks then blame
its behaviour. Two happened on 2026-11-18 -- a new stub on 9995 (section 16's
RICH/POOR) and a new router on PORT+16 (ctx-vision's) -- and both cost a full
suite run to diagnose.

check_ports.py resolves PORT+N, FPORT+N and the P_* assignments across every
sourced script, then reports any listener port used twice. run.sh aborts on a
collision before starting anything. Verified by planting both collisions in a
copy: the scan names cache.sh:67 vs run.sh:641 (9995) and cache.sh:70 vs
ctx-vision.sh:83 (8151); the real tree passes.

Full suite with the check in place: 537 OK, 0 FAIL, PASS.
2026-11-18 23:03:22 +00:00
..
2026-11-04 23:40:47 +00:00
2026-11-11 18:03:45 +00:00