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

Merged
lilleman merged 14 commits from item-231 into main 2026-10-27 09:16:10 +01:00
Owner

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.

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.
lilleman added 1 commit 2026-10-27 00:13:10 +01:00
lilleman added 1 commit 2026-10-27 00:32:13 +01:00
lilleman added 2 commits 2026-10-27 00:38:15 +01:00
lilleman added 1 commit 2026-10-27 00:45:40 +01:00
lilleman added 2 commits 2026-10-27 00:51:41 +01:00
lilleman added 1 commit 2026-10-27 00:57:59 +01:00
lilleman added 1 commit 2026-10-27 01:06:28 +01:00
lilleman added 1 commit 2026-10-27 01:30:36 +01:00
lilleman added 1 commit 2026-10-27 02:11:08 +01:00
lilleman changed title from WIP: Compact the worker's context above 200k tokens, from item 231's evaluation of context cost, and file items 235 and 236 to 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 2026-10-27 02:11:50 +01:00
lilleman added 1 commit 2026-10-27 02:17:33 +01:00
lilleman marked the pull request as ready for review 2026-10-27 02:18:04 +01:00
lilleman added 1 commit 2026-10-27 09:08:20 +01:00
lilleman added 1 commit 2026-10-27 09:13:04 +01:00
lilleman merged commit b23bf4f9c3 into main 2026-10-27 09:16:10 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#376