Insights · Building software
How to rescue a stalled software project
Secure every account first, audit the code and infrastructure, stabilise what runs, then decide repair or rewrite from evidence, and document the handover.
Published · 6 min read
To rescue a stalled software project, secure access to every account first, then audit the code and infrastructure, stabilise what is running, and only then decide whether to repair or rewrite. The decision should come from evidence gathered in the audit, not from the new team's taste, and the rescue should end with documentation good enough that you are never this exposed again.
Projects stall for ordinary reasons. A freelancer takes a full-time job. An agency loses the developer who knew the system. A contract ends badly. Whatever the cause, the founder is left with software they depend on and nobody who understands it. Here is the order we work in when we take one over.
Step 1: Secure access before anything else
Before anyone reads a line of code, find out what you control. Make a list of every account the product depends on and check who owns each one:
- Domain registrar and DNS provider
- Hosting: servers, cloud accounts, managed databases, CDN
- Code repository: GitHub, GitLab, Bitbucket, or files on someone's laptop
- App store accounts: Apple and Google developer accounts, if there is a mobile app
- Payment provider: Stripe, PayPal or a local gateway
- Email sending, SMS, maps and any other paid API
- Analytics, error tracking and uptime monitoring
- Third-party SaaS the product connects to
For each one, record whose name it is registered in, who has admin access, and where the billing goes.
If the previous developer still has the keys
Ask them, politely and in writing, to transfer ownership or add you as an owner. Most will cooperate if asked early and clearly. If an account is registered under their personal email, many providers have a documented transfer or recovery process for the paying customer, so keep invoices and contracts that show the account is yours.
Rotate credentials
Once you hold the accounts, change passwords, regenerate API keys and remove access for anyone who should no longer have it. Do this carefully: rotating a key that the live product uses, without updating the product, will take it down. List where each secret is used before you change it.
Step 2: Audit what exists
The audit answers one question: what do we actually have? It's short compared with the build that follows, and it is the most valuable part of the rescue.
Code
- Is the full source code in a repository, and does it match what is running in production?
- Can the project be built and run from scratch on a clean machine?
- Which framework and language versions does it use, and are they still supported?
- Are there automated tests? Do they pass?
- How are secrets handled? Are passwords or keys written into the code?
- Are there obvious security problems, such as unvalidated input or outdated dependencies with known issues?
Infrastructure
- Where does it run, and how is it deployed? Is there a repeatable process or only manual steps?
- Are there backups, and has anyone ever restored one?
- Is there monitoring, or does the team find out about outages from users?
Data
- What is stored, where, and how is it structured?
- Is personal or payment data handled in a way you are comfortable defending?
Product
- Which features work, which are half-built, and which were promised but never started?
- What do current users depend on every day?
The output is a short written report: what exists, what works, what is broken, what is risky, and a prioritised list of fixes.
Step 3: Stabilise before you build
Don't add features to a system you don't yet trust. Stabilising means:
- Back up everything: the database, uploaded files and the server configuration. Test that a backup can be restored.
- Put the code under version control if it isn't already, with the production version as the starting point.
- Set up a staging copy so changes can be tested away from real users.
- Add basic monitoring for uptime and errors, so problems are seen before customers report them.
- Fix what is actively hurting users or the business: broken payments, failing sign-ups, security holes.
- Update dependencies with known security issues, one at a time, testing as you go.
At the end of this step the product may look the same to users, but it can now be changed safely.
Step 4: Repair or rewrite
This is the decision founders worry about most. A rewrite is tempting because new code feels clean. It's also expensive, slow, and it throws away years of small fixes that nobody wrote down. Repair is usually cheaper, but not always.
Repair usually makes sense when
- The core data structure is sound, even if the code around it is messy
- The framework is still supported, or can be upgraded in steps
- Users depend on the product daily and can't wait for a replacement
- Most problems are concentrated in a few areas
A rewrite may make sense when
- The framework or language is no longer supported and can't be upgraded
- The data structure is wrong for what the business now does
- Security problems are spread through the whole codebase
- The product is small enough, or early enough, that rebuilding costs less than understanding the old code
The middle path
Often the best answer is to replace the system piece by piece: keep the parts that work, rebuild the worst module behind a clean interface, move users over, and repeat. The product keeps running throughout, and each step can be tested on its own.
Whatever you decide, write down why. A clear record of the reasoning helps when the decision is questioned six months later.
Step 5: Document so it doesn't happen again
The real cause of most stalled projects is that knowledge lived in one person's head. The rescue is finished when that's no longer true. Handover documentation should include:
- A README explaining how to run the project locally and how to deploy it
- An overview of the architecture and the main data structures
- A list of every external service, what it is used for and who owns the account
- Where secrets are stored and how to rotate them
- How backups work and how to restore one
- Known issues and the agreed next steps
Keep it in the repository, next to the code, so it changes when the code changes.
Warning signs to watch for now
If your project has not stalled yet, these are early signs that it might:
- Only one person can deploy
- You don't have admin access to your own hosting or repository
- Releases keep slipping and nobody can explain why
- There are no backups, or nobody knows if they work
- Simple changes take longer each time
Any one of these is worth fixing while your current developer is still around.
How we take over a project
Our Technical partnership service is built for this situation: a code and architecture review, a prioritised list of fixes, dependency and security updates, bug fixes and small features, and an ongoing monthly maintenance plan if you want one. We start with the review, then agree with you in writing what to fix, improve or extend. If you have a project that has stalled, start a project and describe what you have, or book a call to talk it through with an engineer.
Questions
- What is the first step when a developer leaves a project?
- Secure access: list every account the product depends on, confirm who owns each one, transfer ownership to your company and rotate credentials carefully.
- Should I rewrite or repair a stalled project?
- Decide from an audit. Repair usually fits when the data structure is sound and the framework is supported; a rewrite may fit when the stack is unsupported or the data model is wrong.
- What should a code audit cover?
- Whether the source matches production and builds from scratch, supported versions, tests, secrets handling, security issues, deployment, backups, monitoring and data handling.
- Can Voxira take over an existing application?
- Yes. We start with a review of the code and architecture, then agree in writing what to fix, improve or extend.
