Blog & Insights

The business depends on an app someone built with AI. Should you harden it, rebuild it or retire it?

Harden it when the data model and the code are sound, rebuild it when they are not, and retire it when a product you already own does the job. Keep it running and have the code read before you decide.

Harden it when the data model is sound and the code can be changed safely. Rebuild it when either of those is not true, and retire it when a product the company already owns does the job. Most of these apps are worth keeping in some form. Before you decide, keep the app running, find out how much depends on it, put the code, the hosting and the accounts in the company’s name, and have someone who did not build it read the code.

The order matters. The second step removes the ways the app could disappear overnight, and it buys the time to make the larger decision with facts.

1. Find out how much depends on it

How much to spend, and how fast to move, depends on what stops when the app stops. Sit down with the person who built it and the manager whose team uses it, and write down the answers.

  • Who uses it, and how often. Three people once a week is a different case from a whole department all day.
  • What stops if it is down for a day, and for a week. Quotes, schedules, invoices, a report a customer receives.
  • What data exists only in the app. If the app is the only place a record is kept, losing the app means losing the record.
  • What else reads from it. Other systems, spreadsheets, a month-end process.
  • How it has grown. The number of users and records now, compared with six months ago.

Then put the app in one of three groups: a convenience, something a process depends on, or something customers or money depend on. The rest of this article assumes the second or third.

2. Make it safe to depend on while you decide

The purpose of this step is to make sure the company still has the app next month. It is the minimum, and securing the app properly is a longer piece of work. The app’s future is decided in step 4.

  • The code is in a repository the company controls.
  • The hosting, the database and every outside service are in company accounts, with two administrators.
  • Passwords and keys have been replaced and are stored outside the code.
  • A backup exists and has been restored once.
  • One page says how to run the app, release a change and recover it.
  • From now on, a second person reads each change before it reaches the users.

Someone built an app with an AI coding tool. What should IT check before it goes live? has the full list. Do this work with the builder. They know where everything is, and they should not feel that the app is being taken away from them.

3. Have someone who did not build it read the code

The decision in the next step rests on a few facts about the app, and none of them shows on the screen. The reader should be able to read the code and the database, and should have no stake in the answer. Ask them to report on these.

  • The data model. Whether the way the app stores customers, orders or jobs matches how the business works. This is the hardest thing to change later.
  • The structure of the code. Whether a change in one place can be made without breaking another, and whether any automated tests exist. AI tools write code that reads well and is often inconsistent with itself from one part to the next.
  • What it is built on. Whether it runs on a mainstream stack that other engineers can pick up, or on an app-building platform. If it is on a platform, ask whether the code and the data can be exported and what the platform will not let you do.
  • How deep the security problems go. A missing sign-in can be added. An app in which every user can reach every record because of how it was designed needs more than a setting.
  • Whether it will hold the load. What happens with ten times the records and with several people editing at once.
  • Whether you already own something that does the job. A feature of the ERP or the CRM may cover it.

4. Decide whether to harden it, rebuild it or retire it

Make the decision with the business owner and the builder in the room.

Harden it when the data model is sound, the code can be changed safely, and the problems are in what surrounds the code: sign-in, secrets, hosting, backups and tests. The app keeps its screens and its users. This is the answer more often than people expect.

Rebuild it, in part or in full, when the data model is wrong, when changes keep breaking other parts, or when the platform it runs on is the limit. The app has already settled the workflow, the screens and the exceptions, so it serves as the specification for the rebuild. Keep the old one running until the new one is ready.

Retire it when a product the company already owns does the job, when few people use it, or when making it safe would cost more than the app is worth. Export the data, move the users, turn it off, and keep a record of what was done. Tell the builder why, in person.

You built a prototype, not a product. That’s fine. describes the same three outcomes for the person who built the app. It is worth sending to them before the conversation.

5. Run it like any other system the company depends on

Whichever way the decision goes, the app is now a system IT is responsible for, and it needs what the others have.

  • An owner in the business, who decides what it should do, and an owner in IT, who keeps it running.
  • A place on the list of systems, with its backups and its monitoring.
  • A budget line for hosting and for changes. An app the business depends on will keep changing.
  • A named person or partner who fixes it when it breaks.

Keep the builder involved in what the app does next. Before an AI-Built System Runs Your Business makes that case to the owner of the company, and it is a useful piece to share with the executive team.

Common questions

Should IT have stopped this app from being built? No. Someone solved a real problem faster than a project would have. IT’s job now is to make the result safe to depend on, and to make it easy for the next person who builds something to come to IT early.

How long can we leave the app as it is? Not long, if it has no backup, one administrator or code that lives on one laptop. An app in that state can stop without warning. Close those gaps first, and you will have time to make the larger decision properly.

Is hardening cheaper than rebuilding? Usually, when the data model and the structure of the code are sound. When they are not, hardening spends money on an app that still cannot be changed safely, and the rebuild comes later anyway.

What happens to the person who built it? Keep them involved. They know the problem and the users better than anyone. What changes is that they are no longer the only person who can run the app or change it.

If nobody on your team can give you that independent read of the code, the vibe check, our System Evaluation for AI-built code, does it for a fixed fee and ends with a recommended path.

Related service: Project Rescue

More like this, in your inbox. Subscribe for our latest thinking, resources, and events.

Get started

Not sure where to start? Start here.