Hold each heavy command for one of a heavy slot per 4 CPUs, and each worker until a quarter of memory is available #366
Reference in New Issue
Block a user
Delete Branch "item-222"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
run-heavy <command>, which runs a heavy command once it holds one of the machine's heavy slots (one per 4 usable CPUs, shared by every session through flock files under~/.local/state/run-heavy). ACLAUDE.mdrule and a new rule-hook rule,run-heavy, have sessions use it fordocker builds and mutation runs. loop-claude now waits to start a worker while less than a quarter of memory is available. The slots and the memory share live inbin/machine_load/.Overrides:
round-cap— the human granted the principles pass a fourth round; accepted.Comprehension check: paired ruling same against
4a0ba59(Mid A and the inherited architect both ruled Shape worse atrule_hook/rules.pyheavy; filed as item 223). Theloop-claude --helpplace keeps one sentence pointing atbin/machine_load/memory.py: the help is the loop's contract, and a loop that stops starting workers must be explainable from it.4a0ba5983c0f268d4