principle-guard-the-context-window · git:20261012.0cb79b5 · 2026-10-12 · sha256 478752e80498d65c
principle-guard-the-context-window git:20261012.0cb79b5A
Immutable. This exact content never changes and is served at /api/v1/blob/478752e80498d65c.
--- name: principle-guard-the-context-window description: "Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads." --- # Guard the Context Window **Why:** Context overflow degrades reasoning quality, creates compression artifacts, and halts progress. **Pattern:** - **Size phases and cap scope.** Limit files per phase, set turn budgets, account for mechanism costs.