Skip to contentAnemo
EN
Contact

Taking Over a Codebase From a Team You No Longer Trust

· 5 min read

The order matters more than the checklist. Most of what goes wrong in a difficult handover happens in the days around giving notice, when access is still in someone else's hands and goodwill has just evaporated. Everything you secure before that conversation is cheap; almost everything you ask for after it is a negotiation.

This is written for the awkward case. If the relationship is ending well, the same list applies with less urgency.

Key takeaways

Before you say anything

Confirm who owns the accounts

Work through every account the product depends on and establish whose name is on it: domain registrar, DNS, hosting or cloud, app store developer accounts, payment provider, email and SMS services, analytics, error monitoring.

It is common for some of these to sit in a supplier's name, sometimes for legitimate practical reasons. Recovering a domain or an app store account from an uncooperative party is slow and occasionally impossible, and until it is resolved you cannot ship an update. This is the single most important item on the list.

Get your own access to the repository

Not a copy sent to you, an account of your own, on an organisation you control, with the full history. The history matters: it is the only record of why things were done, and a zip file of the current state throws it away.

Take a copy of the data

A current export, in a format you can read, stored somewhere that is not the supplier's infrastructure. Do this even if you are confident, because it costs an hour.

Write down what you do not know

Before the conversation, list the questions only they can answer. How deployment works, what the scheduled jobs do, which third-party accounts exist, what breaks regularly and how it is fixed. Once notice is given, you get a limited number of questions answered with real effort, so know what they are.

What to ask for during the handover

Ask for these in writing, with a date:

The realistic version of this is a paid handover period of one to four weeks. It feels like paying a team you are unhappy with, and it is still usually the cheapest option available, because reconstructing this from the outside costs several times more.

The four things you cannot get back later

Undocumented knowledge. The reasons, the near-misses, the thing that looks wrong but is deliberate. This leaves with the people.

Third-party accounts in their name. Some of these can take months to recover, and a few cannot be recovered at all.

Mobile signing keys. Lose these and you cannot update the existing app; users have to install a new one.

Goodwill. A team that would have answered one email in three months will not answer it after a hostile exit. Preserving the option to ask a question later is worth more than winning the last exchange.

After the handover

Do not commission a rewrite in the first month. A new team looking at unfamiliar code will usually recommend replacing it, partly because that is genuinely easier for them and partly because unfamiliar code always looks worse than it is.

Get an independent read of the condition first. That gives you a baseline to judge any rewrite proposal against, and it is exactly the moment an audit earns its cost. We cover what that involves in what a technical audit is and when to commission one.

Then take one small, real change through the whole process: modify something minor, deploy it, watch it work. Everything you did not know is revealed by that exercise faster than by any document.

Frequently asked questions

Do I have to tell them I am leaving before securing access?

You are not obliged to give notice before putting your own accounts in order, and asking for access to things you already own is a normal request that does not need a reason attached. If your contract sets out a handover process, follow it, but nothing prevents you from confirming ownership of your own domain first.

They are refusing to hand over the code. What now?

Check the contract for the intellectual property clause, since in many agreements the code is yours on payment. If it is silent, this becomes a commercial negotiation rather than a technical one, and a short conversation with a lawyer is usually cheaper than a long argument. The practical lever is usually the final invoice.

How much should a handover period cost?

Typically a few weeks of the team's normal rate. Compare it against the cost of a new team reverse-engineering the same knowledge, which routinely runs to several times that, and it is rarely the wrong purchase.

Should I hire a new team before or after the handover?

After you know the condition, if you can manage the gap. Choosing a new supplier while you still cannot describe what you have leads to proposals based on assumptions. If you want help reading what you have inherited, get in touch.

How we would work on this

Related reading

Building the product for what comes next

We would rather deliver one product that holds up than three that have to be rebuilt. That standard is the same on every project, whatever its size.

Ali Boran GazelCEO

Contact us