Give the worker's claude a 200k auto-compact window, from item 231's evaluation of context cost, and file items 235 to 241 #376
Reference in New Issue
Block a user
Delete Branch "item-231"
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?
Item 231. Measures what the 90 chunks since the routing figures' reset spent on context, by thread and token category at list prices, prices every thread's reads, measures read precision, simulates each option the item named, and trials the LSP tool, an outline tool, an output-cap hook and a Haiku scout on replayed review rounds and worker-like tasks. What ships: the worker's claude runs with a 200k auto-compact window (CLAUDE_CODE_AUTO_COMPACT_WINDOW), compacting at about 170k tokens, worth about 6% of all spend at 0.7 compactions per chunk, with the 19 chunks that compacted before showing no rise in review rounds or findings per message; loop-claude's judge no longer reads a compaction summary as the human's words; CLAUDE.md gains a Compact instructions section. docs/decisions.md records the evaluation and every option's figures. Items filed: 235 (measure the first 20 chunks under the window), 236 (question: the principles audit's reading scope), 237 (principle: judge's parameters), 238 (defect: the security pass's skill scans nothing from a subagent outside the worktree), 239 (lilleman: block re-reads of unchanged file ranges), 240 and 241 (questions: a reading rule for workers, a scout for reviewers). Item 231 removed; items 233, 234, 52 and 102 refreshed. The PR waits unmerged for lilleman's yes on the window, as the item asked where quality is hard to tell. No rule override.
WIP: Compact the worker's context above 200k tokens, from item 231's evaluation of context cost, and file items 235 and 236to WIP: Give the worker's claude a 200k auto-compact window, from item 231's evaluation of context cost, and file items 235 to 241