I do hate vibe coding. So I took a different approach for BUI.
Instead of asking the agent to decouple the UI, I asked it to remove all the parts which isn't a part of UI logic.
Turns out AI is pretty good at removing than generating.
That's an interesting distinction. A distinction without a difference in my opinion, but a distinction nonetheless!