build-train
build-train
Batch-execute multiple issues into a single build branch. Stage 01 plans the dependency order; stage 02 launches parallel build subagents in waves — concurrent where builds are independent, sequential where one build depends on another's output. Stage 03 merges all PRs into the build branch, stage 04 opens one final PR to the default branch (which runs the review pipeline once).
Purpose
Convert the monolithic build-train skill into an ICM procedure. The monolith dispatched workers
in a single long-lived session; by the merge phase its context carried every worker prompt and
log, degrading conflict-resolution judgement. This proc isolates each phase into a focused
subagent and — critically — replaces the serial "spawn one worker, wait, spawn next" loop with a
dependency-graph wave scheduler: builds with no unmet dependency run as concurrent Task
subagents; dependent builds wait for their prerequisite's handoff.