Context Rot
Definition
The degradation of accuracy and recall as the token count in a context window grows — "As token count grows, accuracy and recall degrade, a phenomenon known as context rot."
Key points
- Curating what is in context is just as important as how much space is available.
- Applies even on 1M-window models — a large window does not prevent rot.
- Motivates context hygiene: Server-side Compaction, the Scratchpad Pattern, structured summaries, and isolated subagent contexts.
- Isolated subagent context prevents context rot and enables parallelism (each subagent gets a clean window) — see Subagent decision criteria.
Why it matters for the exam
- The conceptual "why" behind curating context, spawning subagents, compaction, and scratchpads. Expect it as the justification in long-session and multi-agent scenarios.
Common gotchas
- "Just use the 1M window" is the wrong answer — more tokens can make recall worse, not better.
- Distinct from Lost In The Middle: context rot is about total volume; lost-in-the-middle is about token position.
See also
Sources
Referenced by
- Context Awareness
- Context Editing
- Context Engineering
- Context Management & Reliability
- Context Windows By Model
- context-01
- Hub-and-spoke orchestration
- Just-in-Time Retrieval
- Lost In The Middle
- Progressive Summarisation Risk
- Scratchpad Pattern
- Server-side Compaction
- State across context windows
- Stratified Sampling And Confidence Scores
- Structured Note-Taking
- Subagent decision criteria
- System Prompt Altitude
Practice questions optional · AI
Generate fresh practice questions about this concept with AI. These are not vault-verified.