Lv.1 0 XP

Lost-in-the-Middle — Designing Around Attention Degradation

⚡ Exam Tested 8 min +35 XP
💡
THE ANALOGY

A book where the first and last chapters are always memorable but the middle chapters blur together. If you put the most important plot point in chapter 15 of 30, readers miss it. Structure your context like a good author — critical information at the start or the end, never buried in the middle.

⚠️ EXAM TRAP — The Wrong Answer People Choose

Putting key facts or constraints in the middle of a long context and assuming Claude will apply them consistently. The exam tests that you know WHERE to place critical information for reliable attention.

KEY POINTS
1 Claude's attention peaks at the START (system prompt, first user message) and END (most recent message) of the context.
2 The middle of a long context receives the lowest attention — critical rules placed there are applied inconsistently.
3 Mitigation: place constraints in system prompt (start), repeat key facts near the current request (end).
4 Persistent case facts block: a structured summary of key facts appended to every turn for long-running agents.
5 Progressive summarization risk: summarizing too aggressively loses precision — keep structured facts, summarize narrative.