Swarm
Fan out independent workers for one bounded question, then return one judged result. In an active routing mode, use the orchestrate playbook instead when the work has dependent implementation stages or requires continuing integration.
Frame
- State the done predicate and final artifact or report.
- Choose a shape:
- partition assigns non-overlapping coverage slices;
- race gives the same brief to several workers;
- mixed partitions the work and races only uncertain slices.
- For a race, declare
first-pass,rank-all, orbest-ofbefore launch. - Set the worker count from the independent slices or the user's request. Each worker must add distinct evidence or judgment.
- Give every writer a separate owned path, worktree, or branch.
Route
Use the shared delegation contract when dispatching. Every brief names its exact slice or race arm. Require PASS, ISSUES, or BLOCKED with evidence.
Fan out and aggregate
- Launch independent workers together. Let the selected runtime own its capacity.
- Gather every required result. Record dropouts and blocked slices instead of hiding them.
- Verify consequential claims against the repository or runtime.
- For partitions, require coverage for every slice. For races, apply the declared selection rule.
- Deduplicate findings and resolve overlap under one authoritative slice.
- Reconcile every launched worker through the selected runtime.
Completion
Complete the swarm when every selected slice has a result or explicit gap and every worker is reconciled. Return a compact synthesis with evidence-backed issues and coverage gaps; use a table when it improves comparison.