claude-code - 💡(How to fix) Fix AskUserQuestion auto-completes with empty answers in v2.1.104 (regression from v2.1.101) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47114Fetched 2026-04-13 05:41:05
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
1
Timeline (top)
labeled ×6commented ×1

AskUserQuestion tool returns immediately with empty answers ("User has answered your questions: .") without displaying the interactive question UI to the user. The model then proceeds as if the user answered, fabricating responses based on its own assumptions.

This worked correctly for months through v2.1.101. Broke on v2.1.104 (today's release).

Root Cause

AskUserQuestion tool returns immediately with empty answers ("User has answered your questions: .") without displaying the interactive question UI to the user. The model then proceeds as if the user answered, fabricating responses based on its own assumptions.

This worked correctly for months through v2.1.101. Broke on v2.1.104 (today's release).

Fix Action

Workaround

Downgrade to v2.1.101: npm install -g @anthropic-ai/[email protected]

RAW_BUFFERClick to expand / collapse

Environment

  • Claude Code version: 2.1.104 (published 2026-04-12T02:26:22Z)
  • Previous working version: 2.1.101 (2026-04-10)
  • OS: Windows 11 Pro 10.0.26200
  • Permission mode: bypassPermissions
  • Context: AskUserQuestion called from within Skill tool (custom slash commands)

Description

AskUserQuestion tool returns immediately with empty answers ("User has answered your questions: .") without displaying the interactive question UI to the user. The model then proceeds as if the user answered, fabricating responses based on its own assumptions.

This worked correctly for months through v2.1.101. Broke on v2.1.104 (today's release).

Reproduction

  1. Set "defaultMode": "bypassPermissions" in .claude/settings.json
  2. Create a skill/command that calls AskUserQuestion with options
  3. Invoke the skill via the Skill tool
  4. AskUserQuestion returns instantly with no UI shown
  5. Tool result says "User has answered your questions: ." with empty answer content

Expected Behavior

AskUserQuestion should ALWAYS show the interactive UI and wait for user input, regardless of permission mode. This is an information-gathering tool, not a permission request.

Suspected Cause

v2.1.104 changelog mentions: "Tool calls require explicit approval if blocked by permission mode, preventing unintended external actions." This change likely altered the tool approval flow in a way that auto-completes AskUserQuestion before requiresUserInteraction() is checked.

Impact

High -- AskUserQuestion is foundational to interactive workflows (requirements elicitation, configuration, decision capture). With this bug, all interactive slash commands silently skip user input.

Related Issues

  • #29547 - AskUserQuestion empty in plugin skills
  • #29733 - AskUserQuestion completes without user input
  • #10400 - AskUserQuestion empty with bypassPermissions
  • #13439 - PreToolUse hooks cause empty responses

Workaround

Downgrade to v2.1.101: npm install -g @anthropic-ai/[email protected]

extent analysis

TL;DR

Downgrade to version 2.1.101 to restore the expected behavior of AskUserQuestion until a fix is available for version 2.1.104.

Guidance

  • Verify that the issue is specific to version 2.1.104 by checking the behavior in previous versions, such as 2.1.101.
  • Review the changelog for version 2.1.104 to understand the changes made to the tool approval flow and how they might be affecting AskUserQuestion.
  • Test the AskUserQuestion tool with different permission modes to see if the issue is isolated to the "bypassPermissions" mode.
  • Consider reaching out to the developers or community for version 2.1.104 to report the issue and seek a patch or update.

Example

No code snippet is provided as the issue seems to be related to a version-specific bug rather than a coding error.

Notes

The provided workaround of downgrading to version 2.1.101 may not be suitable for all users, especially those who rely on features or fixes introduced in version 2.1.104. It's essential to weigh the impact of downgrading against the need for the functionality provided by AskUserQuestion.

Recommendation

Apply the workaround by downgrading to version 2.1.101, as it is the most straightforward way to restore the expected behavior of AskUserQuestion until a fix is available for version 2.1.104. This recommendation is based on the information provided in the issue and the fact that downgrading has been suggested as a temporary solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING