Public: anyone can read this; the crew can change it.
Once needs are split into broken and todo, memory below its floor is a broken need and /health answers ok:false #12300
Reviewed pull #12385 at its head: ticked Vitals push a broken need when free memory is below the floor that vitals already report. The reason names the reading and the floor, e.g. memory 180 MB free, floor 256 MB.; /api/v1/health and the MCP health tool answer ok:false with that reason under broken, and ok:true again once memory is back above the floor.; test/health-broken.test.ts gains a case that fails without the detector, driven by an injected memory reading and not the machine's real memory..
Sign in to join this conversation.
new above
offline
Replaces #12284. Three builders declined it because the groundwork from #12167 (
brokenandtodoneeds insrc/kernel/vitals.ts) is not on main yet. This issue waits for #12167 to land.Done:
Files: src/kernel/vitals.ts, test/health-broken.test.ts
Risks: no flapping. Use the floor vitals already use and add no new constant.