← ClaudeAtlas

spae-orchestratelisted

Orchestrate SPAE subagents sequentially through the structured workflow and lifecycle.
mystilleef/spae-framework · ★ 1 · AI & Automation · score 72
Install: claude install-skill mystilleef/spae-framework
# Orchestrate `SPAE` ## When to use - The user wants to perform all phases of the `SPAE` structured workflow autonomously. ## Goal - Spawn the subagent matching the current `STATE.json` phase, looped until the workstream completes. - Halt immediately on any subagent failure. ## Input Read `.spae/current/STATE.json` to resolve the current phase and cursor. Accept an optional argument, the proposal, during initial execution. ## `STATE.json` See `references/STATE.md` for the field reference, directives, and phase snapshots. ## Phase-agent map Every phase maps to exactly one subagent, spawned the same way regardless of phase: | `phase` | Subagent | | --------- | --------- | | `spec` | `spec` | | `plan` | `plan` | | `inspect` | `inspect` | | `build` | `build` | | `check` | `check` | | `fix` | `fix` | | `verify` | `verify` | ## Workflow 1. **Resolve Workstream**: - Locate `.spae/current/STATE.json`. - Missing, no proposal argument: halt. - Missing, proposal provided: spawn `spec` with the proposal; await completion; proceed to step 2. - Present: proceed to step 2 without spawning. 2. **Dispatch Loop**: - Re-read `.spae/current/STATE.json`; record `phase`. - Exit on `phase: "done"`, `status: "completed"`, or a missing `.spae/current` symlink. - Halt immediately if `phase` matches none of the phase-agent map's rows. - Spawn the subagent the map names for the recorded `phase`, no arguments.