Articles

The 95% Problem: Vibe-Coded Prototype to Production

View from the bow of a sailboat, with other sailboats ahead on the water

AI built your prototype in an afternoon

Today someone with a clear idea and an AI coding tool can have an app running in hours. But a vibe-coded prototype is not the same as a production system your customers and staff can rely on. The gap between the two is where most of the risk lives. This article explains what that gap looks like, how to check your own app, and what to do about it.

The invisible gap: Non-functional requirements (NFRs)

AI is very good at sounding sure of itself. Ask it a legal question, a medical question or a tax question, and you get a confident, well-written answer. Experts in those fields will tell you the answer is sometimes right, sometimes half right, and sometimes wrong in ways only an expert would notice. Software is no different.

When an AI tool builds an app, the app looks finished. The screens work, the buttons click and the demo goes well. What you can’t see is everything underneath: how it handles bad data, who can get at it, what happens when 100 people use it at once. AI tools rarely point out these gaps, which adds risk on its own. The greater risk is that nobody ever does the work to close them.

Engineers call that work non-functional requirements (NFRs). In plain English: functional requirements are what the app does, like taking an order or sending an invoice. NFRs are how well it does it: how secure it is, how fast it stays when many people use it, how reliably it recovers when something fails, and how easy it is to fix and change later. Typically a prototype, demo, or pilot focuses on functional requirements, but your customers and business depend on non-functional requirements.

Defining and implementing NFRs is commonly skipped in vibe-coded apps. People ask for what they can see and test: the screens and the buttons. The AI, in turn, aims for code that runs and shows the requested feature right away. A file upload can work perfectly in a quick test while quietly accepting harmful files. Experienced engineers treat security checks, limits on abuse and database tuning as a baseline nobody has to request. If you don’t know to ask for them, they usually don’t get built. And because a vibe-coded app is judged by whether it looks and feels right, the gaps stay invisible until the app grows, gets attacked or needs an update.

The “42” problem: Asking the right questions

Fans of The Hitchhiker’s Guide to the Galaxy will recognize the problem. The supercomputer Deep Thought spends millions of years working out the Answer to the Ultimate Question of Life, the Universe, and Everything, and announces that it’s 42. When its makers protest, it calmly insists the answer is correct. The trouble, it explains, is that “you’ve never actually known what the question is.”

Vibe coding works the same way. The AI answers exactly the question you asked. If your prompts never mention security, growth or what happens when something fails, you get an app that looks right and quietly isn’t. Getting a better answer starts with asking a better question, and knowing which questions to ask is what experience brings.

That’s fine for a prototype, an internal tool or a quick experiment. It’s not fine for software your business and customers depend on.

Think of an AI coding tool as a very smart junior programmer fresh out of school. They can write great algorithms, learn fast and work at all hours. What they lack is experience: the scars from production outages, security incidents, and the customer who used the software in a way nobody expected. Seasoned developers build those lessons into their solutions without being asked. A junior programmer, human or AI, doesn’t know to.

The 95% problem

We see this in our own meetings. More than once, a prospect has asked us to “put the final touches” or “get us to the finish line” on an app that was “about 95% built.” One even brought an AI-generated project plan, complete with a checklist and an estimate for the remaining work. The AI, it turns out, was quite confident about how little work was left. How convenient!

In each case the app was a genuinely useful start, as a good prototype, pilot or demo should be. But it wasn’t 95% done. Making it production ready is significant work, most of the work that makes software safe to rely on.

Demo-ready is not production-ready

A demo has to work once, for one person, with data you chose. Production has to work every day, for everyone, with whatever data shows up.

Demo-ready Production-ready
Users You, on a good day Customers, staff and strangers, all at once
Data Clean sample data Real, messy, sensitive data
Errors Restart and try again Handled, logged and recovered from
Security Nobody is trying to break in Real customer data is exactly what attracts attackers
Changes Ask the AI to rewrite it Change one thing without breaking three others
When it breaks Annoying Lost sales, lost data or a lost customer

What usually needs fixing

These are the problems we find most often in AI-generated code, and in code written by talented but inexperienced developers. Whether the author was an AI tool or a rookie, the gaps are the same, most of them are non-functional requirements, and none of them show up in a demo.

  1. Secrets in plain sight. Passwords, API keys and database connections written straight into the code, sometimes visible to anyone who opens the app in a browser.
  2. Weak access control. Logging in works, but nothing stops one user from seeing another user’s data by changing a number in the address bar.
  3. Trusting every input. The app assumes people will type what it expects. Attackers, and ordinary typos, don’t cooperate.
  4. No safety net for errors. When something fails, the app crashes or silently loses data, and nobody finds out until a customer complains.
  5. No tests. Every change is a gamble, because nothing checks that the rest of the app still works.
  6. Costs that climb with use. Inefficient database queries and AI calls are cheap with ten users and expensive with a thousand.
  7. Code nobody understands. A junior developer with an AI tool wrote it, the person behind it has moved on, and every fix starts with archaeology.

A five-question self-check

Answer these honestly. If you say “no” or “I’m not sure” to two or more, your app needs a closer look before more people rely on it.

  1. Could someone other than the person who built it explain how it works and fix a bug?
  2. Are passwords, API keys and customer data kept out of the code and protected?
  3. Has anyone tried to use it in ways it wasn’t designed for, on purpose?
  4. If it failed at 2 a.m., would you find out before your customers did?
  5. Can you make a change today and be confident nothing else broke?

Harden it or start over? Usually harden.

Finding problems doesn’t mean throwing the app away. The screens and the user workflow are usually worth keeping, and people often already like them. In most cases the better path is to keep what works and build out what’s missing underneath.

The biggest gap is usually the business logic. A prototype typically handles only the happy path: the customer who fills in every field correctly and the order that goes through the first time. The real rules of your business are mostly missing: exceptions, approvals, refunds, partial shipments, the edge cases your staff handle every day. That’s where most of the remaining work lives.

The other gap is who the app is for. Prototypes are rarely built around defined user personas, so nobody has confirmed that the workflow makes sense for the people who will actually use it. A short check against real users and their needs, before hardening, saves rebuilding screens later.

A rewrite makes sense in a few situations: the foundation can’t support what the business needs next, the security problems run through everything, or fixing it would cost more than building it properly. Even then, the prototype is valuable. It’s a working specification that shows exactly what the product should do.

The point is to decide on evidence, not on how finished the app looks.

When an outside review pays off

An independent review, sometimes called an AI-generated code audit, is worth it when the cost of being wrong is high:

  • Customers, staff or partners are about to depend on the app
  • It handles payments, personal information, health records or financial data
  • You’re raising money, selling the business or facing a customer’s security review
  • The person who built it is gone, or about to be
  • You’ve been told it’s “95% done” and want to know what the rest really involves

Our Application Assessment gives you a plain-English verdict in a few weeks: how sound the app is, where the risks are, and whether to keep it, fix it or replace it. You get the answer before you commit to the work.

Would you like an experienced set of eyes on your app?

An Application Assessment tells you how sound your app is, where the risks are and what to fix first. The first step is a short conversation about your app.

Request a meeting