Lv.1 0 XP

Task Decomposition — Fixed Pipeline vs Dynamic Adaptive

Core 8 min +30 XP
💡
THE ANALOGY

Following a recipe vs cooking by feel. A recipe (fixed pipeline) tells you exactly what to do in what order — great for consistency. Cooking by feel (dynamic decomposition) means you taste as you go and adjust — great for complex dishes where you can't know every detail in advance.

⚠️ EXAM TRAP — The Wrong Answer People Choose

Applying fixed pipeline decomposition to open-ended tasks where you don't know what you'll find. If your pipeline assumes Step 3 will always produce X, but the actual data doesn't match that assumption, the pipeline breaks silently.

KEY POINTS
1 Fixed pipeline: predefined sequence of steps with known inputs and outputs. Use when the task structure is fully known in advance.
2 Dynamic decomposition: coordinator discovers what needs to be done and creates a plan based on findings. Use when the right approach depends on what's found.
3 The coordinator trap: decomposing a broad topic into subtasks that are too narrow — missing entire domains of relevant content.
4 Granularity decisions: subtasks should be large enough to be meaningful but small enough to fit in a subagent context window.
5 Dependency analysis: identify which subtasks can start immediately and which must wait for prior results.