[docs] CpuGuard: Record the guard in CLAUDE.md 5.7, its review, and G0.28 closed

This commit is contained in:
2026-11-02 00:51:46 +01:00
parent f9883e22ba
commit 8ee3e1ce28
7 changed files with 63 additions and 7 deletions
+3 -3
View File
@@ -42,6 +42,6 @@ because the check and the run were chained in one command that did not depend on
**Why it bit.** A rule that relies on a person reading a number before acting holds only
while nothing else is competing for attention.
**How to apply it.** Make the run refuse to start: a gate script that samples the load
and exits above 80 %, waiting or saying so. Until it exists, read the number in its own
step and decide before starting the run.
**How to apply it.** Make the run refuse to start. Done: `pnpm guard:cpu` (in
`tools/cpu-guard`) runs before every full run, waits up to three minutes, then refuses. Do
not set `ROSEA_CPU_MAX` to get past a busy desktop; it is for dedicated machines.