v5.0.5
obra/superpowersv5.0.5Mar 17, 2026by obra
AI Summary
Bug fixes for brainstorm server ESM compatibility, Windows/MSYS2 PID monitoring, and server stop reliability, plus restores user choice for execution handoff.
Key Highlights
- Brainstorm server ESM fix (server.js renamed to server.cjs)
- Skip PID lifecycle monitoring on Windows/MSYS2
- stop-server.sh now verifies process death with SIGTERM/SIGKILL
- Restored user choice between subagent-driven and inline execution
New Features
- Node.js 22+ ESM compatibility fix
- Windows/MSYS2 PID namespace handling
- Reliable server shutdown with verification
Full Release Notes
## Bug Fixes - **Brainstorm server ESM fix** — renamed `server.js` → `server.cjs` so the brainstorming server starts correctly on Node.js 22+ where the root `package.json` `"type": "module"` caused `require()` to fail. (PR #784 by @sarbojitrana, fixes #774, #780, #783) - **Brainstorm owner-PID on Windows** — skip PID lifecycle monitoring on Windows/MSYS2 where the PID namespace is invisible to Node.js, preventing the server from self-terminating after 60 seconds. (#770, docs from PR #768 by @lucasyhzlu-debug) - **stop-server.sh reliability** — verify the server process actually died before reporting success. SIGTERM + 2s wait + SIGKILL fallback. (#723) ## Changed - **Execution handoff** — restore user choice between subagent-driven and inline execution after plan writing. Subagent-driven is recommended but no longer mandatory.