Assistant text block silently lost (not rendered and absent from ctrl+o transcript) when followed by AskUserQuestion after a mid-turn user message

Status Closed — duplicate
Reported on v2.1.220
Maintainer reply None cached
Activity 1 comment · opened Aug 1, 2026 · closed Aug 15, 2026

Description

An assistant text block was silently lost - not shown in the chat view AND absent from the full transcript view (ctrl+o). This is content loss, not just a rendering glitch.

Sequence that triggered it

  1. During an assistant turn, the user sent a message mid-turn (surfaced to the model as a mid-turn user message alongside the next tool result).
  2. The assistant emitted a text block (a multi-paragraph explanation) addressing that message.
  3. Immediately after the text block, the assistant called the AskUserQuestion tool.

Actual behavior

  • The chat view jumps straight from the user's mid-turn message to the AskUserQuestion dialog. The text block between them is never displayed.
  • The text block is also absent from the full transcript view (ctrl+o), so the content is lost from the session log entirely.
  • The text was definitely generated: the AskUserQuestion prompt referenced it ('now that the mystery is solved...'), so the user was shown a question about an explanation they never saw.

Expected behavior

Assistant text emitted before a tool call (including AskUserQuestion) should be rendered in the conversation and persisted in the transcript, including when a mid-turn user message was injected into the same turn.

Impact

The user answered a confirmation dialog whose justification was never visible to them. In a more destructive scenario ('I'll delete X, confirm?' with the rationale swallowed), this could lead to blind approvals.

Environment

  • Claude Code 2.1.220 (CLI)
  • Linux (kernel 6.19)
  • Session language: French (unlikely to be relevant)
  • Occurred once; not yet re-reproduced

A screenshot of the chat view exists but is not attached for confidentiality reasons; happy to provide a redacted version on request.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗