AI, Data & Technology

From Vibe Coding to Product

December 4, 2026
From Vibe Coding to Product

How a working AI prototype becomes a production-ready system

Building an application in a few days, without a development team, without a backlog and without a sprint, is no longer the exception. Business teams describe what they need, and an AI model writes the code. The demo runs smoothly, the interface looks clean and the first reactions are enthusiastic.

That is real progress. Vibe coding makes it possible to try out an idea directly instead of first specifying it, commissioning it and implementing it over weeks or months. If you know a business process, you can now build a tool for it yourself and find out within a few days whether your idea works at all.

However, this also changes how we perceive the maturity of software. In the past, you could often tell that a half-finished system was half-finished. Features were missing, interfaces were rudimentary and many workflows simply broke off. Today, a prototype can look like a finished product. It has a login, a dashboard, user management, a database, tests and a modern frontend.

What it lacks does not show up in the demo, but in operation.

There is a term for this: the prototype-to-production gap, meaning the gap between an application that can demonstrate its intended flow and a system that can withstand real users, real data, errors and change over the long term.

From prototype to production

From prototype to production

At Leading Lights, we regularly review applications that were built with AI support or largely through vibe coding before they go live. The specific findings differ, but they can usually be traced back to the same types of gaps. We come across four of them particularly often.

A product is more than working code

The misjudgment has a simple cause: what is visible is mainly what works. A login works, a document can be uploaded, the dashboard shows the right numbers and a business check delivers the expected result.

Less visible is what happens when an employee leaves your company and their access has to be revoked immediately, when a database is restored after a failure, a schema migration fails during a deployment, two tenants use the same application, or a hundred records suddenly turn into a hundred thousand.

A production system consists of more than its feature code. It also includes identities and permissions, deployment and schema migrations, monitoring and alerting, backup and recovery, logging, data quality, performance and the handling of edge cases. Some of this lives in the code; some only emerges from the interplay of application, infrastructure, data and operations.

Production readiness is therefore not a property of the code alone. It is a property of the entire system as it will later be operated.

This is nothing new in classic software development. What is new is how quickly vibe coding produces the visible side of a product. After just a few days, an AI prototype can convey a level of maturity that used to require considerably more development time. The less visible prerequisites for reliable operation do not emerge at the same pace, because they are rarely requested explicitly.

Vibe coding is particularly strong with requirements that are easy to describe and can be verified immediately, for example: “Build an interface where a user can upload a file and then see the check result.” Whether that works can be determined right away. That a failed check step must not look like a successful one, or that a stuck process needs to be picked up again, is rarely asked for explicitly.

Such requirements come from experience with production systems. If you lack that experience, you may not even know that you should ask for them. An AI model can certainly suggest many of these points to you. But you cannot rely on it to discover all the requirements relevant to your specific use case on its own.

The biggest gaps arise where nobody has formulated a requirement.

The four types of gaps we describe below also occur in classically developed applications. With vibe coding, however, they are easier to overlook, because a prototype already looks finished after just a few days.

The four types of gaps

The four types of gaps

1. Set up, but not built (Incomplete)

Folders, tables, libraries and configurations are in place and give the impression of a well-thought-out architecture. Only when you look at how they are actually used does it become clear that parts of them were never implemented.

Often there is a dedicated folder for the API. Yet the endpoints sit together with permission checks, database access and data schemas in one large file. The intended separation exists in the folder structure, but not in the code.

The same goes for the interface: a component library is listed in the dependencies, but its components are not used. Tables, input fields and buttons are rebuilt on every page. If you want to change a recurring element, you have to do it in many places.

In the data model, the tables exist, but a significant share of them remains empty. Some data lives in the code instead, some exists only in memory, and some is never created at all. After a while, it is hard to tell what is groundwork for a planned feature and what is a leftover from an abandoned idea.

This is a typical result of fast, iterative development. One solution is started, another direction works better, and the next prompt builds on the new state. What remains are traces of earlier approaches.

For a prototype, this is usually not critical. Before going live, however, you should clarify which structures actually belong to your system. Remove unused dependencies and empty tables, and implement recurring elements such as UI components in one place.

2. Built, but not the way operations require (Unsuitable)

Here, the software works. It passes the demo and often a first code review as well. Only under production conditions does it become apparent that the solution lacks the properties a system needs to run reliably over time.

One example is authentication: a user enters a key that is correctly validated and securely stored. Even so, the approach can be unsuitable for people. Perhaps there is no account per user, no session that can be terminated on the server side, and no way to revoke a single person’s access immediately. Logging out merely deletes data in the browser.

For a demo, that is a working login. For a system with personal data, it can be the wrong identity model.

With tenant isolation, every existing database query correctly filters by tenant. But there is no further safeguard underneath. The isolation therefore works exactly until someone writes a new query and forgets the filter. The application does not crash. In the worst case, it responds seemingly without error, with status 200 and another tenant’s data.

A working login is not yet a suitable identity model. A correctly filtered database query is not yet secure tenant isolation. A hidden button is not a permission check.

Veracode’s GenAI Code Security Report 2026 also shows that working code is not automatically secure code: current AI models produce syntactically correct code in more than 95 percent of cases. Without security requirements in the prompt, however, only around 55 percent of tasks pass the security tests.

Before going live, you need to secure such properties at the right level. Rules about access or money belong on the server. Tenant isolation should, wherever possible, not depend on the discipline of every single database query. People and technical systems need different identities and different ways of revoking access.

3. Built, but never really tested (Unverified)

Tests exist, they pass, and coverage is high. All of that can be true and still prove less than it seems. This is not new: classically developed applications with high coverage often test the wrong things, too. Vibe coding makes it worse, because tests can be generated very quickly and often come from the same source as the code.

A green test suite only proves that the tested cases work. For unit tests, a lightweight database such as SQLite, H2 or HSQLDB makes perfect sense. But if there are no integration tests against the production database, such as PostgreSQL, its properties are never tested. Constraints, triggers or behavior under concurrent access then only reveal themselves in production.

High test coverage also says less than it seems. A module can be almost completely exercised by tests and still never have worked with realistic input data. Coverage answers the question of which code was executed. It does not answer whether the relevant situations were tested.

In concrete terms: if the same model generates an implementation and then the tests for it, both can rest on the same false assumption. A test with exactly one list entry can then confirm an implementation that also only considers the first entry. Code and test are consistent, even though the business requirement is not met.

That is why you need independent sources of truth for verification. These can be business sample data, existing API contracts, acceptance criteria, or tests derived from the requirements rather than from the existing implementation.

Some properties also only become visible at runtime. How does the system behave under realistic load? What happens with unusually large files? What happens when an external service responds in ten seconds instead of a hundred milliseconds? Do the migration scripts for schema changes also run on a database with existing data?

You cannot answer such questions just by looking at the code. Your tests therefore need to include the later technical environment and realistic data. Make schema migrations a fixed part of your deployment pipeline and test critical workflows end to end.

4. Not planned at all (Missing)

In this case, nothing is half-implemented, and there is neither faulty code nor an incomplete configuration. What operations need is simply missing, and therefore leaves no trace in the code.

You can only tell whether your application is running stably if logs are collected centrally and someone is notified when errors occur. A health endpoint may exist. If it is not monitored, the first to notice an outage is a user.

Often there is no backup either. Or there is a backup, but nobody has tried whether a working system can actually be restored from it. A backup is only worth something once the disaster recovery process has been tested.

During development, sample data was built in so the interface would not remain empty. If an API call fails later, this data still appears. For a demo, that is convenient. In production, a technical error suddenly turns into credible-looking misinformation.

The workflows, too, are usually built only for the normal case. What happens when a transaction has to be reversed, a process gets stuck, an incorrectly entered master data record has to be corrected, or access has to be revoked immediately?

In a prototype, the main interest is in the successful flows. In operation, it is often the exceptions that cost the most time. Monitoring, recovery, audit logging, operational documentation or a manual correction path rarely excite anyone at a product presentation. When the first serious incident happens, they decide whether the system remains manageable.

Designing the transition deliberately

Vibe coding is still well suited to testing an idea quickly. If you can find out in a few days whether an idea works, you should not instead spend months building a perfect architecture for the wrong idea. It only becomes critical when the speed of the prototype is used to infer the remaining effort.

So design the transition deliberately. First, treat the prototype as what it is: quick proof that an idea can work in principle. Then take stock. Which parts are really built? Which only work under demo conditions? What has actually been tested? And which capabilities needed for later operation are missing entirely?

The path from idea to production

The path from idea to production

The result should not be an abstract assessment such as “70 percent done”. A concrete classification is more useful: What do you need to fix before go-live? What can follow afterwards in a controlled way? And which risk do you accept deliberately?

The necessary depth depends on the risk. An internal tool for three people needs different measures than a publicly accessible application with customer data. For authentication, payments, personal data or critical business processes, review, testing and operational safeguards must be correspondingly more extensive.

Your existing code is usually the foundation you can build on. In many of the applications we review, the business core is good. The domains are sensibly separated, data access is traceable and the central business logic can be tested. The work therefore consists of preserving this core and adding what operations need.

Check your own system

You can also use the four types of gaps as a simple check for your own system. At first, this is not about a complete technical analysis, but about finding the places where you should take a closer look.

Set up, but not built: Which tables, libraries and architecture layers do you actually use? Are there structures that suggest a capability of the system without it really being implemented?

Built, but not the way operations require: How long does it take you to fully revoke a single person’s access? Does your tenant isolation hold even if a filter is forgotten in a new query? Are rules about access or permissions enforced on the server or only in the interface?

Built, but never really tested: Are there integration tests against the same database that is used in production? Have the central workflows been tested with realistic data and realistic failure cases? Have the schema migrations already been run on a database with existing data?

Not planned at all: Who notices an outage first, your monitoring or a user? Have you actually performed a restore from a backup? And is there an intended path for a transaction that does not follow the happy path and has to be corrected manually?

If such questions remain open, that is no proof of bad software. They show you where the visible functionality still says little about actual production readiness.

Production readiness begins where the demo ends

Vibe coding is one of the most powerful tools software development has gained in recent years. Ideas can be tested in days instead of months, domain knowledge can be translated more directly into working software, and small teams can try out things that used to require a dedicated development project.

You should use this speed. But it does not change what is expected of a production system. User accounts have to be created, changed and locked. Production data is more extensive than test data and contains cases nobody thought of during testing: missing required fields, duplicates or special characters. External services respond late or not at all, deployments fail, requirements change, and processes end up in states nobody anticipated during the original development.

The work that prepares a system for these situations has not disappeared because of AI. It just becomes visible later.

Before your impressive demo becomes a production system, a systematic review is worthwhile, ideally by someone who did not build the application themselves. It shows you early on what is still missing before go-live, while it can still be added with manageable effort.

In the end, the decisive question is not: Does the application work?

But rather: What would have to be true for you to hand this system over to real users and real data with a clear conscience?

Vibe Coding Audit

At Leading Lights, we help you and your team turn AI-generated prototypes into production-ready applications. To do so, we look at your existing code and your application in its operational context: what already works well, where gaps remain, and what needs to be added or secured before go-live.

Rebuilding your application is not the goal. We continue working on your existing state and add exactly what is still missing for operation.

If you have an AI-generated application that is about to go into production, feel free to get in touch.

‍

Andres Kötter

Andres Kötter

Senior Software Engineer