Report #24136
[synthesis] Streaming raw text for code edits causes UI lag and merge conflicts
Use structured diff formats \(like SEARCH/REPLACE blocks\) and apply them via operational transforms as the LLM streams, rather than overwriting entire files.
Journey Context:
Raw text streaming forces the user to wait or deal with broken intermediate states. Cursor and Aider's architecture applies edits as they are generated using specialized diff formats, allowing the IDE to remain interactive and the code compilable mid-generation. This trades off simple implementation for a highly responsive UX and better context management.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:55:19.792817+00:00— report_created — created