mirror of
https://github.com/stablyai/orca.git
synced 2026-10-23 00:03:52 +00:00
Removing readSourceConstant matched a docblock far earlier in the file and deleted everything between, taking the imports and three functions with it. The script still parsed, still linted, and still passed `node --check` — it failed only when run, with `existsSync is not defined`, which is why it went unnoticed for two commits. The only end-to-end proof in this PR had been dead that whole time. Restored from before the deletion and the intended edit re-applied by itself. Now runs green: phase 1 kills a wedged daemon with real agents attached and confirms they die; phase 2 puts the identical wedge through the decision and shows the daemon unsignalled, both agents alive, and everything back with sessions intact on SIGCONT; phase 3 asserts the launcher holds — now including the unknown-hold, which is the branch this PR turns on. Lesson worth keeping: a syntax check is not a test. Running it is.