Fan-Out / Integrate

loop pattern · maturity: established · risk: medium

Independent subtasks dispatch to parallel workers (subagents), each with a scoped brief; results return to an integrator that reconciles, checks, and assembles them.

When to use

Breadth-heavy work: multi-file searches, parallel feature tracks, batch content production.

Steps

StepWhat happensVerification
PartitionSplit work into subtasks that share no mutable state.Independence test: no subtask reads what another writes.
DispatchSend each worker a self-contained brief with its own success criterion.Brief sufficient without the orchestrator's context.
IntegrateCollect results, verify each against its criterion, reconcile conflicts, assemble.Integrator checks every result; unchecked parallel work is parallel risk.

Specification

Verification methodPer-worker criteria at integration time; the integrator is a reviewer, not a stapler.
Recovery behaviorre-dispatch-failed-subtasks
ObservabilityWorker briefs, results, and integration decisions.
InputsPartitionable task, Worker capacity
OutputsAssembled result, Per-worker verification record
Risk level / maturitymedium / established

Failure modes

  • Misjudged independence produces conflicting edits
  • Integrator rubber-stamps worker claims
  • Partition overhead exceeds parallel gains on small tasks

Assessment

Parallelism is a multiplier on whatever verification you have, including none. The integrator-as-reviewer rule is what keeps fan-out from being fan-out-and-hope.

Skills that implement this

Go deeper