[BUG] Hooks stopped working in 2.0.27, work in 2.0.25
Resolved 💬 9 comments Opened Oct 26, 2025 by twardoch Closed Jan 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I have this in ~/.claude/settings.json
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "\"/Users/adam/.claude/hooks/claude4ever.py\" \"$CLAUDE_PROJECT_DIR\""
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "\"/Users/adam/.claude/hooks/claude4ever.py\" \"$CLAUDE_PROJECT_DIR\""
}
]
}
]
},
This worked perfectly until a few days ago. Now it just doesn't do anything .
You can replace "/Users/adam/.claude/hooks/claude4ever.py" by "say" on macOS. Same thing.
What Should Happen?
Hooks should work, as they did a few days ago
Error Messages/Logs
Steps to Reproduce
I have this in ~/.claude/settings.json
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "\"say\" \"$CLAUDE_PROJECT_DIR\""
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "\"say\" \"$CLAUDE_PROJECT_DIR\""
}
]
}
]
},
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.27
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗