Bug 1 — Workers exit immediately (#2792): spawnWorker() used `--print "/gsd auto"` which calls session.prompt() that returns immediately when ctx.newSession() resets the session inside the auto-loop. Changed to `headless --json auto` which uses an RPC client that keeps the process alive until auto-mode completes. Bug 2 — Dispatch guard blocks parallel workers (#2797): getPriorSliceCompletionBlocker() checked ALL milestones in queue order, blocking M012 when M011 had incomplete slices. When GSD_MILESTONE_LOCK is set, the guard now only checks intra-milestone slice dependencies. Added test covering cross-milestone bypass + intra-milestone preservation. Bug 3 — Orphaned RPC children on stop (#2798): stopParallel() gave only 750ms for SIGTERM before SIGKILL. The headless parent needs ~1500ms to cascade shutdown to its RPC child via client.stop(). Increased to 3000ms to prevent orphaned processes holding auto.lock. Updated tests: - dispatch-guard.test.ts: new test for GSD_MILESTONE_LOCK bypass - parallel-worker-monitoring.test.ts: updated spawn args assertion |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||