Skip to content

Plan 07 — Orchestrator core (router, handoff, replay) #5

Description

@carlomigueldy

Plan file: docs/superpowers/plans/2026-05-23-plan-07-orchestrator-core.md
Tag at close: v0.0.7-plan-07
Depends on: Plan 06

Goal

Complete the orchestrator core that Plan 05 stubbed: router rules (task → squad/pool), serialized cross-agent handoffs surfaced as notifications, scheduler with per-adapter concurrency caps + backpressure, and deterministic replay reconstruction from the event log.

Deliverable

  • orchestrator/{router,handoff,scheduler,replay}.ts.
  • pool.* + squad.* handlers complete.
  • task.replay fully implemented and deterministic.
  • Daemon-restart resilience for in-flight tasks.
  • F37–F44.

Out of scope (deferred to later plans)

  • Renderer-side replay UI → Plan 13
  • Cross-workspace routing → out of scope for v1
  • Predictive (ML-driven) routing → out of scope

Workflow

  • Branch from main via superpowers:using-git-worktrees: feat/plan-07-orchestrator-core.
  • One PR closes this issue — include Closes #<this issue's number> in the PR description.
  • Update docs/superpowers/plans/README.md to move this plan from "not started" to "shipped" in the same PR.
  • Final step is the close-out commit and git tag v0.0.7-plan-07.
  • All 5 quality gates apply (CONTRIBUTING.md).

Metadata

Metadata

Assignees

No one assigned

    Labels

    planTracks a plan file under docs/superpowers/plans/roadmapLong-running roadmap item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions