Choose, compare, and decompose work into the right coordination topology: dag, workflow, manager-driven team, swarm, blackboard, team-builder, or recurring loop. Use when the coordination shape is unclear, when you need topology-native breakdown instructions instead of a generic DAG, or when planning topology and runtime topology may differ. NOT for actual execution, node-level skill matching, or framework/tool installation.
Resources
5Install
npx skillscat add curiositech/port-daddy/coordination-topology-architect Install via the SkillsCat registry.
Coordination Topology Architect
Choose the coordination shape that matches the work itself.
Do not default to a DAG just because it is easy to draw. Do not choose a flashy topology because it sounds more intelligent. Match the topology to:
- how work becomes eligible
- who decides what happens next
- what shared state exists
- whether roles are fixed or dynamic
- how the system knows it is done
Load Order
Load only what the case needs.
| File | Load when | Why |
|---|---|---|
references/topology-decomposition-playbook.md |
Always | Core decision rules and decomposition recipes |
references/workflow-patterns-review-gates.md |
There are approvals, rejections, back-edges, or parallel review branches | Formal workflow routing and rework semantics |
references/manager-driven-team-dynamics.md |
Roles are dynamic, round-based, or manager-assigned | Distinguishes real teams from fixed review loops |
references/swarm-blackboard-contract-net.md |
Choosing among swarm, blackboard, or negotiated task allocation | Separates discovery, shared-state, and bid-based coordination |
references/runtime-honesty-and-legacy-labels.md |
Planning topology may not equal runtime topology | Prevents fake support claims and explains legacy labels |
templates/*.yaml |
You need a starting scaffold | Gives topology-native plan skeletons |
examples/*.md |
The user needs concrete precedent | Few-shot examples for common topology shapes |
Decision Points
Primary Selection Tree
flowchart TD
A[What makes work become eligible?] --> B{Stable feed-forward dependencies?}
B -->|Yes| C[DAG]
B -->|No| D{Reviewer or gate decides routing?}
D -->|Yes| E[Workflow]
D -->|No| F{Manager decides which roles work each round?}
F -->|Yes| G[Manager-Driven Team]
F -->|No| H{Agents discover work from messages or signals?}
H -->|Yes| I[Swarm]
H -->|No| J{Specialists update one shared diagnostic artifact?}
J -->|Yes| K[Blackboard]
J -->|No| L{Do we first need to discover the team itself?}
L -->|Yes| M[Team-Builder]
L -->|No| N{One action repeats until a measurable stop condition?}
N -->|Yes| O[Recurring]
N -->|No| CFast Disambiguation Rules
Choose dag when
- dependencies are stable before execution starts
- parallelism is wave-based, not emergent
- there is no runtime branching beyond ordinary success/failure
- the main question is ordering, not coordination politics
Choose workflow when
- there is an explicit entry node and explicit review or gate nodes
- routing depends on a verdict like
approved,rejected, orescalate - rework targets are known or at least nameable
- you need back-edges, but they are still formal and inspectable
Choose manager-driven team when
- a manager or lead should decide assignments round by round
- roles can be idle this round and active next round
- the manager may add a new role midstream
- "done" is a judgment call by the manager, not just a gate verdict
Important:
- In the current Jury-rig schema, this concept is still awkwardly labeled
team-loopin some places. - Treat that label as legacy interchange, not as the actual mental model.
- If the process is just fixed produce -> review -> revise with static roles, that is
workflow, not a team.
Choose swarm when
- agents discover work from published findings, not central assignment
- exploration is open-ended and findings can redirect later work
- convergence is emergent, quorum-based, or timeout-based
- duplication is acceptable if it improves search coverage
Choose blackboard when
- specialists inspect one evolving shared artifact or state model
- hypotheses accumulate on a board and trigger later specialists
- the key question is "what does the shared state now imply?"
- debugging, forensics, or diagnosis dominates
Choose team-builder when
- the user does not yet know which roles or skills are needed
- the first deliverable is the working group design itself
- topology choice depends on what team you discover
Choose recurring when
- one action repeats against a measurable condition
- the work is polling, retrying, monitoring, or test-until-threshold
- decomposition would be fake complexity
Topology-Native Breakdown Recipes
DAG Recipe
- Name the concrete deliverable.
- Split into feed-forward subtasks with explicit dependencies.
- Group independent subtasks into waves.
- Add contracts at every downstream boundary.
- Stop when all terminal nodes complete.
Output shape:
- nodes
- dependencies
- waves
- contracts
Workflow Recipe
- Define the entry node.
- Identify worker nodes and every review or gate node.
- Name each routing verdict and its outgoing edge.
- Decide which rejected outputs rework which nodes.
- Bound cycles with iteration and duration limits.
- Add human escalation if the reviewer can be uncertain.
Output shape:
- nodes with roles:
coordinator,worker,reviewer,gate - edges with conditions:
default,approved,rejected,escalate - entry node
- cycle limits
Manager-Driven Team Recipe
- Define the shared objective.
- Define a role catalog: title, goal, capability envelope, skill.
- Define the manager skill and what evidence it sees each round.
- Specify the manager decision contract:
- assignments
- status
- reasoning
- optional new role
- role-specific feedback
- Specify round exit rules:
needs-workalmost-doneship-it
- Specify when the manager may add or retire roles.
Output shape:
- objective
- manager skill
- role catalog
- manager decision schema
- round history
- ship condition
Swarm Recipe
- Define the seed message or stimulus.
- Define agent types by what they subscribe to and publish.
- Define discourse or message classes.
- Define convergence policy:
- quorum
- timeout
- inactivity
- quality threshold
- Define duplicate suppression and contradiction handling.
Output shape:
- seed message
- agent roster
- channels or message classes
- convergence rules
- memory or retention policy
Blackboard Recipe
- Define the board and its keys.
- Define which agents read which keys and write which keys.
- Define trigger conditions for each agent.
- Define confidence, freshness, or TTL policy per board entry.
- Define completion as a state predicate on the board.
Output shape:
- board keys
- agent triggers
- read/write permissions
- initial state
- completion condition
Team-Builder Recipe
- Extract candidate roles from the problem.
- Audit current skill coverage and identify gaps.
- Decide whether to create or import missing skills.
- Recommend a target topology after the team exists.
- Produce a team spec plus minimum match thresholds.
Recurring Recipe
- Name the one repeated action.
- Define a measurable exit condition.
- Define cadence, timeout, and escalation point.
- Decide what history persists between iterations.
- Decide whether failure means retry, sleep, or escalate.
Failure Modes
Static review loop mislabeled as team
Symptoms:
- same roles every round
- fixed produce/review/revise pattern
- no manager delegation decisions
Fix:
- model it as
workflow
"Swarm" with one hidden boss
Symptoms:
- one coordinator assigns every task
- agents never discover work independently
Fix:
- either make it a real swarm with discovery and convergence, or call it
workflowor manager-driven team
Blackboard without a board
Symptoms:
- no shared artifact exists
- agents just hand results linearly to each other
Fix:
- use
dagorworkflow
Recurring loop with no measurable stop
Symptoms:
- "keep trying until it feels good"
Fix:
- add a threshold, timeout, or escalation gate
Team-builder used as execution mode
Symptoms:
- role discovery is already settled, but the plan still claims
team-builder
Fix:
- switch to the actual execution topology after team design
Reference Files
references/topology-decomposition-playbook.md— Core decision rules and canonical topology mapping. Read when choosing a topology or need the shortest path from problem to topology-native plan.references/workflow-patterns-review-gates.md— Formal workflow routing, rework semantics, and approval/rejection branching. Read when work has explicit gates, conditional rework, or back-edges.references/manager-driven-team-dynamics.md— Dynamic role assignment, manager-led rounds, and real team vs. fixed loop distinction. Read when active roles change per round or manager decides assignments.references/swarm-blackboard-contract-net.md— Decentralized discovery, shared-state specialists, and bid-based allocation. Read when choosing among swarm, blackboard, or contract-net topologies.references/runtime-honesty-and-legacy-labels.md— Planning vs. runtime topology gaps and unsupported native execution flags. Read when planning topology may differ from actual runtime or need honesty about legacy labels.templates/workflow-plan.yaml— Workflow scaffold with nodes, edges, and conditional routing. Read when building a workflow topology plan.templates/team-plan.yaml— Manager-driven team scaffold with roles, rounds, and manager decision contract. Read when building a manager-driven team topology plan.templates/blackboard-plan.yaml— Blackboard scaffold with board keys, agents, reads/writes, and activation conditions. Read when building a blackboard topology plan.templates/swarm-plan.yaml— Swarm scaffold with seed message, agents, subscriptions, and convergence strategy. Read when building a swarm topology plan.templates/recurring-plan.yaml— Recurring loop scaffold with exit condition and max iterations. Read when building a recurring topology plan.examples/review-approve-rework.md— Two-writer draft, reviewer gate, conditional rework and escalation. Read when need concrete workflow example with back-edges.examples/dynamic-team-editing.md— Editorial team with dynamic role activation and mid-stream legal reviewer pull-in. Read when need manager-driven team example with runtime role discovery.examples/flaky-test-diagnosis.md— Shared investigation board with evolving hypotheses and evidence. Read when need blackboard example with specialist collaboration.
Quality Gates
- Activation rule matches the chosen topology
- The topology has a clear stop rule
- Routing authority is explicit: dependency graph, reviewer, manager, message bus, board, or timer
- Shared state is explicit when required
- Role dynamics are explicit when required
- Planning topology and runtime topology are distinguished if they differ
- The plan could be rendered in the topology's native scaffold, not only as generic waves
NOT-FOR Boundaries
- Do not use this skill to execute the plan.
- Do not use this skill to pick the best coding skill for a single node.
- Do not use this skill when the work is plainly one direct skill call.
- Do not hide runtime limitations by relabeling unsupported topologies as if they run natively.