Anthropic’s Claude Certified Architect Exam (CCA-F): Everything Important Was in the Middle, So Claude Forgot It. VI
Last Updated on July 27, 2026 by Editorial Team
Author(s): Rick Hightower
Originally published on Towards AI.
CCA-F Part 6: The smallest CCA-F domain by weight is the one that passers say surprised them most. Context management is a design problem, not a config knob, and how to manage what you resend so key facts never fall out
Your model nailed every fact in the demo, then dropped the one that mattered the moment the conversation got long. The fix is not a bigger window; it is rolling history, pinned facts, prompt caching, and two-stage retrieval so the detail you depend on never sinks into the middle and disappears.

After introducing the core problem of losing the one critical detail in long conversations, the article explains why Claude’s Messages API is stateless and why each turn must resend the full messages array. It then lays out the “rolling window” approach: pin load-bearing facts in a stable block, keep only the most recent turns, and drop the stale middle to control cost and prevent accuracy degradation. To prevent precision loss, it argues against “summarizing harder” and instead keeps transactional facts in a structured block that is re-included verbatim and placed where the model reads it best (top/primacy). Next, it recommends two-stage retrieval (broad candidate generation plus reranking to keep only the top passages) and trimming tool outputs so only the fields needed by the model enter context. The piece concludes with a production checklist and the exam framing: reliable context management comes from what you resend and what you preserve, not from assuming the model will remember.
Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ 6-Day Agentic AI Engineering Email Guide — one practical lesson per day
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.