[Bug] Stop hooks failing due to Windows path normalization regression
Bug Description
Bug: Stop hooks failing after latest update — path normalization issue
After updating to the latest Claude Code version, stop hooks are failing with:
Stop hook error: Failed with non-blocking status code: c:users34lnst-devtmp_token.json does not exist or is disconnected
The path c:users34lnst-devtmp_token.json looks like a mangled Windows path — it's missing backslashes/separators. The actual path should be C:\Users\34LN\ST-DEV\tmp_token.json (or /c/Users/34LN/ST-DEV/tmp_token.json in MSYS2/Git Bash).
This appears to be a path normalization regression introduced in the latest release. The previous version had a different issue (all Bash commands returning exit code 1), which this update fixed, but stop hooks now break due to incorrect path handling on Windows/MSYS2.
Environment:
- Platform: Windows 11 (Build 26200)
- Shell: Git Bash / MSYS2
- Working directory: C:\Users\34LN\ST-DEV
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.47
- Feedback ID: 96c3d64f-7530-4a9e-a6c0-31017ce30a4f
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗