Answer architecture round 1: 0 🔴, 3 🟡; keep the slots and the memory share in machine_load, exit 125/126/127 as GNU wrappers do, point --help at the module

This commit is contained in:
2026-10-23 10:47:01 +02:00
parent 7c05bf414c
commit 66af309e71
12 changed files with 113 additions and 67 deletions
+2 -4
View File
@@ -44,10 +44,8 @@ copied into a folder per chunk under $LOOP_CLAUDE_TRANSCRIPTS/<key> (default roo
then each verdict, quoted answer, rejected judge reply, step-up and stop, each opened by its UTC
time. The layout, and when a copy is replaced, are in bin/transcript_archive/__init__.py.
Before each worker starts, loop-claude waits while less than a quarter of the machine's memory is
available, as /proc/meminfo's MemAvailable and MemTotal state, saying so once on stderr and reading
again each minute, so loops running at once do not push the machine into swap. Where the file cannot
be read, as off Linux, the worker starts at once.
Before each worker starts, loop-claude waits until a quarter of the machine's memory is available
(bin/machine_load/memory.py).
Every claude loop-claude starts runs the project's model, saved per <key> in
~/.claude/loop-claude-models.json and read each cycle, unless routing, below, puts the worker,