All posts
  • governance
  • app-lifecycle
  • ai-adoption

The hardest button to build was Delete

AI made it easy to start an internal app. Nobody talks about how it ends. This week we worked on the last day of an app's life, and found it was harder, and more important, than the first.

On this page 6 sections
  1. Starting is cheap now. Ending never was.
  2. What "gone" has to mean
  3. What was harder than we expected
  4. The difference between deleting and forgetting
  5. Hype versus what works
  6. Where this leaves our customers

Every conversation about AI and internal apps is about the first day. How fast someone can go from an idea to a working tool. How a person who never wrote code can now ship something their whole team uses.

Almost nobody talks about the last day.

Apps end. The team that needed the tool moves on. The process it supported changes. The person who built it leaves the company. A better version replaces it. And on that day, someone has to answer a simple question: when we say this app is gone, is it actually gone?

This week we spent most of our time on that question. It turned out to be one of the hardest things we have built.

Starting is cheap now. Ending never was.

Before AI, building an internal app took long enough that people thought about it. Somebody asked who would own it. Somebody asked where it would live. The friction was annoying, but it meant every app had a story someone could tell.

AI removed the friction. That is mostly a good thing. It also means organisations now collect apps the way a kitchen drawer collects cables. Each one made sense when it arrived. Nobody remembers what half of them are for. And nobody wants to be the person who unplugs the wrong one.

So the apps stay. Not because anyone decided to keep them, but because removing them feels risky and nobody owns the decision. Every one that stays is something security still has to think about, something that still costs money, and something that may still hold data it should not.

This is where governance usually falls apart. Teams put real care into how an app gets approved. Then they put almost none into how it leaves.

What "gone" has to mean

When we started, our idea of removing an app was close to what most tools do. Stop it running. Hide it from the list. Done.

That is not gone. That is asleep.

An app that has been running for a while leaves pieces of itself in many places. Some of those pieces are obvious. Some are not. A few were created by the app's own history, long after anyone remembers it being set up. A removal that only covers the obvious pieces leaves the rest behind, quietly, with nobody looking after them anymore. That is worse than leaving the app alone, because at least a running app has someone who knows it exists.

So we set a harder bar. When an admin decides an app should go, every part of it goes. Not most parts. Every part, including the ones that belong to it but were never neatly labelled as its own.

What was harder than we expected

We expected the hard part to be finding the pieces. That was hard. But three other things surprised us more.

Removals get interrupted. A removal is not one moment. It takes time, and in the real world things restart, connections drop, and a job that started does not always finish. A removal that stops halfway leaves an app that is neither alive nor gone. We had to make sure an interrupted removal is noticed, picked up again, and finished, instead of quietly abandoned.

Our own safety systems fought us. A platform that watches over apps is built to treat a disappearing app as an emergency. That is exactly right on a normal day. On the day you retire an app on purpose, it is noise. A planned goodbye should not look like an outage to the people on call.

The history has to outlive the app. This was the most important lesson. When an app is gone, the record of what happened to it must not go with it. Who built it. What it did. Who decided to remove it, and when. If removing an app also erases its story, you have traded one governance problem for another. The question "what happened to that tool?" deserves an answer a year later.

The difference between deleting and forgetting

We ended up with two ideas that sound similar and are not.

Removing an app takes it out of service but keeps what it needs to come back. People change their minds. A quiet tool turns out to matter to someone who was on holiday.

Forgetting an app is final. Everything it was made of is cleared away, and only the record remains: a clear, honest account that it existed and that it was ended on purpose.

Giving people both options turned out to matter more than any single technical choice. It lets an organisation be careful first and thorough second, instead of choosing between "keep everything forever" and "hope we got it all".

Hype versus what works

The hype around AI-built software is about speed. Build in an afternoon. Ship by Friday.

What works, in an organisation that has to answer to auditors, customers and its own security team, is a full life cycle. An app should be found, approved, run safely, changed safely, and, one day, ended safely. Each of those steps needs an owner and a record. Leaving the last one out does not make the system faster. It just moves the cost to someone else, later, usually at a bad moment.

If we want people to keep building with AI, and we do, we have to make it safe to stop using what they built. A clean ending is part of what makes a fast beginning acceptable.

Where this leaves our customers

For the teams we work with, this changes a quiet worry into a routine task. When a tool has served its purpose, an admin can retire it with confidence that it is really gone, that nothing is left running unattended, and that the story of the app is still there when someone asks.

It is not the most exciting feature we have shipped. It might be one of the most important ones.


dkod rebuilds ungoverned AI-built internal apps under governance, from approved templates. Discovery starts with dkod-signals.

  • governance
  • app-lifecycle
  • ai-adoption

Written by

Haim Ari

Co-founder & CTO of DKOD

Follow on LinkedIn

Questions about this post?

Tell us what you are seeing in your own org, and we will answer.

support@dkod.ai