claude-code - 💡(How to fix) Fix [BUG] Feedback prompt interrupts pending question [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#48368Fetched 2026-04-16 07:02:10
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When Claude asks a question (via AskUserQuestion), a feedback prompt sometimes appears at the same time. This causes my response to get mixed up between the two inputs — I can't tell which one I'm answering. The feedback prompt should wait until after the question has been answered.

What Should Happen?

The feedback prompt should wait until after the question has been answered.

Error Messages/Logs

Steps to Reproduce

Enter a question and answer session with Claude. Claude gives numbered options for responses. I am used to responding with typing the number that is my preference. Occasionally after a question is asked Claude will prompt with "How am i doing this session" - also numbered responses. Very often I accidentally answer the "How am i doing this session" question using the answer to the previous question. So invalid feedback and my session is interrupted.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

Delay the feedback prompt until after the user has responded to Claude's question to prevent mixed inputs.

Guidance

  • Review the timing of the AskUserQuestion and feedback prompt to ensure they are not triggered simultaneously.
  • Consider introducing a delay or a conditional check to only display the feedback prompt after the user has answered the question.
  • Verify that the issue is resolved by testing the question and answer session multiple times to check if the feedback prompt appears at the correct time.
  • Check the Anthropic API documentation to see if there are any settings or parameters that can be adjusted to control the timing of the feedback prompt.

Notes

The exact implementation details of the fix may depend on the internal workings of the Claude Code and the Anthropic API, which are not fully described in the issue.

Recommendation

Apply workaround: Introduce a delay or conditional check to delay the feedback prompt until after the user has responded to the question, as this is a more targeted solution to the specific issue described.

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