mirror of
https://github.com/hanzoai/ci.git
synced 2026-11-23 08:08:30 +00:00
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.