SWISwarm Intelligence
SWISwarm recipes

Dependency-driven construction swarm

Produce in parallel with visible task ownership and intermediate artifacts.

TargetTask ATask BIntegrationPrerequisite
  1. Target and task prerequisites
  2. Independent artifacts with explicit owners
  3. Acceptance test → integration
Conceptual communication diagram · set the agent count in the task package
  1. Specify the artifact

    Write acceptance criteria and module interfaces. Assign file or section ownership to tasks.

  2. Select ready work

    Start a task only after its prerequisite outputs are verified. Include expiry and version in the ownership record.

  3. Produce a small change

    Deliver in the expected format; include the input version, checks performed and remaining uncertainty.

  4. Integrate and unblock

    The integrator runs acceptance checks and unblocks dependent tasks on success. Do not feed failed artifacts to the next agent.

Role responsibilities

Planner
Translate the target into dependencies, interfaces and acceptance criteria.
Builder
Claim only ready, unowned tasks with a lease.
Integrator
Verify and integrate artifacts, then unblock dependent tasks.

Shared memory contract

task_iddepends_onownerlease_untilbase_versionartifact_refacceptance_result
Stop condition
Finish when every task is verified and integrated acceptance checks pass. Reject cyclic dependencies before execution.
Primary failure mode
Local checks can pass while the integrated product breaks. Check interface drift, stale writes and conflicting file ownership.