VSCode extension: assistant text preceding AskUserQuestion in the same turn is not displayed

Open 💬 0 comments Opened Jul 11, 2026 by chessboss-admin

Environment

  • Claude Code 2.1.198, VSCode native extension (macOS, Darwin 25.5.0)
  • Model: claude-fable-5

Bug

When the assistant emits a text block and then calls AskUserQuestion in the same turn, the text block is not rendered in the extension UI — the user sees only the question dialog. The text exists in the transcript (the assistant can quote it back later), but the user never saw it.

Repro pattern (happened twice in one session today)

  1. Assistant writes a multi-paragraph explanation (in our case: a briefing about a GitHub issue it was about to work on).
  2. Assistant calls AskUserQuestion in the same turn, with questions that depend on that explanation.
  3. User sees only the question dialog; the explanation text is missing from the conversation view. User responds with "I need you to tell me the context, I'm not sure I know what you're talking about" / "I'm not seeing that message that you refer to".

Both occurrences followed tool_use/tool_result blocks earlier in the same turn (the text was emitted between a Bash/gh tool result and the AskUserQuestion call), which may be the trigger — i.e. mid-turn text between tool calls being dropped, with AskUserQuestion making it user-visible because the user is forced to interact with a dialog whose context they never received.

Expected

All assistant text blocks in a turn are rendered in order, including those preceding an AskUserQuestion call.

🤖 Filed with Claude Code on the user's behalf.

View original on GitHub ↗