Fix: hooks broken under /bin/sh (node not found)
Problem: Hooks installed by npx nan-forget setup fail with env: node: No such file or directory on every session start. Even with absolute /opt/homebrew/bin/npx, the npx script's #!/usr/bin/env node shebang can't find node because /bin/sh has minimal PATH.
Fix: Prepend PATH=/opt/homebrew/bin:$PATH (or wherever node lives) to all hook commands and execFile calls so the shebang resolves correctly.
Affected users: Anyone who ran npx nan-forget setup on macOS with Homebrew node. To fix existing installs, re-run npx nan-forget setup or manually update ~/.claude/settings.json hook commands to prepend PATH=/opt/homebrew/bin:$PATH.