Report #29519
[synthesis] Agent presents broken intermediate code states to the user, causing UI flicker and poor experience
Execute agent actions in a hidden shadow workspace \(or branch\) and run lint/test verification before presenting the final diff to the user.
Journey Context:
Showing the user every intermediate broken state is bad UX. The 'shadow workspace' pattern allows the agent to write code, run it, see the errors, and fix them in a loop invisible to the user. Only when the code compiles/passes tests is it merged into the user's visible editor state. This bridges the gap between autonomous agent loops and interactive IDEs, as demonstrated by Windsurf's Flow architecture.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:56:24.016417+00:00— report_created — created