[docs] KeepSafe: Analysis, review, lessons, and G0.11 closed

This commit is contained in:
2026-11-02 00:44:24 +01:00
parent e63563755b
commit 55fc14b125
9 changed files with 174 additions and 8 deletions
+14
View File
@@ -31,3 +31,17 @@ better source of versions than the registry.
**How to apply it.** Start a new repository from a sibling's resolved versions, and
pin them exactly. Unpin deliberately, in its own commit, after upgrading Node (G0.20).
## A rule checked by reading a number is broken by the next command
**What happened.** CLAUDE.md §5.7 says not to start a full run above ~80 % CPU. Three
times on 2026-11-02 a run started above it. Once the load was not checked at all; twice it
was read (85 %, then 100 %, another project's tests) and the run started anyway, once
because the check and the run were chained in one command that did not depend on it.
**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.