CCA Prep Studio
—

Task 5.4 · Domain 5: Context Management & Reliability

Context in large codebases

In a long exploration session the model's answers drift: they become inconsistent and describe "typical patterns" instead of the specific classes it found an hour ago. The remedy is to move findings out of the conversation and into files, push noisy exploration into subagents, summarize between phases, and compact when the window fills. For long multi-agent runs, structured state exports make a crash recoverable.

Updated 10-20-2026 · Official guide §6, Task 5.4

Key points

  • Context degradation shows up as inconsistency and generic descriptions replacing concrete findings.
  • Scratchpad files persist key findings across context boundaries; later questions refer back to them.
  • Subagents isolate verbose exploration output; the main agent keeps the high-level plan.
  • Summarize one phase's findings before spawning the next phase's subagents and inject the summary into their initial context.
  • Crash recovery: each agent exports structured state to a known location; the coordinator loads a manifest on resume and injects state into agent prompts.
  • /compact reduces context during an extended session when discovery output has filled it.

Skills the exam expects

  • Hand specific questions ("find all test files", "trace the refund flow") to subagents.
  • Keep a scratchpad of findings and use it when context is compacted or lost.
  • Design manifests and state exports for resumable multi-agent tasks.
  • Choose between /compact, a scratchpad and a fresh session with a summary.

Common misconceptions

  • "A larger window prevents degradation." Noise accumulates regardless of size.
  • "Saving transcripts is the same as saving state." Transcripts are mostly tool output and overflow on resume.
  • "Subagents know what the main agent found." They see only what is put in their prompt.

Watch for

Options that restart from scratch, re-paste earlier answers, or truncate searches. The best answer preserves specific findings in a small, durable form and keeps the noisy work out of the main context.

Practice task 5.4

55 practice items cover this task in CCA Prep Studio: flashcards, matching, scenario questions and explain-it-back exercises, each tracked toward your mastery score.

CCA Prep Studio is an independent study product. It is not made, endorsed or sponsored by Anthropic. Claude is a trademark of Anthropic, PBC, and is used here only to name the exam and the technology it covers. Content is written in our own words and cites the official exam guide; no exam questions are reproduced. © 2026 NovaLinQs AI, LLC.