Spokes.wiki Search About
Blog Posting source ↗ source url updated Tue Jul 14 2026 00:00:00 GMT+0000 (Coordinated Universal Time)

CCA-F: Everything Important Was in the Middle, So Claude Forgot It

Medium (Rick Hightower, part 6 of a Claude Certified Architect Exam series): the lost-in-the- middle failure applied to building production Claude apps. The vignette: “your model nailed every fact in the demo, then dropped the one that mattered the moment the conversation got long.” Framed as one of the smallest CCA-F exam domains by weight that nonetheless catches most test-takers out. Practitioner content (Hightower is an Anthropic Claude Certified Architect, ex-Apple/Capital One) — T3.

The core claim

Context management is a design problem, not a configuration knob — a bigger context window does not fix information retention over a long conversation. The architectural driver he singles out: the Claude Messages API remembers nothing between calls, so the application must reconstruct conversation state on every turn — which means what you put back, and where, is an engineering decision every request.

Techniques

Five levers for deciding what to reconstruct:

  • Rolling history windows — bound conversation length to prevent token bloat.
  • Pinned facts — keep critical items accessible outside general summarization (so they don’t get averaged away — the direct counter to lost-in-the-middle).
  • Prompt caching — reuse Claude’s cache for the stable prefix.
  • Two-stage retrieval — filter external context before it enters the window.
  • Tool-output trimming — stop irrelevant tool results diluting the context (the prune lever, hand-applied).

Where it sits

The API-level companion to governed-context-claude-code‘s harness-level playbook: same problem (context-rot), one level down. “Pinned facts + rolling history + reconstruct-every-turn” is the manual, Messages-API version of the externalize-state and token-budget threads — and its stateless-API point is the substrate reason those threads exist at all (the SDK/harness automates the reconstruction this describes by hand).

context-rot · governed-context-claude-code · rick-hightower · safe-prompt-pruning · agent-memory · claude-agent-sdk · anthropic