Report #84360
[gotcha] Users copy and execute partially streamed code or commands before the AI has finished generating, acting on incomplete output
For action-generating responses \(code, shell commands, SQL queries\), delay rendering actionable UI elements—copy buttons, run buttons, apply/insert buttons—until the stream completes. Show a 'generating...' state on these affordances. Allow reading during streaming but gate acting until completion.
Journey Context:
Streaming creates a false sense of completion. Users see the first lines of a code block and start copying or executing before the AI finishes—potentially before the AI self-corrects, adds error handling, or appends a crucial caveat like '-- WARNING: this drops the table'. This is especially dangerous because code often starts with imports or setup that look complete but miss the destructive operation that comes later. The tension: streaming is great for perceived responsiveness and reading comprehension, but terrible for action safety. The fix decouples these two concerns: let users read the stream in real-time \(benefit of streaming\) but physically prevent them from acting on it \(copy, execute, apply\) until the stream signals completion. The copy button appearing only after completion is a subtle but effective guard rail.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:11:37.928778+00:00— report_created — created