Files
zeekay 309fdca999 fix(agent): run from a symlinked checkout, and a run that reports nothing fails
CI runs the tools from a symlinked path, where process.argv[1] is not
the path Node resolved main.ts to, so the script check was false and
the tool exited 0 having done nothing; bin/agent_test.sh went red on
it. The check compares real paths, and bin/agent now fails a run that
prints no report.

Testing: bin/agent_test.sh through a symlinked checkout (red with the
old check, green now); agent node --test 35/35.
Risk: low; only callers that name agent: reach it.
How to revert: git revert this commit.
2026-10-27 01:45:05 -07:00
..