Rapid Workflow Planning & Orchestration
Adapted for ApexCluster from obra/superpowers (skills/brainstorming + skills/writing-plans, MIT).
Purpose
Convert high-level user requests into crisp, actionable, low-latency multi-agent execution plans—combining rapid intent clarification with atomic task decomposition, non-overlapping ownership, and verifiable acceptance gates.
Step 1: Rapid Triage & Clarification (Think)
Before launching heavy execution or fan-out workers:
- Classify Scope: Determine whether the request is (a) a direct single-step answer, (b) a focused specialist task (design, academic, debugging), or (c) a multi-stage collaborative workflow requiring parallel agents.
- Surface Hard Constraints: Extract non-negotiable user requirements, existing files/interfaces, tech stack, and safety boundaries. Ask targeted clarifying questions only when a true ambiguity would cause costly rework—otherwise state crisp default assumptions and proceed.
- Compare 2–3 Approaches (When Architectural): Briefly weigh trade-offs (speed, complexity, maintainability, risk) and commit to one recommended path before drafting execution steps.
Step 2: Atomic DAG Decomposition (Act)
Translate the chosen approach into an executable workflow plan where every step is bounded and verifiable:
- Clear Ownership & File Isolation: Assign each parallel step disjoint target files or read-only scopes so concurrent agents never collide on the same file.
- Right-Sized Seat Assignment: Match each subtask to the optimal specialist seat/model—lead orchestrator (
claude-fable-5-2) for decomposition and synthesis, design/academic specialists for domain craft, builders for implementation, and independent cross-family reviewers for verification. - Explicit Step Contract: Every planned step must specify:
Objective: Exact deliverable in one concrete sentence.Inputs / Scope: Target files, tools, or upstream step outputs.Dependencies: Which prior steps must pass before starting.Verification: Objective command, test, schema check, or artifact inspection proving completion.
Step 3: Verification Gates & Handoff (Prove)
- Define clear checkpoints before irreversible or high-cost transitions (for example, architecture freeze before multi-file coding, or test pass before final synthesis).
- Never mark a planned step complete based on unverified assumptions—require real tool receipts, file diffs, or test outputs (
verification-before-completion). - Keep orchestration prose tight and structured so downstream workers receive maximum signal with minimal context bloat.


