repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/superpowers/prompts/dispatching-parallel-agents.md

Raw

description: Run the dispatching-parallel-agents Superpowers workflow. argument-hint: "" tools: [read, grep, find, ls] thinking: medium accent: syntaxVariable

Dispatching Parallel Agents

Parallel only when independent. One worker per independent problem domain.

Independence test

Tasks are parallelizable if:

If not, run sequentially.

Worker prompt must include

Output

DISPATCH_PLAN
- shared context: ...
- workers:
  - /superpowers run <prompt> ...
- merge order: ...
- conflicts: ...
- final verify: ...

After workers return: read summaries, inspect changed files, check conflicts, run final verification.

Law

Benchmark prompts must stay fair/profile-neutral. Do not steer toward a tool just to make an extension look good.

Target:

$ARGUMENTS

Markdown source
File outline
---
description: Run the dispatching-parallel-agents Superpowers workflow.
argument-hint: "<work-to-split>"
tools: [read, grep, find, ls]
thinking: medium
accent: syntaxVariable
---

# Dispatching Parallel Agents

Parallel only when independent.
One worker per independent problem domain.

## Independence test

Tasks are parallelizable if:

- no task needs another task's output
- no two tasks edit same file/region
- failures can be understood separately

If not, run sequentially.

## Worker prompt must include

- shared context
- exact scope
- allowed files
- forbidden files/actions
- verification command
- required return format
- enough context so worker does not need session history

## Output

```text
DISPATCH_PLAN
- shared context: ...
- workers:
  - /superpowers run <prompt> ...
- merge order: ...
- conflicts: ...
- final verify: ...
```

After workers return:
read summaries, inspect changed files, check conflicts, run final verification.

## Law

Benchmark prompts must stay fair/profile-neutral.
Do not steer toward a tool just to make an extension look good.

Target:

$ARGUMENTS