CCAR-F practice › Agentic Architecture & Orchestration · Question 21 of 105
Agentic Architecture & Orchestration
A CI step reviews pull requests by sending all changed files to Claude in one prompt. On a 25-file PR, the first files get detailed comments and later files almost none, and a changed function signature that broke callers in two other files was missed. Which approach best fixes both problems?
Show answer and explanation
Answer: B — Run a focused review pass on each file, then a separate cross-file integration pass over their findings
Per-file local passes avoid attention dilution, and a separate cross-file integration pass catches issues that only exist between files, such as a signature change and its callers. Per-file passes alone (c) miss the cross-file break, a bigger window (a) keeps the single diluted pass, and open-ended investigation (d) suits unpredictable work, not a repeatable review.
Keep going
More Agentic Architecture & Orchestration questions
- An engineer asks an agent to "add comprehensive tests to this legacy codebase," which…
- Which two tasks are better suited to dynamic adaptive decomposition than to a fixed…
- A developer spends a day investigating a memory leak with Claude Code and wants to…
- After an agent has analyzed a payments service, the team wants to compare two…
- Two days into an investigation session, a large refactor is merged that moves and…