Skip to content
CCAR-F Prep

Task Statement 1.6·Domain 1 — 27% of exam

Task Decomposition Strategies

Design task decomposition strategies for complex workflows

Jump to practice →

Official Exam Guide Objectives

The objectives below are quoted from Anthropic's Claude Certified Architect – Foundations exam guide, v1.1. Read the exam guide summary for the full blueprint.

Task 1.6: Design task decomposition strategies for complex workflows.

Knowledge of

  • When to use fixed sequential pipelines (prompt chaining) versus dynamic adaptive decomposition based on intermediate findings
  • Prompt chaining patterns that break reviews into sequential steps (e.g., analyze each file individually, then run a cross-file integration pass)
  • The value of adaptive investigation plans that generate subtasks based on what is discovered at each step

Skills in

  • Selecting task decomposition patterns appropriate to the workflow: prompt chaining for predictable multi-aspect reviews, dynamic decomposition for open-ended investigation tasks
  • Splitting large code reviews into per-file local analysis passes plus a separate cross-file integration pass to avoid attention dilution
  • Decomposing open-ended tasks (e.g., "add comprehensive tests to a legacy codebase") by first mapping structure, identifying high-impact areas, then creating a prioritized plan that adapts as dependencies are discovered

What You Need to Know

Decomposition is the act of cutting a large problem into units an agentic system can hold one at a time. Two patterns are examinable, they fail in different and recognisable ways when misapplied, and choosing between them is the skill being tested. Alongside them sits a single named failure mode — attention dilution — which appears whenever the cutting was too coarse.

Pattern 1: Fixed Sequential Pipelines (Prompt Chaining)

A fixed sequential pipeline settles the steps before any of them run, then feeds each one's output into the next as input.

How it works: The route is decided at design time. Step 1 completes and hands its output to Step 2, which hands its output to Step 3, and so on to the end. Nothing that turns up along the way alters the sequence.

Example — Code review pipeline:

  1. Analyse every file on its own — style, bugs, complexity — one pass per file.
  2. With all of those complete, make a second sweep across the whole set for data flow, API consistency and import chains.
  3. Merge both layers of findings into a single review report.

Best for: Work whose shape you already know — the steps are enumerable before you begin. Reviewing code, processing documents, extracting fields and running compliance checks all belong in this category.

Advantages: The same input takes the same route every time, which makes behaviour reproducible. Debugging is straightforward because each step's output is attributable to that step, and monitoring is a matter of logging at fixed points.

Limitations: Nothing discovered mid-run can change the plan. Where Step 2 turns up something that ought to redirect Step 3, the pipeline proceeds regardless — the steps were fixed before that information existed.

Pattern 2: Dynamic Adaptive Decomposition

Dynamic adaptive decomposition derives its subtasks from what the run turns up, so the plan is written as the problem is understood rather than before.

How it works: The agent begins with an objective rather than a route. It investigates, forms a plan from what it finds, and then revises that plan as execution surfaces information the original plan could not have accounted for.

Example — Adding tests to a legacy codebase: this is the exam guide's own example, and it has three stages: map the structure, identify the high-impact areas, then build a prioritised plan that adapts as dependencies are discovered. Steps 1 to 3 below are those stages; steps 4 to 6 are the adapting.

  1. Survey the repository — directories, modules, entry points, what depends on what, which tests already exist and how they are run.
  2. Work out where coverage would pay best: the modules everything calls, the ones with the worst bug history, the critical paths nobody tests, the code that changes often and has little coverage.
  3. Turn that into a prioritised plan.
  4. Begin writing. Module A turns out to rest on Module B, and Module B is untested.
  5. Reorder: cover Module B first, so Module A's tests have something dependable underneath them.
  6. Keep revising as further dependencies surface.

Best for: Investigation where the scope is genuinely unknown at the outset. Exploring an inherited system, auditing for security holes, running an open research question, or debugging code nobody on the team wrote — all of these qualify.

Advantages: The plan tracks the problem instead of a guess about the problem. Unexpected complexity gets handled rather than ignored, and the results go deeper on open-ended work because nothing is forced into a shape decided in advance.

Limitations: You cannot say beforehand how long it will run or what it will cost, because both depend on what it finds. Reproducing a run is harder, and so is debugging one, since two executions over the same input may legitimately diverge.

The feedback edge

The property that makes a plan adaptive is the feedback edge: the path by which what a step discovers changes the steps that remain. A plan that is worked out once, however cleverly, and then executed without revision is a fixed pipeline with a planning step in front of it. The two patterns side by side. In the sketch, review_file, review_across_files and execute stand for model calls that use tools, and map_structure, high_impact and prioritise for the survey, ranking and ordering steps:

def chained_review(files):
    local = [review_file(f) for f in files]        # the same question, once per file
    cross = review_across_files(files, local)      # a different question, asked once
    return {"local": local, "cross_file": cross}   # both layers, every time


def adaptive_plan(max_steps=50):
    plan = prioritise(high_impact(map_structure()))  # map, then rank, then order
    done = []
    while plan and len(done) < max_steps:            # the cap is a safety bound
        task = plan.pop(0)                           # highest impact first
        discovered = execute(task)                   # real work: read the code, run the tests
        done.append(task)
        plan += [t for t in discovered if t not in done and t not in plan]  # the feedback edge
        plan = prioritise(plan)                      # a discovery can jump the queue
    return done

In chained_review the list of steps is complete before the first call is made. In adaptive_plan the last two lines of the loop are the feedback edge: remove them and the function still runs, but it now executes the opening plan unchanged, which makes it a pipeline. Two smaller points are visible in the same loop. A discovery is added only if it is neither planned already nor finished, so the plan cannot circle back on itself; and the step cap bounds the run without being the thing that decides the work is complete.

Worked example: the module nobody listed

A billing package is surveyed from its entry modules. The scoring used here (callers multiplied by the untested share of the module) is one illustrative way to rank "high-impact"; the exam guide asks only that high-impact areas are identified, not how.

ModuleCoverageCallersDepends onIn the first survey?Score
invoice.py10%14tax.pyYes14 × 0.90 = 12.6
proration.py0%9dates.pyYes9 × 1.00 = 9.0
tax.py55%3noneYes3 × 0.45 = 1.35
dunning.py80%1noneYes, but already well covered, so left outnot planned
dates.py0%21noneNo: an internal helper, visible only once proration.py is read21 × 1.00 = 21.0
  • Planned once, never revised: invoice.py, proration.py, tax.py. Three modules are tested and the run reports success. dates.py is never touched.
  • With the feedback edge: invoice.py (its dependency tax.py is already planned, so nothing is added), then proration.py, whose dependency dates.py is new and scores 21.0, so it goes to the front of what remains; then dates.py, then tax.py. Four modules are tested.

The module with the most callers and no tests at all was the one the first survey could not see. A plan fixed at the start finishes cleanly and is incomplete without knowing it.

Selecting the Right Pattern

The exam tests your ability to match the pattern to the task.

The table applies that question to the common cases:

Task CharacteristicsPatternReasoning
Steps known in advance, structured inputFixed pipelineReproducibility is worth more here than the ability to react
Open-ended, unknown scopeDynamic decompositionA plan fixed up front would be a guess about a problem not yet understood
Multi-file code reviewFixed pipelinePer-file then cross-file is a route you can write down before starting
Legacy codebase explorationDynamic decompositionWhat matters only becomes visible once the dependencies are mapped
Document extractionFixed pipelineThe fields and the output shape are settled before any document arrives
Debugging an unfamiliar systemDynamic decompositionEach finding redirects the next step; the route cannot precede the evidence
Neither pattern is the more sophisticated one A code review has knowable steps: analyse each file, run a cross-file integration pass, merge into a report — the route is fixed before anything runs, and it is the same route every time, which is what makes it reproducible. Adding tests to a legacy codebase starts with an objective instead: survey the repository, find high-impact modules, write a plan. Partway through, Module A turns out to depend on untested Module B, and the plan reorders itself to cover B first — a step the original plan could not have contained, because the run had not yet discovered it. Known, structured steps take a fixed pipeline; open-ended, unknown scope takes dynamic decomposition, and which one sounds more advanced is not the criterion. Fixed pipeline steps set before starting analyse each file cross-file integration merge into report reproducible — the route never bends Dynamic decomposition steps generated as you go survey the repository find high-impact modules write initial plan Module A needs B — reorder thorough — the route bends to fit known steps → fixed · unknown scope → dynamic
1 / 6Swipe diagram ↔

Neither pattern is the more sophisticated one, step 1: A code review — the steps are knowable before you start

Hybrid: Adaptive Planning, Chained Execution

Some work answers the question above with "partly". A second question separates the cases: will what you find change the plan?

Can the subtasks be listed up front?Will findings change the plan?Pattern
YesNoPrompt chaining
NoYesDynamic decomposition
Yes, but the approach is not yet settledYesBoth: plan adaptively, then execute as a chain

Migrating a library across 45 known files is the third row when the approach is still undecided. The files can be listed today; how each should change cannot, until someone has investigated. So the investigation is adaptive, and once it has produced an approach and a task list, every file goes through the same fixed steps. The legacy-testing example has the same shape: deciding which modules to test, and in what order, is adaptive; each chosen module then gets an identical chain of write the tests, run them, fix what fails.

The exam guide does not name a hybrid under this task statement, so treat this as how the two patterns fit together and not as a third pattern to memorise. It does list the same split as a skill under Task 3.4: "Combining plan mode for investigation with direct execution for implementation (e.g., planning a library migration, then executing the planned approach)". An option that investigates adaptively and then executes uniformly is therefore a complete design, not a hedge between two answers.

The Attention Dilution Problem

Attention dilution is what happens when one pass is asked to handle too many items at once. The output is not uniformly poor — it is uneven, thorough in places and superficial in others, which is what makes it hard to spot.

The telltale symptoms:

  • Some files receive close, specific commentary and others receive summaries. In the worked example below it is the opening files that are treated closely and the closing ones that are skimmed.
  • The same construct draws a complaint in one file and passes without remark in another.
  • Serious defects slip through in places where trivial style points were still being raised.

Official sample question 12 describes the same three symptoms for a single-pass review of a 14-file pull request: "detailed feedback for some files but superficial comments for others, obvious bugs missed, and contradictory feedback—flagging a pattern as problematic in one file while approving identical code elsewhere in the same PR". It does not say which files were skimmed. What identifies dilution is that depth varies for reasons unrelated to how difficult each file is, and that identical code is judged two ways inside one pass.

Why it happens: The exam guide names the effect without describing a mechanism, so take this as a model to reason with. Attention is finite and shared by everything in the pass. Add more items and the share available to each one falls: some are examined closely, others are skimmed, and no single standard is held steady across all of them.

The fix: Multi-pass architecture. Split the work into two layers:

  1. Per-item local analysis passes: each file, document or module is analysed in a pass of its own, where the full attention budget is available to that single item.
  2. Cross-item integration pass: once every local pass has finished, a separate pass looks across the whole set for what only shows up in relationships — data flow, inconsistent use of a pattern, dependencies that cross file boundaries.

Each layer succeeds because it is asked one kind of question. The local passes are consistent because no item competes with any other, and each file is judged against the same stable frame; the integration pass finds cross-cutting problems because comparison is the only thing it is doing.

PassThe question it asksWhat it finds
Per-file"Within this file alone, what is wrong?"Null dereferences, unhandled errors, off-by-one mistakes, security holes local to the file
Integration"Across these files, what breaks?"A caller and a callee whose signatures have drifted apart, a changed invariant, duplicated logic, inconsistent error handling, data flow that crosses a file boundary

Neither pass is sufficient alone. Per-file passes cannot see anything that lives between files, so dropping the integration pass to save cost loses every cross-file issue; and an integration pass with no local layer beneath it is the crowded single pass again. The keyed answer to sample question 12 names both layers.

What each pass is given

How the passes are fed decides whether the split works. The following is design reasoning, consistent with the exam guide but not spelled out in it.

  • A per-file pass sees its own file, whole, and nothing else. Carrying the review so far into each new pass "for continuity" puts several items back into every pass, which is the crowding the split was meant to remove. De-duplicating findings and comparing files are jobs for the integration pass.
  • The unit is the whole item. Slicing finer than that fails in the opposite direction: a pass handed a fragment lacks the context to judge it.
  • Per-file passes return structured findings (file, line, severity, description), so that the integration pass and any later comparison have something to work from.
  • The integration pass gets the per-file findings plus whatever shows how the files connect (imports, changed signatures, call sites), and it is asked comparison questions only. Sending every file again with a broad "find anything that was missed" prompt is the single pass under a new name. Restricting it to the files that already have findings is also a mistake, because a file whose local pass came back clean can still sit at one end of a cross-file problem.

Dilution, a capability limit, or a full context?

Three failures look alike from a distance and have different remedies. A capability limit shows up as a class of issue missed uniformly, the first file included; that points at what the pass is able to recognise, and restructuring will not help. The other two are easy to conflate, and the exam guide covers both, under different task statements:

Attention dilutionContext degradation
SymptomUneven depth, contradictory verdicts and obvious misses, in one pass where everything fits comfortablyIn a long session, inconsistent answers and references to "typical patterns" in place of the specifics found earlier
CauseToo many targets in one passToo many tokens accumulated over the session
RemedySplit into focused passes (this task and Task 4.6)/compact, scratchpad files, subagent delegation, trimming verbose tool output (Tasks 5.1 and 5.4)
Remedy that missesA bigger context windowMore passes over the same over-full context

Practical Example: The 14-File Code Review

A code review agent processes 14 files in a single pass. Fourteen is the number in official sample question 12; the file numbers and the forEach detail are this lesson's illustration of it. The results:

  • Files 1-5 come back with line-level references, named bugs and concrete suggestions.
  • Files 6-9 come back thinner — some real issues, less depth behind each.
  • Files 10-14 come back with generalities, missing null pointer dereferences and SQL injection holes outright.
  • A forEach loop draws an efficiency complaint in File 3; the same loop in File 11 draws nothing.

The gradient is the diagnosis: quality declines with position rather than with the difficulty of the code, and the same construct is judged differently depending on where it appeared. Neither a stronger model, nor a larger context window, nor a more detailed prompt addresses that, because none of them changes how many items are competing in one pass.

Restructuring does. Fourteen per-file passes give each file the whole budget, which is what recovers the null pointer bugs in Files 10-14. Because every file now meets the same question in a pass of its own, the forEach loop is far less likely to be judged two ways. A cross-file integration pass afterwards is the only place a remaining inconsistency becomes visible, because catching it requires holding File 3 and File 11 side by side — which is exactly the comparison the single pass was too crowded to make.

Quality declines with position, not with difficulty A single pass over 14 files gives Files 1 to 5 close, thorough commentary, Files 6 to 9 thinner analysis, and Files 10 to 14 generalities with real bugs missed outright. The same forEach loop draws a complaint in File 3 and passes without remark in File 11 — the same construct, judged two different ways in one pass, because attention is finite and, in this illustration, the early files absorbed more of it. Splitting the work into one dedicated pass per file, plus a separate cross-file integration pass, gives every file the same full attention budget, so the depth stops declining with position and the same pattern is judged consistently everywhere it appears. Single pass — attention dilutes Files 1–5 Files 6–9 Files 10–14 the same forEach loop — flagged in File 3, missed in File 11 Multi-pass — each file gets the full budget cross-file integration pass — catches what per-file passes miss each file gets the same depth — no gradient, no file skimmed
1 / 6Swipe diagram ↔

Quality declines with position, not with difficulty, step 1: Files 1–5, reviewed first, get close and thorough attention

Judge the restructured review by how even the per-file depth has become, not only by a larger total of findings. A higher total could have other causes; a flat profile across all 14 files is the evidence that the dilution has gone.

Deep Dive

Prompt chaining, formally: gates and the latency-for-accuracy trade

Anthropic's own name for "fixed sequential pipelines" is prompt chaining: "Prompt chaining decomposes a task into a sequence of steps, where each LLM call processes the output of the previous one." Crucially, chains are not just sequences — they can carry programmatic checkpoints: "You can add programmatic checks (see 'gate' in the diagram below) on any intermediate steps to ensure that the process is still on track", which is how a malformed intermediate output is caught before it propagates. The article's test for when to use the pattern is the classification question of this lesson: "This workflow is ideal for situations where the task can be easily and cleanly decomposed into fixed subtasks." The whole point is a deliberate trade: "The main goal is to trade off latency for higher accuracy, by making each LLM call an easier task." That framing explains why the per-file-then-integration pipeline in this lesson works: each pass is a simpler, more accurate LLM call than one giant multi-file review.

Sourceanthropic.com › building-effective-agentsfetched 2026-11-19

The other three workflow patterns in the same taxonomy

The exam guide's task statement names only the two patterns above. Anthropic's article describes five workflow patterns in all, and the other three are worth recognising, because an option can name a real pattern and still apply it to the wrong problem:

  • Routing — "classifies an input and directs it to a specialized followup task," useful for "complex tasks where there are distinct categories that are better handled separately," including routing cheap/common cases to a smaller model and hard cases to a larger one.
  • Parallelization — two sub-variants: sectioning ("breaking a task into independent subtasks run in parallel," e.g. one instance handling the user query while another screens it for guardrail violations) and voting ("running the same task multiple times to get diverse outputs," e.g. "Reviewing a piece of code for vulnerabilities, where several different prompts review and flag the code if they find a problem").
  • Evaluator-optimizer — "one LLM call generates a response while another provides evaluation and feedback in a loop," which fits best "when we have clear evaluation criteria, and when iterative refinement provides measurable value" (e.g. literary translation, where a critic LLM catches nuance the translator missed).

Voting is not the same thing as filtering by consensus. In the article's code-review example each reviewer flags the code if it finds a problem, which reads as findings added together and not as an agreement requirement. The article's other voting example mentions "requiring different vote thresholds to balance false positives and negatives", and an agreement threshold is where one of the exam's distractors lives (see Exam Traps).

Sourceanthropic.com › building-effective-agentsfetched 2026-11-19

The closest named pattern to dynamic decomposition: orchestrator-workers

"Dynamic adaptive decomposition" is the exam guide's phrase and does not appear in Anthropic's article. The closest named workflow there is orchestrator-workers: "a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results." It is "well-suited for complex tasks where you can't predict the subtasks needed", and its defining property is that subtasks are not fixed in advance: "the key difference from parallelization is its flexibility—subtasks aren't pre-defined, but determined by the orchestrator based on the specific input." This is the legacy-codebase-testing scenario: the orchestrator can't know before it starts how many modules will need tests or in what order, so the plan has to be generated dynamically as dependencies surface.

The match is close, not exact. Orchestrator-workers decides its subtasks from the input; the guide's adaptive plan also keeps revising them from intermediate findings, and that step-by-step revision is what the article describes under agents (next section).

Sourceanthropic.com › building-effective-agentsfetched 2026-11-19

Adaptive decomposition needs ground truth, and a stopping condition

Dynamic decomposition only adapts correctly if it has real feedback to adapt to: "it's crucial for the agents to gain 'ground truth' from the environment at each step (such as tool call results or code execution) to assess its progress" — tool results, test runs, actual file contents — rather than reasoning purely from its own prior assumptions. And because an adaptive plan has no fixed endpoint by design, control still needs a backstop: "it's also common to include stopping conditions (such as a maximum number of iterations) to maintain control," precisely because "the autonomous nature of agents means higher costs, and the potential for compounding errors." This mirrors the iteration-cap guidance from Task 1.1 — a safety bound, not the mechanism that decides the task is actually done.

Sourceanthropic.com › building-effective-agentsfetched 2026-11-19

Simplicity first: don't reach for decomposition you don't need

Anthropic's blanket advice against over-engineering applies directly to decomposition strategy selection: "we recommend finding the simplest solution possible, and only increasing complexity when needed" — and, for many applications, "optimizing single LLM calls with retrieval and in-context examples is usually enough." A predictable, structured task that only looks like it needs dynamic decomposition (because it's multi-step) may be fully served by a fixed prompt chain; reach for orchestrator-workers only once the scope is genuinely unknown at the start.

Sourceanthropic.com › building-effective-agentsfetched 2026-11-19

Explicit chaining in the current prompting guide

Anthropic's current prompting reference has a short section headed "Chain complex prompts". It says that explicit prompt chaining, which it defines as "breaking a task into sequential API calls", "is still useful when you need to inspect intermediate outputs or enforce a specific pipeline structure." Both conditions hold for the review pipeline in this lesson: the per-file findings are intermediate outputs worth inspecting, and per-file-then-integration is a structure you want enforced and not left to the model's discretion. The same section names the most common chaining pattern as self-correction: "generate a draft → have Claude review it against criteria → have Claude refine based on the review. Each step is a separate API call so you can log, evaluate, or branch at any point."

Sourceplatform.claude.com › claude-prompting-best-practicesfetched 2026-11-19

Capacity is not attention: what the docs say about bigger windows

The tempting fix for an uneven review is a larger context window. The context-window documentation answers it directly: "A larger context window allows the model to handle more complex and lengthy prompts, but more context isn't automatically better. As token count grows, accuracy and recall degrade, a phenomenon known as context rot." The same page lists a 1M-token context window for the current model families (some older models have 200k), so in a 14-file review the files not fitting is rarely the real problem.

Claude Code's best-practices page makes the matching point from the other side. Under advice that is now out of date it lists "The context window is your main constraint, manage it aggressively", and explains: "Most current models have a 1M-token window and compaction happens on its own, so running out is rare. /clear between tasks is still worth doing, because a focused context gets you better answers and costs less." A focused context giving better answers is the argument for per-file passes. The /compact command that the exam guide lists under Task 5.4 still exists, and that page recommends using it "with a focus"; compaction also now happens automatically before the window fills.

Sourcesplatform.claude.com › context-windowscode.claude.com › best-practicesfetched 2026-11-19

Claude Code today: who holds the plan

This goes beyond exam guide v1.1, which does not cover the feature; it is here so that current product vocabulary does not mislead you. Claude Code's documentation now separates its orchestration options by "who holds the plan". With subagents, skills and agent teams, "Claude is the orchestrator: it decides turn by turn what to spawn or assign next". A dynamic workflow "moves the plan into code": it is a script that Claude writes for the task you describe, and once it is running the script "holds the loop, the branching, and the intermediate results itself". In the page's comparison table the answer to "Who decides what runs next" is "The script" for workflows and "Claude, turn by turn" for subagents, so do not read the product's word "dynamic" as the guide's "dynamic decomposition" without asking who decides the next step.

One of the documented example prompts is this lesson's review pipeline in two sentences: "Run a reviewer per file, then pass all the findings to one agent that ranks and deduplicates them."

Sourcecode.claude.com › workflowsfetched 2026-11-19

Quick Reference

FactValue
The classifying questionCan the subtasks be listed before the work starts? Yes: prompt chaining. No: dynamic decomposition
The second questionWill findings change the plan? Listable but approach unsettled: plan adaptively, then execute as a chain
What makes a plan adaptiveThe feedback edge: discoveries change the remaining plan. Planned once and never revised is a pipeline
The guide's three stages for an open-ended taskMap the structure, identify high-impact areas, build a prioritised plan that adapts as dependencies are discovered
Per-file pass asks"Within this file alone, what is wrong?"
Integration pass asks"Across these files, what breaks?" Both layers are needed
Attention dilution versus context degradationToo many targets in one pass (split the passes) versus too many tokens accumulated (compact, scratchpad, delegate)
Formal name for "fixed sequential pipeline"Prompt chaining
Prompt chaining goalTrade latency for higher accuracy by making each LLM call an easier task
Programmatic checkpoints in a chain"Gates" — checks on intermediate step output
Closest named pattern to "dynamic adaptive decomposition"Orchestrator-workers (the step-by-step revising is described under agents)
Orchestrator-workers vs parallelizationSubtasks determined dynamically by the orchestrator, not pre-defined
Routing patternClassifies input, dispatches to a specialised follow-up (e.g. cheap model for easy cases, capable model for hard ones)
Parallelization — sectioningIndependent subtasks run in parallel (e.g. guardrail screening in a separate call from the main response)
Parallelization — votingSame task run multiple times for diverse outputs (e.g. multiple vulnerability-review passes); not the same as keeping only what most runs agree on
Evaluator-optimizerOne LLM generates, another evaluates and gives feedback, in a loop; needs clear evaluation criteria
What adaptive decomposition needs to work"Ground truth" from the environment at each step (tool results, test runs), not just prior assumptions
Adaptive plans still needA stopping condition (e.g. max iterations) as a safety bound, separate from task-complete detection
Default advice on complexityFind the simplest solution possible; single LLM calls are often enough — only add decomposition machinery when needed
Explicit chaining in current docs"still useful when you need to inspect intermediate outputs or enforce a specific pipeline structure"
Bigger context window in current docs"more context isn't automatically better"; accuracy and recall degrade as token count grows (context rot)

Exam Traps

More wrong answers, and why each fails

The mistakes in how each pass is fed are covered under "What each pass is given" above. Three further options turn up beside the correct answer:

The tempting answerWhy it failsWhat to choose instead
Require developers to split large pull requests into small ones before the review runsMoves the burden onto people and leaves the review system exactly as it wasRestructure the review itself
Keep the single pass "for cross-file awareness"The need is real and the means are wrong: the single pass is the diluted onePer-file passes, then a pass whose only job is the cross-file view
Raise max_tokens or the effort settingReasoning, not a documented result: nothing in the symptoms says the output was cut short, and more effort spent on a crowded pass is still a crowded pass. It is the same family as the larger context windowChange the structure, not the settings

How This Is Tested

Stems for dynamic decomposition sit most naturally in the Developer Productivity with Claude scenario, whose agent in the exam guide's words "helps engineers explore unfamiliar codebases, understand legacy systems". Stems for the review split sit in Claude Code for Continuous Integration, a system that "runs automated code reviews". The same reasoning can be dressed in the research or support scenarios, where the items are documents or tickets instead of files. Whatever the setting, the item is asking you to classify the workflow, and the signal in the stem tells you which way:

Signal in the stemThe answerThe wrong-answer pattern beside it
One pass over many files gives detailed feedback on some and superficial comments on others, misses obvious bugs, and flags a pattern in one file while approving it in anotherPer-file local passes, then a separate cross-file integration passA higher-tier model or larger context window; a stronger prompt; developers pre-splitting the PR; consensus across repeated runs
The same aspects are checked for every item: "each file", "each document", fixed fields, mandated sectionsPrompt chainingDynamic decomposition chosen because it sounds more capable
"Legacy", "unfamiliar", "undocumented", "investigate", "explore", or nobody knows what will be foundDynamic decompositionA step list written before anything has been read
"Comprehensive" applied to a codebase nobody has mapped, such as adding tests to a legacy systemMap the structure, identify high-impact areas, then a prioritised plan that adapts as dependencies are discoveredModules taken in arbitrary order; a fixed analyse-write-run chain; a larger context window
A dependency turns up part-way through that the plan did not includeRevise the remaining plan (the feedback edge)Finish the original order and report success
Per-item depth is now even, but contradictions or data-flow bugs between items remainAdd the separate integration passSmaller batches; self-review inside each batch
The items are listable but the approach is not settled, such as a large migration across known filesInvestigate adaptively, then run the same chain on every itemStarting the per-file chain before the approach has been decided
Fixed schema, high volume, nobody waiting for the resultStill a fixed pipeline; the Message Batches API (Task 4.5) is the cost lever for latency-tolerant workAdaptive planning for work whose shape is already known

Watch for options that fix a different problem from the one in the stem: a larger context window, a higher effort setting or max_tokens, pre-splitting by humans, consensus filtering. None of them changes how the work is cut, which is what this task statement tests.

What the official material shows

The exam guide's appendix of technologies and concepts "that might appear on the exam" defines the first pattern in one line: "Prompt chaining — sequential task decomposition into focused passes". Its preparation advice includes "Design multi-pass review architectures for large code reviews."

Sample question 12 is the 14-file review, set in the continuous integration scenario; Task 4.6 lists the same split from the review-architecture side. Its keyed answer is the two-layer structure taught here: analyse each file individually for local issues, then run a separate integration-focused pass on cross-file data flow. Its three distractors are the larger context window, developer pre-splitting and the consensus filter, each dealt with under Exam Traps.

Practice Scenario

Your support agent handles two ticket categories. Routine refunds always follow the same three steps: verify the customer, look up the order, then refund or escalate. A new "unclassified complaint" category has no fixed steps: the agent must investigate what the customer means, and what it tries first depends on what each response reveals. Which approach should you take for the two categories?

Practice Questions

Exam simulator

Question 1 of 13

Scenario · Multi-Agent Research System

Your research system answers "Why did churn among our enterprise customers rise last quarter?" with a fixed pipeline: search, analyse, synthesise. Midway through, analysis found that most of the churned accounts shared one integration partner, but the pipeline had no step to follow that lead, and the report never mentions it. Which approach should you take?

Sources