--- id: sandcastle-dispatch-v1 prd: null title: Sandcastle dispatch v1 — pnpm work dispatch with planning + execute modes type: epic status: done features: [tooling, scripts] created: 2026-05-13 --- ## Goal Install `@ai-hero/sandcastle` + ship `pnpm work dispatch` that picks the next ready AC bullet, prints the dispatch plan, and (with `--execute`) invokes sandcastle to run the implementer then reviewer. ## Why The orchestrator closes the loop: docs/work/ tracks state, `.sandcastle/` holds the prompts, and dispatch.mjs connects them to sandcastle. ## Stories - [x] [01 — Install @ai-hero/sandcastle + Dockerfile](01-sandcastle-install/_story.md) - [x] [02 — Dispatch planner (default mode)](02-dispatch-planner/_story.md) - [x] [03 — Dispatch execute mode (sandcastle.run integration)](03-dispatch-execute/_story.md) - [x] [04 — pnpm work dispatch wiring + tests](04-dispatch-cli-wiring/_story.md)