AI demos start with a clean new app. Real products run on years of old code and a design system that lives in Figma.
Every AI coding demo looks the same. A fresh project, a clean folder, a perfect result in minutes. Then you point the same tool at your own product, with its years of history, its half-finished migration and its three versions of the same button, and the magic fades.
That gap, between the demo and AI on legacy code, came up again and again in our research. And it hits design teams as hard as engineering.
Our report, The Bottleneck Moved, is built from 237 calls with product and engineering leaders at 131 B2B software companies. More than half of them told us about this problem.
This post covers what those teams told us, what real codebases and design systems look like, why the drift between Figma and code breaks every AI tool, and a practical plan to fix it.
More than half of companies raised it

71 of the 131 companies told us legacy code and a design system that lives in Figma make their work harder. That’s 54%, more than half of every company in the report.

This one stands out for who raised it. Engineering was the loudest voice, with 36% of the mentions. Engineering leads on only two of the six problems in the report: this one, and engineering’s struggle to review and trust the new code. The other four were led by product.
So this is a problem both sides feel. Engineers live with the old code every day. Designers see the drift every time the product doesn’t match the design.
Two problems in one
The report treats this as one theme. The two halves are worth pulling apart.
The legacy code. Real products are old, large and messy. They carry years of decisions, half-finished migrations and code from companies that were acquired along the way.
The design system that lives in Figma. The design team keeps a clean design system in Figma. The code has drifted away from it. Components are duplicated, colors are hard-coded, and tokens don’t match.
Both make every change slower and every AI tool less reliable. That’s the report’s finding, and it’s the reason this post treats them together.
What real codebases look like

AI demos assume a clean, greenfield app. Here is what buyers told us they actually work in:
- 20-year monorepos. Twenty years of code in one repository.
- .NET and AngularJS front ends in the middle of a migration. Old and new code side by side while the migration runs.
- Acquired codebases nobody fully understands. Code that came with an acquisition, with its own patterns and history.
- Apps that take weeks to run locally. Before anyone can test a change, they need a working copy of the app, and that alone can take weeks.
Demos never run into any of this. Your real product runs into all of it the first time you point AI at it.
In their words
A UX lead at a consumer intelligence company described how deep the drift goes:
Our color tokens and base icons, the most fundamental parts of every component, aren’t correct in the code.
The colors and icons are the building blocks of every screen. When those are wrong in the code, everything built on top of them starts wrong too.
A UX director at a customer-experience software company described what happens when AI tools work beside the real design system:
We have a design system. When we use Claude Design, it replicates the look and feel, but it’s not the real components. You can’t use that code.
That second quote comes from the report’s section on prototypes. 42% of companies said their prototypes get thrown away and rebuilt, and missing real components are one reason why.
What design system drift looks like

Design system drift is the gap between the design system your team designed and the one that actually runs in your product. Buyers named three kinds:
| What drifted | What it looks like in the code | What happens to an AI change |
|---|---|---|
| Components | Several versions of the same component | The AI may copy the wrong one |
| Colors | Colors typed in by hand | The AI copies the hand-typed values, so the drift spreads |
| Tokens | Token values that don’t match Figma | The change looks wrong next to the design |
The first two columns come from what buyers told us. The third is what follows when a tool learns from the code as it is.
Why drift hits AI tools hardest
A human engineer who has worked on a product for years knows which button is the real one and which colors are outdated. An AI tool doesn’t have that memory. It reads the code and copies what it finds.
The report puts it plainly: every AI tool inherits the codebase as it is. A design system that lives only in Figma makes every generated change wrong on arrival.
This is also why the problem connects to the rest of the report:
- Small fixes stall. 65% of companies said product and design can’t make changes themselves. When the design system in code is wrong, even the small fixes product and design want to make start out wrong.
- Prototypes get rebuilt. 42% said prototypes get thrown away and rebuilt, often because they don’t use the real components.
- Developer AI tools stumble. In the report’s summary, developer tools are too technical for PMs, ignore the design system, and stumble on decades-old code.
How to fix the drift
The report’s recommendation is direct: make the codebase the design system’s source of truth. Audit tokens and components against Figma, and fix the drift first.
Here’s a simple way to run that audit:
| Step | What to do | Who does it |
|---|---|---|
| 1. List the components | Find every version of each core component in the code: buttons, inputs, cards | Front-end engineer and designer |
| 2. Pick the real one | For each component, agree which version is the one to keep | Designer and front-end engineer |
| 3. Find hand-typed colors | Search the code for colors typed in by hand and map each to a design token | Front-end engineer |
| 4. Match the tokens | Compare token values in the code with Figma and fix the gaps | Designer and front-end engineer |
| 5. Write it down | Record which components and tokens are the source of truth, so every tool and person uses them | Design systems owner |
Start with the components used on the most screens. A fixed button helps every page it appears on.
Working with the legacy code you have
The buyers in our report asked for something practical: work that respects the codebase and design system as they actually are, and leaves both more consistent than it found them.
That gives you four questions to ask about any AI tool before it touches your product:
| Ask | Why it matters |
|---|---|
| Does it learn our existing codebase, or does it need a clean project? | Real products are old, large and mid-migration |
| Does it use the components already in our code? | New look-alike components add to the drift |
| Can it run and check our real app? | A change that only looks right in a demo will fail in the product |
| Does each change leave the code more consistent? | Every change is a chance to reduce drift, or to add to it |
Where AutonomyAI fits
We built Studio for real, existing codebases.
Studio is built inside your production codebase. It learns your component library, design tokens, architecture and pull request conventions automatically. It works on the code you have, old parts included.
When a PM or designer asks for a change, like “make the Upgrade button orange everywhere,” Studio finds every instance, makes the change using your real components and tokens, runs your app, and checks the result visually before it opens a pull request. An engineer reviews and approves it, the same way as any other change.
That answers the first three questions: it learns your existing codebase, uses the components already there, and runs and checks your real app. Every change also goes through your normal review. More than 180 product teams use AutonomyAI today.
Where to start
- Pick your five most-used components and list every version of each one in the code.
- Run the five-step audit above with one designer and one front-end engineer.
- Fix the tokens and components that appear on the most screens first.
- Check any AI tool you’re considering against the four questions above.
- Repeat the audit every few months, so the drift doesn’t come back.
The full report covers all six problems, the data behind them, and five recommendations for product and engineering leaders.


