AskUserQuestion tool returns empty response when bypass permissions enabled
Resolved 💬 6 comments Opened Oct 27, 2025 by brandon-fryslie Closed Jan 3, 2026
Bug Description
When AskUserQuestion tool is called with bypass permissions enabled, it returns an empty response without showing a prompt to the user, but claims the user answered the questions.
Steps to Reproduce
- Enable bypass permissions in Claude Code
- Use the
AskUserQuestiontool to ask the user questions - Observe the tool result
Expected Behavior
One of:
- The tool should show the prompt to the user regardless of bypass permissions (questions require user input, not permission)
- The tool should return an error indicating it was bypassed
- The tool should block and wait for actual user input
Actual Behavior
The tool returns immediately with:
User has answered your questions: . You can now continue with the user's answers in mind.
But:
- No prompt was shown to the user
- No answers were collected
- The response suggests proceeding with answers that don't exist
Impact
Claude proceeds as if questions were answered when they weren't, leading to:
- Incorrect assumptions about user preferences
- Wasted work on wrong approaches
- Confusion when Claude references non-existent answers
Workaround
Added to CLAUDE.md:
AskUserQuestion tool: If response is empty/only punctuation → re-ask in plain text immediately, NO tools until I respond
Environment
- Claude Code version: latest as of 2025-10-26
- Bypass permissions: Enabled
- Platform: macOS (Darwin 25.0.0)
Note
AskUserQuestion is fundamentally different from permission-based tools - it's requesting information, not permission to act. It should probably not be bypassable, or should handle bypass gracefully with an error.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗