CCA Prep Q21 / 60 Agentic Architecture & Orchestration
2:00:00
Multi-Agent Research System

Your multi-agent research system uses context compaction between turns: after each subagent completes a research subtask, the orchestrator summarizes that turn's history before issuing the next request to Claude. After deploying a 128,000-token task budget, your logs show that some research jobs consistently overshoot the intended budget — tasks that should finish within 80,000 tokens are consuming upward of 115,000 before gracefully stopping. Examining the orchestration code, you find that task_budget is set correctly on the first request of each job, but the remaining field is omitted on every subsequent request after compaction. What is the most likely explanation for the overrun?