Text block preceding AskUserQuestion in the same assistant message is not rendered
Environment
- Claude Code v2.1.225 (CLI, terminal)
- macOS (Darwin 25.5.0), zsh
- Model: claude-fable-5
Summary
When the assistant emits a text block and an AskUserQuestion tool call in the same assistant message (optionally after other tool calls earlier in the turn), the text block is not rendered in the terminal. The user sees only the collapsed tool-call summary line followed by the question widget — the writeup that the question refers to is silently dropped.
What happened
The assistant was asked to present a decision with full context. The turn looked like this on the wire:
- Text block: "Fair — let me actually pull the facts instead of gesturing at them."
- Several tool calls (2 Bash, 1 ToolSearch, 2 MCP
linearcalls). - One assistant message containing a long text block (a multi-paragraph writeup laying out the decision context) followed by an
AskUserQuestiontool call whose question began "Given all that: …".
What rendered in the terminal:
● Fair — let me actually pull the facts instead of gesturing at them.
Called linear 2 times, ran 2 shell commands
─────────────────────────────────────────────
[ ] #26 vs #11
Given all that: land #26 (the absent-id state lookup ...) ...
1. Land #26 first (Recommended)
2. Waive and merge #11
3. ...
The entire multi-paragraph writeup between the tool-call group and the question widget was never displayed. The question literally opens with "Given all that" and the "that" was invisible, so the user answered (via the Other option) "given all of fucking what?????" — which is a fair reaction.
Repro expectation
Any turn shaped like: [tool calls] → assistant message with (text block + AskUserQuestion tool_use). The text block preceding the widget in the same message is lost. It happened twice in the same session, both times with this shape; plain text-only final messages render fine.
Expected
The text block should render before the question widget — that's the assistant's only way to give the user the context the question depends on.
Actual
Only the collapsed tool-call summary and the AskUserQuestion widget render; the preceding text block in the same assistant message is dropped.