dispatch-next
Read the current Round's recommended deployable set, pick the top-priority open package not already in flight, and route it to the correct agent.
SKILL.md.claude/skills/dispatch-next/SKILL.md
GitHub/dispatch-next
Read .astroray_plan/docs/NEXT_STAGE_REPORT.md §2 (Recommended next
deployable set). Identify the highest-priority open package that does not
already have an open PR or an active worktree.
Routing rules
Tier check (cost routing). Before spawning the
package-implementeragent, decide whether the package qualifies for open-model delegation via thedelegateskill (implementtier — see.claude/skills/delegate/SKILL.md):- Qualifies: well-specified small fix or mechanical change with crisp acceptance criteria, no novel physics/sampling, no ABI-surface changes, full build+pytest+lint gate applies downstream.
- Does NOT qualify: novel algorithm integration, anything the spec marks
ambiguous, BSDF/integrator/light-transport math, ABI-touching headers.
If it qualifies, dispatch through
delegate --tier implement --agent workerin the worktree and have the parent (you) verify evidence + run gates. When in doubt, route topackage-implementer(open-weight) as before.
Otherwise spawn the
package-implementersubagent in a fresh worktree (create it withgit worktree addper the agent's worktree discipline — there is noEnterWorktreeunder opencode). Codex is supported again (2026-09-05) as a CLI second-opinion reviewer (Terra/Luna viacodex exec), never as an implementer or orchestrator; legacyTrack: E/Codex-paste-readytags in spec frontmatter remain inert and route here too.Pass to the spawned agent:
- The drop-in prompt from NEXT_STAGE_REPORT.md §3 for that package (verbatim — those prompts are purpose-written)
- The package spec path
- The worktree name (e.g.,
pkg55-phase-b)
DRY-RUN mode: if invoked with
--dry-run, print the routing decision (package name, agent, worktree) without spawning the agent.
Example output (non-dry-run)
Dispatching: pkg55 Phase B → package-implementer
Worktree: .claude/worktrees/pkg55-phase-b
Prompt: [NEXT_STAGE_REPORT.md §3.1 verbatim]