docs(CLAUDE.md): the resource rule #2

Merged
mnovak merged 1 commits from docs/resource-rule into main 2026-11-29 01:56:32 +01:00
Showing only changes of commit 06ce17fbfe - Show all commits
+10
View File
@@ -16,3 +16,13 @@ Read HANDOVER.md and the day's docs/NN_*.md before writing code.
## Workflow
(D)TDD doc → tests → code. Branch, PR with critical self-review, merge --no-ff, push, verify.
No AI attribution in commits. No binaries in git. Say which build you are describing.
## This PC
- **No build or test while this PC is too busy** (Mark, 2026-11-25; drive limit raised 2026-11-29). Never start a
build or a test run (cargo, npm/pnpm, Playwright, fuzz, e2e, Fabrica runs on this PC) while the CPU or the RAM is
more than 90 % used, or any drive the run writes to (D:, E:, F:) is more than 95 % used. Check first; if one is
over, don't start, wait and check again. A run already going may finish. Never stop other sessions' work to make
room. Merging, pushing and editing files are not builds. In PowerShell: CPU
`(Get-CimInstance Win32_Processor | Measure-Object LoadPercentage -Average).Average`; RAM
`$o=Get-CimInstance Win32_OperatingSystem; (1-$o.FreePhysicalMemory/$o.TotalVisibleMemorySize)*100`; drives
`Get-PSDrive D,E,F`, used / (used + free).