Skip to content
Pricient by IOanyT

Prototype rescue · guide

Rescue or rebuild an AI-generated codebase? How to decide without starting over by default

When an AI-built app is worth rescuing, when a rebuild is honest, and the middle path most teams end up taking — with the signals for each.

Published 11 October 2026 · Pricient by IOanyT

The short answer

Rescue is usually right when the app works and its data model fits the business; the problems are then missing production work — sign-in, data access, secrets, tests, monitoring. Rebuild is honest when the data model is wrong or nobody can change one part without breaking another. Most teams keep the screens and flows and replace the parts that fail.

Signals for each path

SignalPoints to rescuePoints to rebuild
Does it work for real users today?Yes, with gapsNo, or only in the demo
Does the data model match how the business works?Yes, or closeNo — key relationships are missing or wrong
What happens when you change one thing?The change stays where you made itSomething unrelated breaks
Where are the problems?Missing production work: sign-in, data access, secrets, tests, monitoringThroughout — the same logic copied in many places
Is the stack one you can hire for and host?YesNo, or tied to a tool you are leaving
How much of it would you keep?Most of the screens and flowsLittle beyond the idea

Most AI-built apps land in the left column on some rows and the right on others. That is why the usual answer is a mix.

The middle path: keep what works, replace what fails

A rescue does not mean keeping every line, and a rebuild does not mean throwing away what you learned. In practice most teams keep the screens, flows and decisions the prototype got right, and replace the parts that fail — often the data layer and anything that touches money or personal data.

The safest way to replace parts is gradually: move one piece at a time while the rest keeps running. Martin Fowler describes this as the strangler fig approach — building new parts alongside the old and moving behaviour across in steps, so that “both investment and returns occur gradually and visibly” (martinfowler.com, updated 22 August 2024).

Why “just rewrite it” is riskier than it sounds

A rewrite starts from zero working features and has to catch up with a moving target. Joel Spolsky called rewriting code from scratch the “single worst strategic mistake” a software company can make, using Netscape’s lost years as the example (Joel on Software, 6 April 2000). AI tools make a rewrite faster to start. They do not make it faster to reach everything the old version quietly did.

Why “just patch it” can be riskier still

AI-generated code tends to look finished before it is. A 2025 study by Veracode tested code from over 100 large language models and found 45% of code samples failed security tests and introduced OWASP Top 10 vulnerabilities (Veracode, 2025 GenAI Code Security Report). Patching the visible bugs without looking at data access, secrets and sign-in leaves the expensive problems in place.

What to ask for before you decide

  1. A written recommendation per part — keep, fix or replace, with the reason.
  2. What the recommendation assumes — users, data, integrations, regulation.
  3. What is not included in either option.
  4. How the switch happens — all at once, or part by part with the old version still running.

How Pricient handles the decision

Your prototype is the requirements document. Describe what you built and what is going wrong; today a person runs the intake with you by email. Before you pay anything you receive the specification, wireframes of every screen, the Not in this release list, the assumptions register and a three-tier itemized quote — with what is kept and what is replaced written into it, not left to a call.

The launch-ready MVP starts from $7,500, fixed once your spec is agreed: live 3 weeks after the spec is agreed, security-hardened, 80% test coverage and three months of support. Code you share is read-only, logged, never used for training, and deleted within 30 days of the evaluation ending unless we engage.

More on prototype rescue →

Questions

Asked about this

Should I rescue or rebuild my AI-generated app?

Look at the data model and the cost of change. If the data is shaped the way your business works and changes stay local, rescue it. If the data model is wrong, or every change breaks something unrelated, rebuilding those parts usually costs less over time than living with them.

Is a full rewrite ever a good idea?

Sometimes, but it is the riskiest option. Joel Spolsky called rewriting code from scratch the "single worst strategic mistake" a software company can make, using Netscape as the example (2000). Rewriting one part at a time while the rest keeps running carries far less risk.

Does the prototype have any value if we rebuild?

Yes. Its screens, flows and decisions are most of a requirements document. Even when code is replaced, the prototype tells the next team what to build and what users already expect.

Who should decide — the team that built it or a new one?

Ask for the recommendation in writing, with the reasons, in the quote. A recommendation to keep or replace a part should be something you can read and argue with, not a judgement delivered on a call.

Defined by both lists

Describe your project. See what comes back.

Start your spec

No signature, no call. A business email unlocks the full quote.