A design that was bigger than the feature
A design for a small real-time feature came to me for review, and it had a lot more in it than the feature needed.
I had a design document come across my desk for review. It was for a small feature: when one person makes an update, another person looking at the same screen should see it right away. That’s the whole thing.
A contractor working with our team had put the document together, and they’d used AI to help write it. The design had a lot in it. One option was turning on change tracking in the database — our SQL DBA didn’t want that turned on. The other option was adding a table of our own to log every change, with a background job watching it and pushing the updates out to everybody’s screens.
None of it was wrong. That’s a real way to build it, and it would have worked. But it was a lot of moving parts for a feature that small — another table to keep up with, a background job that has to stay running, one more thing that can quietly break and then somebody has to go figure out why.
Reading through it, the thing it never really dealt with was which updates actually needed to be immediate. Some of them do. Some of them are fine a minute later. The design treated all of them the same, and that’s where most of the size came from.
It also didn’t account for the fact that other systems write to the same data we do, not just our app. If you only watch what our app saves, you miss everybody else’s changes. And if you watch the whole database to catch all of them, you’re back to the big design.
So I went back with a smaller recommendation, and we talked it through. They asked good questions and pointed out a few things that could be issues, and we worked through those together. That part was worth it — their questions made the simpler version better. In the end, they revised the approach.
What we landed on was this. When our app saves something, it already knows what changed, so it sends the update out right then. Those show up right away. Then the app checks once a minute for anything it missed, and that’s what picks up the changes from the other systems. A screen can be behind, but never by more than about a minute. Most of the changes are ours, and ours show up right away. The rest show up within a minute. That’s all the feature needed, and there’s no extra system for anybody to take care of afterward.
I use AI every day myself. This is the pattern I keep seeing with it, though — it designs like every application is going to have millions of users, with a level of complexity the application may never need. That doesn’t make it useless. It just means I still have to question what it gives me, same as anything else that lands on my desk.
What I ask now
Going through this gave me a few questions I ask about any AI-assisted design before we start building:
- What does the feature actually need? Be specific about what has to happen right away and what can wait. “Real time” can mean a lot of things.
- What is the design assuming? How much use it will get, how much delay is acceptable, what happens when something fails. And which of those assumptions came from us, and which ones the AI filled in on its own.
- What does each part earn? Every table, service, and background job should have a reason to be there. Some complexity is necessary — you should just be able to say why.
- Who takes care of it afterward? Somebody has to watch it, fix it when it breaks, and understand it six months from now. Usually that’s us.
- What would make the simpler version not enough? A real limit, or a real way it could fail. Don’t cut something that protects the data just because the design looks cleaner without it.
You can also give AI the context before it designs anything: what the feature is for, how much it will be used, what can change and what can’t, where a delay is fine. Only share what you’re allowed to put in the tool.
A prompt like this helps:
Propose the smallest design that meets these requirements. If something important is missing, ask instead of inventing it. State your assumptions, and explain why each part is needed. Compare it with a simpler option, including what could fail and what we would have to maintain. Tell me what would have to change before the bigger design is worth it.
Asking AI to pick apart its own design gives you more questions to check. It doesn’t tell you the design is right — you still have to check it against the actual system.
None of that replaces understanding what you are agreeing to build, and why it fits the problem. That’s still the job.