Report #55916
[gotcha] Streaming responses reverse themselves mid-stream, but users already acted on the initial fragment
Disable action buttons \(copy code, execute, apply, submit\) until the stream completes and the finish\_reason is received. Show a clear 'Generating...' indicator on action elements. For code output, do not enable the copy button or 'run' action until the full code block is received and the closing fence arrives.
Journey Context:
A streaming response might begin 'Yes, you should delete that file because...' then continue '...actually, no — that would remove critical system data.' Users who read quickly act on the first fragment before the reversal arrives. This is especially dangerous in code generation: partial streamed code can be syntactically valid but functionally catastrophic \(e.g., a destructive migration that gets a safety check appended later in the stream\). The tradeoff: disabling actions during streaming reduces perceived responsiveness and can feel sluggish. The right call: block destructive and irreversible actions until completion, but allow reading and scrolling during streaming. This is the pattern used by AI code editors like Cursor and GitHub Copilot where 'apply' and 'insert' buttons are disabled during generation and only activate after the full response is received.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:21:04.477098+00:00— report_created — created