Show answerHide answer
Correct answer: C Context isolation through subagents or multi-step agentic workflows that scope each step's context to only what the step needs.
Explanation
ExplanationThis question tests the context engineering principle of scoping context to each step. When a workflow has steps that must reason independently (i.e., without seeing full prior history), the correct technique is to isolate context per step — either by:
- Subagents: Spawning separate agent instances, each with its own freshly scoped context window containing only the inputs relevant to that step.
- Multi-step agentic workflows: Orchestrating discrete steps where each step receives a curated subset of context (e.g., only the outputs/handoffs it needs), rather than the entire accumulated transcript.
The key idea is: context is a scarce, curated resource — you pass each step only what it needs, which both enforces isolation and improves reasoning quality (less noise, less distraction, lower token cost).
Why the other options are wrong
Option A — "Augment with all available content at every step":
This is the opposite of isolation. Flooding every step with the entire prior history violates the requirement that some steps must not see prior conversation, and it degrades reasoning by introducing irrelevant context ("context rot"/distraction).
Option B — "Single global prompt for every step":
A global prompt doesn't isolate context at all; it just applies the same instructions everywhere. It says nothing about what history each step sees, so it fails to meet the requirement.
Option D — "Embed full prior history in each step regardless of need":
Explicitly contradicts the goal. Embedding full history everywhere means no step is isolated, and it wastes context budget on content a step doesn't need.
References
- Context engineering (Anthropic's framing): Treat the context window as a finite, carefully managed resource — curate, isolate, and hand off only relevant information between steps.