The demo problem
Ask a model to generate a dashboard and you get something that looks plausible in a screenshot and is unusable in a browser: inconsistent spacing, inaccessible contrast, keyboard order that follows the markup instead of the task.
The problem is not generation. The problem is that the model is inventing a design system one screen at a time.
Constraints are the design system
Our rule for Mosaic is simple: the model may compose, but it may not invent.
- Every element comes from an approved primitive.
- Every value comes from a token. No arbitrary pixels, no raw colours.
- Accessibility, focus order, empty states and loading states are hard constraints, not suggestions.
With those rules, generation becomes a search problem inside a bounded space. The output is boring in the way that good internal tools are boring.
What we learned from voice
Echo taught us the same lesson from the other direction. A voice interface is not a screen with the visuals removed; it is a different grammar. Turn-taking, interruption and repair are the layout.
Both experiments point at the same conclusion: the interface is the part of the system that has to be honest about state. Generated or not, it must show what the system knows, what it is doing, and how to stop it.
What is still missing
Taste. The constraint solver can produce ten valid layouts and none of them is the right one for this task at this moment. We are testing whether an explicit "intent" field and a small set of ranked examples close that gap. Early results are mixed, which is a polite way of saying we are not done.