Skip to content
Book a scoping call

Taking over a system someone else built: the first 30 days

When a system changes hands, the first 30 days decide whether the takeover is calm or expensive. Here is the order we work in, and the report it ends with.

Muhammed Azharudheen K JFounder, CTO & Director

5 min read

Most software takeovers start with a deadline. The previous vendor's contract ends at the close of the month, the one developer who knew the system has moved on, or a renewal invoice arrives for hosting nobody can log in to. The pressure is to start changing things straight away. The first 30 days should go the other way: find out what exists, make it safe, and write down what you found before anything changes shape.

This is the order we follow when we take over a platform someone else built. It works whether the previous team is cooperative, unreachable or somewhere in between.

Takeover reportWhat exists and what is risky, what to keep and what to replace, in the order to do it.

Architecture diagramHow the parts of the system connect, where data lives and what runs where.

RunbookHow to restore, roll back and recover each part of the system, written so anyone on your team can follow it.

What the first 30 days produce
Fig. Takeover report

Access and inventory

Nothing else can start until you can log in. Make a single inventory and fill it in before reading a line of code.

  • Code hosts: every repository, including the ones for the mobile app, the scripts and the infrastructure, with who has admin rights.
  • Cloud and hosting accounts: which provider, whose name the account is in, who receives the bills.
  • Domains and DNS: the registrar, the DNS provider, when each domain renews and who holds the login.
  • Third-party services: payment providers, email delivery, SMS, maps, analytics, error tracking. Each one has an API key somewhere in the system and an account somewhere else.
  • Secrets: where passwords and keys live today. In an inherited system the answer is often "in a file on the server" or "in the old developer's password manager".

The goal of this step is ownership as well as access. Every account should end up in your organization's name, with the people who need access added to it. If the previous vendor holds the cloud account or the domain registrar login, moving those is the first item on the plan, because everything else depends on them.

Rotate credentials as soon as you have control. Keys that a departed team could still use are a live risk. Rotating them also shows which parts of the system depend on which key, because whatever breaks after a rotation was using it. Do it one service at a time, during a quiet hour, with someone watching the logs.

Reading the code

With access in hand, read the code before judging it. The first pass produces a map. Verdicts come later.

Start with the questions that decide how risky every later change will be.

  1. Can you build it? Clone the repository on a clean machine and follow whatever instructions exist. If the build needs a file that only lived on the old developer's laptop, you have found your first task.
  2. How does it reach production? A pipeline that deploys from the main branch, a script someone runs by hand, or files copied over FTP. Each one needs a different level of care.
  3. What are the dependencies, and how old are they? A framework several major versions behind is a planning item. A library with a known vulnerability is a fix.
  4. Is there a test suite, and does it pass? A small suite that passes is worth more than a large one nobody has run in a year.
  5. Where is the data? The databases, the file storage and the queues, with how each one is backed up and whether a restore has ever been tried.

Write down the infrastructure as it runs today, including the parts that live in no repository at all. A diagram drawn from what is actually running in the account is often the first accurate picture of the system anyone has had.

If the platform handles payments, personal data or logins, schedule an application security review during this phase. A reviewer reading the code for missing permission checks, injection flaws and the way secrets are handled will find problems that a functional read misses. It costs far less to find them before you build on top of them.

Stabilize before you change

The first changes you make should reduce risk without changing how the system behaves. Users should not notice them.

  • Backups you have tested. Confirm that backups run, then restore one into a separate environment and check that the application starts against it. Until you have done this, you do not know whether you have backups.
  • Monitoring on the critical paths. Uptime checks on login, checkout or booking, and an alert on error rates, sent to the people who now run the system.
  • Urgent security fixes. Patch dependencies with known vulnerabilities, close admin panels that are open to the internet, and remove accounts that belong to people who have left.
  • A repeatable deploy. If releases were done by hand, write the steps down and script them, so the next release does not depend on memory.
  • A staging environment that matches production closely enough to test a change before it goes live.

Resist the urge to refactor during this phase. Code that looks wrong may be handling a case nobody documented, and finding that out in production is expensive. Every change in the first weeks should either make the system safer or make the next change easier to check.

The written takeover report

The takeover report is the deliverable of the first 30 days. It turns what the team learned into decisions the business can make, and it is the document you will come back to for the rest of the year.

A useful takeover report covers six things.

SectionWhat it answers
InventoryEach account and repository, every domain and service, and who owns each one
ArchitectureHow the system runs today, drawn from what is deployed
Risks foundEach risk with its severity, and what has already been fixed
KeepThe parts that hold up and should stay as they are
Replace in stagesThe parts that should change, in order, each priced on its own
RunbookHow to deploy, roll back and restore, as the system stands

The keep list matters as much as the replace list. Most inherited systems have parts that work well: a data model that fits the business, an integration that has run without trouble for years. Naming them protects them from a rewrite that would cost money and add risk for nothing in return.

What to replace first

Order the replacement stages by risk and by how much each one unblocks. How unpleasant the code is to read comes a distant third. A typical order looks like this.

  1. Anything that blocks safe operation. An unsupported runtime that can no longer receive security patches, or a hosting setup that cannot be backed up properly.
  2. The parts that slow every change down. A missing test suite on the code that changes most often, or a deploy process that takes half a day.
  3. The parts with a business case of their own. A slow checkout, a reporting module the finance team has outgrown, a mobile app that no longer passes store review.

Each stage should have a way back. Run the new component beside the old one where you can, move traffic or users across in steps, and keep the old path available until the new one has run cleanly for long enough to trust it. A takeover that ends in one large cutover puts the risk you spent 30 days reducing back onto a single day.

When we take over a system, this sequence is the platform takeover engagement: access and inventory, a read of the code and the release setup, risky items fixed first, then the takeover report with what to keep, what to replace and the price of each stage. Hosting and monitoring can run under the same contract from the first month, so the team that wrote the report is the team that watches the system.

Next step

Working on a build or a takeover?

Bring the system, the spreadsheet or the brief. A 30-minute call, then a written scope within one business day.

Accessibility

Text size

Display and motion

Saved in this browser.