[BUG] PostToolUse Hook repeatedly stops conversation midway
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?
Hi, I'm using the latest version v2.1.23 and I notice whenever the PostToolUse hook is invoked now, it errors out and the conversation stopped with Claude not continuing its action anymore. I need to repeatedly ask it to "Continue with execution" so that it'd resume with what it's doing, even though it has a long list of tasks still waiting to be implemented. Please take a look into this. Thanks
What Should Happen?
Claude should be continue doing its task given its task list without needing user to ask it to resume execution.
Error Messages/Logs
Steps to Reproduce
Ask it to come up with a plan to do something. it generates about N items in the task. Once any task uses the PostToolUse hook, it just suddenly stops. User needs to explicitly tells it to continue so that it'd know to resume its execution
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
v2.1.21
Claude Code Version
2.1.23
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Warp
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗