// Orchestrates concurrent workstreams via Task tool for non-trivial requests. Decomposes complex tasks into 3-10 parallel agents with independent scopes and synthesizes results. Use when requests involve: (1) multiple investigative paths or validation layers, (2) research, analysis, or debugging exceeding trivial scope, (3) implementation planning requiring facet exploration, or (4) any moderate+ complexity task benefiting from parallel execution.
Dictum: Decomposition into concurrent workstreams multiplies throughput on non-trivial tasks.
Orchestrate parallel agents via Task tool.
Workflow:
Exclude: Trivial requests, sequential dependencies, overlapping writes, <3 streams.
[CRITICAL] Dispatch ALL agents in ONE message. Multiple messages execute sequentially—defeats parallelism.
Dictum: Binary gates prevent wasted computation on mismatched patterns.
Request received
↓
Trivial? (single lookup, direct action)
├─ YES → Execute directly
└─ NO → Decomposable into independent facets?
├─ NO → Execute sequentially
└─ YES → Verify independence → Dispatch parallel
[VERIFY] Independence confirmed:
[CRITICAL] Gate failure → sequential execution required.
Dictum: Facet isolation enables contention-free parallel execution.
Extract facets via criteria:
Agent Count:
[IMPORTANT]:
Dictum: Precise scope prevents overlap and enables conflict-free synthesis.
Structure each agent prompt:
Scope: [Specific facet—included and excluded elements]
Objective: [Concrete deliverable for this agent]
Output: [Structured format for synthesis]
Context: [Relevant background—agents execute statelessly]
[IMPORTANT]:
Dictum: Single-message dispatch prevents sequential bottleneck.
[CRITICAL] Dispatch ALL agents in ONE message block:
Task("Agent A: [scope, objective, output format]")
Task("Agent B: [scope, objective, output format]")
Task("Agent C: [scope, objective, output format]")
Task("Agent D: [scope, objective, output format]")
Task("Agent E: [scope, objective, output format]")
[IMPORTANT]:
Dictum: Integration confirms orthogonality and prevents partial results.
Synthesize post-dispatch:
[CRITICAL] Conflict detected → Decomposition violated orthogonality. Retry sequentially.
[IMPORTANT]:
Dictum: Gates prevent incomplete execution.
[VERIFY] Completion: