mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
The graph-trajectory smoke's TEST 2 (post-task → reinforced-by edge) forwards into @ruvector/ruvllm SonaCoordinator.recordTrajectory(), whose first-call SONA adapt step allocates GB-scale and OOMs even at a 6 GB heap (observed: 4 GB → 6 GB raise didn't help, heap climbed to 6063 MB before SIGABRT). The graph-edge contract the smoke is asserting doesn't depend on that path. Add CLAUDE_FLOW_SKIP_RUVLLM_TRAJECTORY env-var guard in front of the ruvllm.recordTrajectory call in intelligence.recordTrajectory. Default behavior unchanged (env unset → forward as before). Set the env in the v3-ci.yml graph-trajectory smoke step + drop NODE_OPTIONS back to 4 GB so a future regression in the graph path itself can't hide under headroom. The underlying allocation profile in @ruvector/ruvllm SonaCoordinator is still the real follow-up — try/catch can't rescue this because JS heap OOM aborts the process, so the guard has to live before the call. Co-Authored-By: RuFlo <ruv@ruv.net>