10 min read
Vibe coding in production
What breaks when a vibe-coded app meets real users, and how to decide what to do about it
Mario Jurić · Posted on December 4, 2026
Vibe coding is building software by describing what you want to an AI tool and accepting what it produces, without reading or designing the code yourself. It is the fastest way there has ever been to get a working first version, and that is worth using. Whether the result can run a business is a separate question, with a fairly predictable answer.
This post is a checklist of where vibe-coded apps break once real users, real data and real changes arrive, and a way to decide whether to harden what you have or rebuild it.
Why the demo works and production doesn't
A vibe-coded app is built one request at a time, and each request is satisfied in the cheapest way available: new code that works now. That is exactly the right behaviour for a prototype. It is the wrong behaviour for software that has to be changed safely in its second year, because nothing in that process ever asked how the pieces fit together.
The research we went through in the year software got cheap to build and expensive to own says the same thing from the outside: AI speeds up the first version a great deal and changes to existing code very little, and security scans of AI-built apps running in production keep finding the same small set of failures. Those failures are what the checklist below is made of.
The checklist: seven places a vibe-coded app breaks
1. Who can see what
The demo has one user, the person who built it. Production has many, and the first serious incident is almost always one of them seeing something that belonged to another: an order, an invoice, a patient record. Check that every request for data is filtered by who is asking, on the server, not only hidden in the interface. Check that changing an ID in the address bar does not show someone else's record.
2. Secrets in the wrong place
API keys, database passwords and payment credentials end up in the code the browser downloads more often than anyone admits. Search the frontend bundle for anything that looks like a key. Every secret belongs on the server, and every one that has ever been in the frontend should be treated as leaked and replaced.
3. The database defaults nobody changed
Hosted databases and storage buckets ship with defaults meant for getting started. A vibe-coded app rarely changes them, because nothing in the prompt asked it to. Check who can read and write each table and bucket from the outside, whether row-level rules are switched on, and whether backups exist and have ever been restored.
4. The data model
The first version's data model is whatever the first few prompts needed. Each new feature then bends it a little further. Signs it has bent too far: the same fact stored in two places, a field whose meaning depends on another field, a free-text column holding structured data. A bent data model is the most expensive thing to fix later, so it is the first thing to look at now.
5. Tests that test nothing
Ask an AI tool for tests and you will get many, and most will pass. Many of them check that the code does what the code does. Read a handful. A useful test fails when the behaviour a customer relies on breaks; if you cannot imagine it failing, it is not protecting anything.
6. What happens when something fails
In the demo, the payment provider answers, the email sends and the upload finishes. In production each of them sometimes does not. Check what the user sees when a call fails, whether the app retries or charges twice, and whether anyone finds out. An app with no error tracking and no logs fails silently, and the first report comes from a customer.
7. The second change
The real test of any codebase is not whether it works but whether it can be changed without breaking something else. Vibe-coded apps tend to grow by addition: a new version of a function next to the old one, a fresh component instead of extending the existing one. Pick a small change a customer has asked for and make it. If it touches far more files than it should, or breaks something unrelated, you have found the real cost of the first version.
Harden or rebuild?
Harden it when the checklist turns up problems at the edges, such as missing access checks, secrets in the wrong place, no error tracking or empty tests, and the data model underneath is sound. These are fixable in place, and fixing them is usually faster than starting again.
Rebuild it when the data model is wrong, when the same fact lives in several places, or when every small change breaks something unrelated. Patching the edges of an app whose foundation is wrong costs more every month, and the bill lands in the second year, when the app has the most users.
In both cases, do not throw away what the prototype proved. A working prototype is a better specification than any document: it shows what the screens are, what users actually do and which features they ignored. When we rebuild, we start from the prototype and write the spec from it, so nothing it taught you is lost.
How to keep vibe coding useful
Vibe coding is not the problem. Reading a discount on the first version as a discount on the product is. Three habits keep the speed and lose most of the risk:
- Use it to find out what to build, then decide deliberately what goes to production. A prototype nobody has to maintain is the best use of these tools there is.
- Before real users arrive, run the checklist above. It takes a day and it finds the problems that end up in the news.
- When the app starts to matter, put rules around the agents that change it. The checks have to run every time, whatever the model decides. We wrote about how we do that in the AI software factory, and about fitting it to code that already exists in an agent harness for an existing codebase.
If you have a vibe-coded app that works and needs to hold up, taking it to production, either by hardening it or by rebuilding it from what it proved, is custom software work we do.


