Skip to content

No. 54Architecture8 min read2,036 words

Rescuing a stalled software project: audit, stabilise, ship

How to rescue a stalled or inherited software project: recover access, audit the codebase, decide what to keep, stabilise it, and avoid an unnecessary rewrite.

Written by
Lazy Devs
Published
Updated
Sources
Cited inline

Key takeaways · 05

The short version

  1. 01Rescue a stalled software project in four steps: secure access to every account, audit the codebase, stabilise the build and critical paths, then resume feature work.
  2. 02Recover ownership first. Your company needs admin access to the repository, hosting, domain, database and third-party services before any other decision.
  3. 03A short audit should tell you whether the app runs, deploys, has tests, has outdated dependencies or leaked secrets, and what the data model really looks like.
  4. 04The database, core business logic and screens users rely on are usually worth keeping. Untestable code nobody can explain usually is not.
  5. 05A full rewrite is a last resort. Replacing the old system piece by piece, the strangler fig approach, keeps you shipping while risk falls.
On this page · 10

To rescue a stalled or inherited software project, work in four steps: secure access to every account and the code, audit what actually exists, stabilise the build and the critical paths, and only then resume feature work. Most stalled codebases are more salvageable than they look, and a panicked rewrite is usually the most expensive way out.

The freelancer stopped replying. The agency keeps quoting "two more weeks". Your technical lead left and took the only mental model of the system with them. Now you are looking at a repository nobody fully understands and wondering whether to throw it all away. When we take over an existing codebase, the first thing we usually find is that the situation is more recoverable than it felt at 11pm. Here is the process we follow.

Why software projects stall

It helps to know what went wrong, because the cause shapes the fix.

CauseWhat it looks likeWhat it means for the rescue
Key person leftNobody can deploy or explain parts of the systemKnowledge recovery and documentation come first
Scope never settledLots of half-built features, nothing finishedCut scope hard; finish one path end to end
Team out of its depthFragile architecture, repeated reworkAudit carefully; some parts may need replacing
No decision-maker on the client sideWork waiting on approvals, shifting prioritiesFix the process, not just the code
Accumulated shortcutsEvery change is slow and breaks somethingAdd tests, then pay down debt incrementally

The last one is usually technical debt that nobody was tracking. The first four are mostly about people and process, which is why "just get better developers" rarely fixes a stall on its own.

Step 1: secure access before anything else

If a developer or agency has walked away, ownership is the urgent problem, not the code. Before any technical decision, make sure your company has admin access to:

  • The domain registrar and DNS
  • Hosting and cloud accounts (and the billing on them)
  • The code repository, including all branches
  • The production database and its backups
  • Email sending, payment, analytics and any other third-party services
  • App store accounts, if there is a mobile app
  • The password manager or wherever secrets are stored

Then rotate every password and API key the departing person held. The OWASP Secrets Management Cheat Sheet is a good reference for what proper handling looks like. If credentials were ever committed to the repository, assume they are compromised: rotating them matters more than scrubbing history, though GitHub documents how to remove sensitive data too.

If someone is refusing to hand over access to things your company pays for, that is now a contractual and possibly legal matter. Get advice; this is engineering guidance, not legal advice.

Get what you can from the outgoing team

If the previous developer or agency is still reachable, even reluctantly, a short, structured handover saves weeks of archaeology. Keep the request specific and in writing:

  • Everything on every branch pushed to the repository you own, including unfinished work.
  • How to run it locally and how to deploy it, step by step, even if the answer is "by hand".
  • Environment variables and configuration for each environment, handed over through a password manager rather than email or chat.
  • Every outside service the app depends on, with which account it lives under.
  • Known problems: bugs they never fixed, jobs that fail silently, anything they were nervous about.
  • What was in progress and what was promised to you but not started.

Keep the tone neutral. You want information, not a confession, and people share far more when they do not feel blamed. If the relationship has broken down entirely, skip this and rely on the audit; the code and the data will tell most of the story eventually.

Step 2: an honest audit before any code

You cannot fix what you have not measured. A good team spends the first days reading, not writing. Not promising, not estimating: reading.

What the audit checks

AreaQuestionHealthy signWarning sign
Runs locallyCan a new engineer get it running in an afternoon?Documented setup, one commandA week of tribal knowledge
DeploysIs there a repeatable deployment?Automated pipeline, rollbackManual steps on a server
HistoryDoes the git history tell a story?Small, described commitsOne giant "initial commit"
DataDoes the schema match what the app claims to do?Constraints, clear relationsEverything in loose text fields
TestsIs there a safety net on critical paths?Tests on sign-in, payments, core flowNone, or all skipped
DependenciesHow far behind are libraries and runtimes?Recent, supported versionsUnsupported versions with known advisories
SecretsAre credentials kept out of the code?Environment config, secret storeKeys committed to the repo
Security basicsIs access control enforced on the server?Checks on every protected routeChecks only in the front end

Two of these deserve extra attention. Dependencies: runtimes and frameworks publish support windows (Node.js, for instance, lists when each release line reaches end of life), and anything past that point no longer gets security fixes. Tools such as Dependabot show how far behind you are in minutes. Security basics: broken access control sits at the top of the OWASP Top 10, and in inherited apps it is the problem we check for first.

What you should get from the audit

A plain-language report: what is here, what works, what is fragile, what is broken, what is risky right now, and what it would take to make it boring and reliable. Ideally with a prioritised list and rough effort for each item. If a team wants to start rebuilding before it can tell you that, be careful. A short technical audit is the low-commitment way to buy this understanding before you sign up for anything bigger.

Step 3: decide what to keep

The things founders panic about are often fine, and the things they ignore are often the real problem.

Usually worth keeping: the database and its data, the core business logic, and the parts of the app users touch every day. Ugly but working code is an asset. It encodes hard-won decisions about your business, and rewriting it means relearning those lessons.

Often worth keeping with work: the front end, even a dated one. A tired React app can be modernised incrementally; you rarely need to discard a working interface to move to current Next.js and React patterns.

Usually not worth saving: code with no tests, no documentation and no original author, where the logic is so tangled nobody can predict what a change will do. Build tooling that no longer installs. Half-finished features that were never wired up. Anything on a framework version so old it no longer gets security patches and cannot be upgraded in place.

The line is not old versus new. It is understandable versus a black box nobody dares touch.

Step 4: stabilise first, improve second

Once you know what you have, resist the urge to refactor everything. The first job is to make the system safe to work in.

  1. Make it build and deploy reliably. A repeatable build and a one-command deploy are the foundation. If shipping is scary, every fix is scary.
  2. Add tests around the critical paths. Not everything: the checkout, the sign-in, the thing that makes your phone ring when it breaks. These are the seatbelts that let you change code without holding your breath.
  3. Patch urgent security and dependency issues. Known vulnerabilities, leaked keys, packages with public advisories.
  4. Add basic monitoring and backups. Error tracking, uptime checks and a tested restore. You want to hear about problems before customers do.
  5. Write down how it works. Even one README covering how to run it, where things live and the known gotchas turns a black box into a system.

Only after that do you talk about new features or a redesign. Building on an unstable base is how projects stall in the first place. Keeping a codebase in this calm, predictable state is what good maintenance and support actually buys.

The rewrite question, honestly

People expect us to say "never rewrite". We will not. Sometimes a full rebuild is right: the framework is genuinely dead, the data model is so wrong that every feature fights it, or understanding the old system would cost more than replacing it.

But a rewrite is a serious decision, not a default. It means months with no new features, the risk of recreating old bugs, and a stretch of maintaining two systems at once. Joel Spolsky's essay on why rewriting from scratch is so risky is old but still accurate on this point.

Most of the time the better path is the strangler fig approach: put the new system alongside the old one, replace it one piece at a time, and keep shipping value throughout. We cover how that works in practice in replatforming a legacy web app.

OptionWhen it fitsMain risk
Stabilise and continueCode is understandable; problems are process and debtUnderestimating debt
Incremental replacementSome parts are sound, others are notRunning two systems for a while
Full rewritePlatform is unsupported and cannot be upgraded; data model is fundamentally wrongLong feature freeze, recreated bugs

What a rescue costs in time and effort

We will not put a number on it without seeing the code, and you should be wary of anyone who does. What we can say is where the effort goes. The audit is short. Stabilisation is usually the largest chunk of early work, and it is mostly invisible to users: build pipelines, tests, upgrades, monitoring. That can feel frustrating when you have been waiting months for new features, so set expectations with your own stakeholders up front.

The things that make a rescue more expensive are predictable:

  • Missing access, especially to production data or hosting, which can block progress entirely.
  • Very old dependencies that need several major upgrades in sequence rather than one jump.
  • No tests at all on logic that handles money or permissions, where every change needs a safety net first.
  • Undocumented integrations with outside systems that only reveal themselves when something breaks.

The things that make it cheaper are just as predictable: a single decision-maker on your side, honest answers about what the previous team was asked to build, and a willingness to cut half-built features rather than finish all of them.

Choosing a team to take over

When you interview a team to rescue your project, the difference shows up early. Good looks like: asking to see the code and data before quoting, proposing a short paid audit, explaining problems in plain English, keeping working code instead of reflexively trashing it, and shipping small, frequent deployments. Red flags: "we would just rebuild it" before reading a file, a fixed price sight unseen, disparaging the previous developer, and resistance to writing anything down. We list more in red flags when hiring a development agency.

When we're not the right fit: if the system is mostly working and you need a few more hands for features, staff augmentation or your original team may serve you better than a rescue. And if the previous developer is still available and willing, a short handover with them is usually worth more than any audit we can run.

Stalled is not doomed

An inherited or stalled codebase is rarely as doomed as it feels. The way out is almost never a panicked rewrite. It is secured access, a calm audit, an honest read on what is salvageable, and a stabilise-first plan that gets you shipping safely again. Keep what works, replace what cannot be understood, and write down enough that the next person is not flying blind.

This is work we genuinely enjoy: taking something tangled and turning it back into a product you can build on. If you have a project that stalled or landed in your lap, tell us what you are dealing with and we will give you a straight answer about what it would take to rescue it.

If the original team is leaving, follow our guide to handing over a web project so access, documentation and knowledge move with the code.

FAQ · 05 questions

Frequently asked questions

What do I do when my developer disappears mid-project?

Secure access first: domain registrar, DNS, hosting, code repository, database, email and payment provider. Rotate any passwords and API keys the developer held. Then get an independent audit so a new team can tell you what was built, what works, and what it will take to finish.

How long does a codebase audit take?

For a typical small to medium web app, a focused audit usually takes days rather than weeks. It depends on the size of the system, how many services and integrations it has, and whether the code runs locally. The output should be a plain-language report, not just a list of issues.

Should I rewrite or fix an inherited codebase?

Fix it in most cases. Rewrites take longer than expected, freeze new features and often recreate old bugs. A rewrite makes sense when the framework is unsupported and cannot be upgraded, the data model fights every feature, or understanding the old system would cost more than replacing it.

Can a new team take over code written by someone else?

Yes, as long as you have the code, access to the infrastructure and the data. Even poorly documented code can be understood with time. The first weeks go into reading, getting it to run, and adding enough tests to change it safely.

Why do software projects stall?

Most stall for non-technical reasons: unclear scope, a key person leaving, no one on the client side making decisions, or a team out of its depth. Technical causes include no tests, fragile deployments and accumulated shortcuts that make every change slow and risky.

Related service

Web App Development

Production React and Next.js apps, built to last.

Learn more

Next step

Want this built right?

This is the work we do every day. Tell us what you are building and we will show you exactly how we would ship it.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts