Root Cause
Multiple spawn sites pass an args array alongside shell: true, triggering Node.js DEP0190 security deprecation on Node >=22. PR #1677 fixed this in scripts/bun-runner.js but the same pattern exists in the dist/npx-cli/index.js bundle (bun/uv/claude detection, npm install, codex spawn). Separately, hooks prepend $($SHELL -lc 'echo $PATH') which spawns a fresh login shell on every hook, failing on Windows Git Bash and causing PATH resolution errors. Both are spawn-contract failures in the distributed bundles.
Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.
Root Cause
Multiple spawn sites pass an
argsarray alongsideshell: true, triggering Node.js DEP0190 security deprecation on Node >=22. PR #1677 fixed this inscripts/bun-runner.jsbut the same pattern exists in thedist/npx-cli/index.jsbundle (bun/uv/claude detection, npm install, codex spawn). Separately, hooks prepend$($SHELL -lc 'echo $PATH')which spawns a fresh login shell on every hook, failing on Windows Git Bash and causing PATH resolution errors. Both are spawn-contract failures in the distributed bundles.Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.