[Bug] Stop Hooks Causing Unexpected Processing State Interruption
Resolved 💬 3 comments Opened Oct 7, 2025 by tonghuikang Closed Nov 22, 2025
Bug Description
Stop hooks is causing weird behavior "⏺ Previous query still processing. Please try again."
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.8
- Feedback ID: 688736ad-dc91-451c-a538-897d7e14fd96
Errors
[{"error":"Error: Request was aborted.\n at xP.makeRequest (file:///Users/htong/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1025:3864)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-07T02:31:56.177Z"},{"error":"Error: Request was aborted.\n at nu._createMessage (file:///Users/htong/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:884:4711)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-07T02:32:23.522Z"}]
When I implemented a stop hook, it keeps printing Previous query still processing. Please try again.
> Stop hook feedback:
- [python3 $CLAUDE_PROJECT_DIR/.claude/hooks/process_hooks.py]:
Review your work.
You will
1) Enumerate over every requirement from the user
- State the requirement
- Cite the user instruction
- Add to the todo `TodoWrite` tool
2) Check whether the user instruction is followed
- For each item in the todo list
- Reason whether you have addressed the requirement
If you have made edits, you will ALSO
1) Run tests
- Search for appropriate tests,
- Read up how to run the test.
- Run the test.
2) Run the formatter
- See CLAUDE.md for instructions
It seems that you did not run bash after your last edit.
It seems that you did not use the TodoWrite tool after your last edit.
⏺ Previous query still processing. Please try again.
⏺ Requirement Review:
User instruction: "for .claude/hooks/post_edit_validator.py, check filepath as well"
- Requirement: Add filepath checking capability to post_edit_validator.py ✓ (Added filepath parameter)This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗