mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
cost-health started four subchecks at once, each running npx -y @claude-flow/cli@latest. With a cold npm cache the four first installs raced in one ~/.npm/_npx directory and left a broken install. Its memory reads then exited 1, and budget/_sessions read that as no data, so the budget check reported "no budget set" and Case 2 of the integration test failed about half the time. - health.mjs resolves the CLI once, serially, when it comes from npx (HEALTH_SKIP_WARMUP=1 skips it). - A non-zero memory list is reported as an error with the CLI's stderr (exit 2) by budget, burn, anomaly and projection. - New test-cli-failure-4711.mjs, in smoke step 48 and the CI workflow; the integration test runs with RUFLO_DAEMON_AUTOSTART=0. - ruflo-cost-tracker 0.31.2. Closes #4711 Co-Authored-By: RuFlo <ruv@ruv.net>