_Filed from the 2026-07-11 spawn audit. Full report: `docs/spawn-audit-2026-07-11.md`. Assessment-only — no code changed yet._ **Phase:** Phase 3 — structural **Evidence** - `cmd/launch.go:1017 launchAllAtOnce + :3239 launchJobArray share a parallel-launch+tally idiom; duplicate launchResult struct at both` - :3323 vs :1017 differ in cleanup-on-failure — the divergence is the #220 orphan-instance class **Recommendation** Extract runLaunchBatch for launchAllAtOnce + launchJobArray only (unifies cleanup). NOT the cohort/detached paths (distinct). **User-facing / SemVer:** No — internal. Optional CHANGELOG. <sub>Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).</sub>
Activity
refactor(cmd): extract runLaunchBatch to dedup parallel-launch (#320) (…