Compact the worker's context above 200k tokens, from item 231's evaluation of context cost, and file items 235 and 236
This commit is contained in:
@@ -47,6 +47,10 @@ time. The layout, and when a copy is replaced, are in bin/transcript_archive/__i
|
||||
Before each worker starts, loop-claude waits until at least a quarter of the machine's memory is available
|
||||
(bin/machine_load/memory.py).
|
||||
|
||||
Each worker's claude, and the session /talk opens, compacts its context once it passes 200k tokens,
|
||||
handed as CLAUDE_CODE_AUTO_COMPACT_WINDOW (bin/loop_claude/cycle/worker.py), so a long chunk
|
||||
re-reads less each turn; ~/.claude/CLAUDE.md → "Compact instructions" says what the summary keeps.
|
||||
|
||||
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,
|
||||
the session /talk opens and the judge on another rung, a model at an effort. A project without an
|
||||
|
||||
Reference in New Issue
Block a user