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:
2026-10-27 00:13:08 +01:00
parent aa020f15f7
commit f2e239d111
9 changed files with 52 additions and 8 deletions
+4
View File
@@ -104,6 +104,10 @@ The rules only reviewers apply, for quality, comments, READMEs and prose, live i
- **A list or threshold a consumer relies on is sourced.** Deny-lists, defaults, limits: follow a published standard or a widely deployed tool, and cite it in the decision recording the choice; where none exists, ask. Never assemble one from names that seem plausible.
- When a page renders client-side and comes back empty/blocked, use the Playwright renderer at `~/code/playwright-for-agents/` — `./pw <url> [options]` (see its README). Don't use claude-in-chrome for this.
## Compact instructions
When you compact, keep in the summary: the task loop-claude gave and each `todo.md` item the chunk takes, with its L and E + I; the worktree, branch and PR; the rung loop-claude named for each review launch, rerun and escalated subagent; each review pass's rounds so far, each open 🔴 and 🟡, and how the answered ones were answered; every question the human answered, with the answer; each escalation trigger that fired; and what remains before the chunk is finished.
## Vocabulary
- **chunk** — the unit of work, shipped as one PR; "Working loop" says what it holds.