Rescuing a Stalled Software Project: A Recovery Playbook
A recovery playbook for stalled builds: secure what you have, restore a working release, then decide module by module where the project goes next.

Software project recovery means taking a stalled or failing build, securing what exists, making a release possible again, and only then deciding module by module what to keep, rebuild or replace.
That order is the whole playbook. Teams under pressure tend to reverse it: they replace the developers, promise a new date or commission a rewrite before anyone has confirmed that the current code builds, that the credentials still work, or that the people who understand the system are still reachable. Each of those moves spends money before the facts are in. A recovery that runs triage first, then stabilization, then a plan grounded in evidence gives the business back the two things it lost when the project stalled: a release it can see, and a forecast it can trust.
The problem is common, and better tooling has not made it rarer. PMI’s Pulse of the Profession 2026 found that nearly one third (31%) of complex projects fail to achieve the full scope of their intended benefits. Writing in IEEE Spectrum in November 2025, risk analyst Robert N. Charette noted that software success rates have not markedly improved in two decades, and that most failures trace back to known, avoidable causes. Known causes can be diagnosed.
This playbook is for the founder, CEO or CTO of a small or mid-sized company whose build has stopped moving. It covers how to tell a stalled project from a failing one, the three phases of recovery, how to decide between refactoring and rebuilding, what changes when much of the code was written by AI, and how a recovery team should approach an inherited system.
How do you know a software project is failing?
A software project is failing when the business can no longer predict what it will get, when and at what cost, and the team cannot explain why. Missed deadlines alone do not prove it, since healthy projects slip too. The real signal is a loss of control: nobody can say, with evidence, what state the code is in or what it would take to ship the next change.
In practice the symptoms cluster, and most stalled projects show several of them at once:
- Releases have stopped, or become events. Deploying takes a specific person, a weekend and some luck, so the team deploys rarely, and every release bundles weeks of changes that fail together.
- Estimates no longer mean anything. Every task is “almost done,” and the monthly spend keeps rising while visible progress does not.
- Knowledge has walked out. The developer or company that built the system has left, and the documentation, if any, describes a version of the system that no longer exists.
- Outages recur. The same classes of incident come back, and each fix seems to cause the next problem.
- Engineers avoid parts of the code. Certain modules are treated as untouchable, so new features get bolted on around them and the workarounds slowly become the architecture.
- Nobody owns the whole picture. Product, engineering and the business each hold part of the story, and no one can reconcile them into a plan.
A stalled project and a failing one are different situations with the same first step. A stalled project has a working product and a broken delivery process: the code runs, but nothing new reaches users safely. A failing project carries doubts about the product itself: it may never have worked properly, or it no longer fits the business it was built for. Triage tells you which one you have, which is why it comes before any decision about the team, the scope or the budget.
If several of these signs describe your project, start with the release: tell us about your system, and we will scope the first fix before you commit to anything else.
Why do software projects stall?
Software projects usually stall for organizational reasons that surface as technical symptoms. The people who held the context leave, the path to production decays, and scope keeps moving while nobody owns the trade-offs. The code is where the damage becomes visible, which is why it tends to be blamed first and diagnosed last.
The team or the development company is gone
The most acute version is a sudden departure. A freelancer stops answering, an in-house lead resigns, or the agency that built the product winds down. Recent history showed how abruptly that can happen at scale: Builder.ai, a Microsoft-backed app development company whose valuation approached $1 billion, filed for bankruptcy in May 2025 as its funds ran out. Few companies face a collapse of that size, but the lesson applies to every build. If you cannot say today where the repository lives, who holds the cloud credentials and who is able to deploy, any departure turns into a crisis.
The path to production has decayed
Many stalled projects have code that mostly works but cannot be shipped safely. The build depends on one laptop, environments drifted apart long ago, there are no automated tests to catch regressions, and deployment is a sequence of manual steps that one person remembers. Each release is risky, so releases get rarer and larger, which makes them riskier still. Teams caught in that loop often look slow from the outside when the real problem is that every change has to be shipped by hand, all at once.
Knowledge lives in people, not in the system
Systems built quickly by a small team carry their design decisions in a few heads. When those people move on, the next team inherits code without the reasoning behind it, and every change becomes a piece of archaeology. Missing documentation is rarely the root cause of a stall, but it multiplies the cost of every other problem, because each fix starts with working out why the code is the way it is.
Scope outgrew the architecture
Products grow into markets their first architecture was never designed for. A system built for one customer type, one region or one workflow gets stretched with exceptions until every change touches everything. The team is not lazy or careless; the structure is fighting them, and adding more developers to a structure like that usually adds coordination cost faster than it adds output.
Nobody is willing to call it
Projects also stall because the decision to change course keeps getting deferred. Charette’s essay makes the point that large failures repeat the same documented causes decade after decade, and the pattern holds at the scale of a single startup. The warning signs are visible months before anyone acts on them, because acting means admitting that a large share of the spend did not produce what was planned. The cost of that delay is rarely the money already spent; it is the money spent while waiting.
Phase 1: Triage, or securing what you actually have
Triage is the first phase of software project recovery: secure access to everything the project depends on, then build an evidence-based picture of the code, the infrastructure and the delivery process before changing the team, the scope or the budget. Its output is a written assessment the business owns, whatever it decides to do next.
Start with access, because it is the one thing that can disappear overnight.
Secure the assets. Confirm that your company, not an individual or a former contractor, owns and controls:
- the source code repositories, with full history, not an archive of the latest version
- cloud accounts, hosting, domains, DNS and SSL certificates
- third-party API keys, payment gateway accounts and app store accounts
- databases and backups, including proof that a backup can actually be restored
- the CI/CD configuration and any deployment scripts
- issue trackers, design files and whatever documentation exists
Rotate every credential that former team members held, and keep the new ones in a secrets manager or password vault rather than a shared document. If the previous team is still reachable, a cooperative handover is worth a great deal: even a few recorded walkthroughs of the deployment process and the riskiest modules can save weeks of reverse engineering later.
Then audit, read-only. A rescue audit reviews the inherited architecture, the dependencies, test coverage, the build and the infrastructure, and ties every finding to the code. Read-only access protects a system that is already fragile. On our Legacy Software Rescue engagements, we sign an NDA before any access, and the audit runs with no write access to production.
Collect the incident history. Outages, data problems, support tickets and security alerts, the small ones included, show where the system actually hurts. That is often a different place from where the code looks worst, and recovery effort should follow the pain, not the aesthetics.
Find the people who hold context. That means former developers, the incumbent team if there is one, support staff who know the workarounds, and the users who built spreadsheets around the gaps. A surprising share of a system’s real requirements lives in those workarounds, and none of it is in the code.
What the triage assessment should contain
The deliverable at the end of triage is short and concrete. It should answer five questions, each with evidence:
- What exists? An inventory of repositories, services, environments, integrations and data stores, with owners.
- Can it be built and deployed? Whether a clean checkout builds, and what currently stands between a code change and production.
- What is at risk right now? Security exposures, data integrity issues and single points of failure, ranked.
- What is each major module worth? A first view of which parts to keep, refactor, rebuild or replace, with the reasoning.
- What would the first release take? The smallest set of changes needed to ship safely again.
Make sure the assessment is yours to keep and act on with any team, including your own. An audit that only makes sense if you hire the people who wrote it is a sales document.
Phase 2: Stabilize by making a release possible again
Stabilization is the phase in which the recovery team restores a reproducible build, a working deployment path and enough monitoring to see what production is doing, then works through the urgent incidents in priority order. The goal is a release the business can observe, because once releases are routine, every other improvement becomes cheaper to deliver.
The first concrete milestone in a recovery is not a new feature. It is a small change, made by the new team, that passes through a build anyone can run, into an environment that matches production, and out to users through a pipeline rather than a ritual. Until that works, every estimate is a guess, because nobody knows what shipping actually costs.
The stabilization work typically covers six things:
- A build that runs anywhere. Pin dependencies, remove the reliance on any one machine, and get the project building in a clean environment from the repository alone.
- Environments that match. Rebuild staging so it behaves like production, ideally defined as code, so the next team never has to reverse-engineer it.
- An automated deployment path. Move the manual steps into a pipeline, with a rollback that has been tested rather than merely written.
- Monitoring and alerting. Error tracking, searchable logs, uptime checks and alerts that reach a person. You cannot stabilize what you cannot see.
- A safety net around the riskiest flows. Not full coverage: tests around payments, sign-up, data imports and whatever the incident history flags, so changes stop breaking them silently.
- The urgent list. Use the incident history to rank outages, data integrity problems and security gaps, then fix them in that order.
Two disciplines make this phase work. First, freeze new feature development, or cut it to the minimum the business cannot live without, because features added to an unstable system make it less stable. Second, release small and often from the moment the pipeline works, because frequent small releases are how the team and the business rebuild trust in each other.
Stabilizing a product customers are still using
Most stalled systems cannot simply be taken offline while they are repaired. Customers are signed in, payments are running and data keeps arriving, and that shapes how stabilization has to be done:
- Change one layer at a time. Moving the code into proper version control, automating deployment and upgrading the framework are separate steps, each released and verified before the next begins. Bundle them together and any failure becomes impossible to diagnose.
- Hide unfinished work behind feature flags. New behavior can ship switched off, then be enabled for internal users or a small share of customers before everyone sees it.
- Keep a tested way back. Every risky release has a rollback that has actually been run, and database changes are written so the previous version of the code can still work with them.
- Migrate integrations in parallel. When a third-party API or an internal service has to change, run the old and new paths side by side and compare what each one stores, not only whether each call succeeds. A call can report success while writing different data, and no error log will show it.
- Tell customers what is changing. Announced maintenance windows and a short status note cost little and buy a lot of patience while the platform is being repaired.
The payoff compounds. Once a change can travel from a developer’s branch to production in hours rather than weeks, fixes stop queuing behind each other, incidents are resolved faster, and the team can plan instead of firefighting. That is also when the longer-term decision about each module can be made calmly, with real delivery data behind it.
How to measure stabilization
Measure progress with the numbers DORA uses for software delivery. DORA’s guide to its delivery metrics defines throughput through change lead time, deployment frequency and failed deployment recovery time, and instability through change fail rate and deployment rework rate. You do not need to benchmark against other companies. You need the trend on your own project: releases getting more frequent, lead time shrinking, and fewer deployments that need an immediate fix. Those five numbers also make better status reports than any slide, because they are hard to argue with.
Keep, refactor, rebuild or replace?
The rescue-or-rebuild decision should be made module by module, after stabilization, on evidence from the audit and from working with the code. It should not be a single verdict on the whole system made at the start. Most inherited systems contain parts worth keeping, parts worth refactoring, and parts that should be rebuilt or replaced with an existing product.
A whole-system rewrite feels decisive, which is why it is tempting when a project has burned trust. It is also the option that defers value the longest. The business keeps paying for the old system while the new one is built, and the rewrite has to rediscover every undocumented rule the old code was quietly enforcing. A per-module decision keeps value flowing while the worst parts are fixed, and it lets the team learn the domain before it rebuilds anything.
| Decision | When the evidence supports it | What to watch |
|---|---|---|
| Keep as is | The module is stable, rarely changes and has few incidents | Add tests around it so it stays that way |
| Refactor | The logic is sound but the structure fights every change, or the framework is outdated but upgradeable | Refactor in small, released steps behind tests, not in a long-lived branch |
| Rebuild | The module blocks the roadmap, defects keep recurring, or its technology has no viable upgrade path | Run old and new side by side and compare outputs before switching over |
| Replace | The module does something a mature product or service now does well, such as billing, authentication or search | Count the integration and data migration cost, not just the license |
Two common patterns
Two situations come up again and again in inherited systems, and they usually call for opposite answers.
The first is a product built over years without a consistent framework, where the business rules are sound but buried in code nobody wants to touch. A staged refactor onto a mainstream framework, released in small steps behind tests, usually preserves far more value here than a rewrite would. Customers keep working throughout, the rules the old code enforced survive, and the codebase becomes easier to maintain and extend with every release. An independent code review at the end is a cheap way to confirm the result is as healthy as the team reports.
The second is a system whose platform has run out of road: an unsupported runtime, hosting that cannot be upgraded, or a front end that blocks every new feature. Refactoring inside those limits only postpones the problem, so a planned rebuild onto a current stack, with the infrastructure migrated in the same effort, is often the cheaper path over a few years. The rebuild should still be staged, with the old and new systems running side by side until the new one has proven it handles real traffic and real data.
The point of the framework is that the evidence picks the approach, not the frustration of the moment. When the assessment does point to a full rebuild, it becomes a planned legacy software modernization program, and our guide to legacy application modernization challenges and strategy covers how to sequence one.
Phase 3: Chart the path forward
The third phase turns the audit and the stabilized system into a sequenced plan: a named team, a roadmap ordered by business risk and value, estimates linked to specific findings, and a governance rhythm that keeps the project from drifting back into a stall. This is the point where recovery becomes ordinary development again.
A credible recovery plan has properties the original plan probably lacked:
- Estimates carry their reasoning. Each estimate points to the audit finding it depends on. Modules with high uncertainty are flagged, with a short, time-boxed investigation scheduled before anyone commits to a date.
- One decision-maker on the business side. Stalled projects often have several stakeholders who each assume someone else is deciding. Recovery needs one person who can settle scope questions in days, not a committee that settles them in quarters.
- Work is sequenced by risk, then value. Security gaps and data integrity issues first, then the modules that block the roadmap, then the features the market is waiting for.
- Releases stay small and visible. The pipeline built in phase 2 becomes the reporting tool, and stakeholders see working software every release instead of status slides.
- System knowledge gets written down. Architecture decisions, runbooks and onboarding notes live in the repository, so the next transition never starts from zero.
- Scope is reset honestly. The original backlog was written before anyone knew what the audit would find. Re-plan from the business outcome the product has to deliver, and let low-value items go.
When stopping is the right call
Recovery is not always the answer, and a good assessment says so. If the product no longer fits the market, if the business case has changed, or if the cost to recover clearly exceeds the cost of a smaller replacement, the right move is to stop, keep what has value (data, integrations, validated requirements) and start a smaller build. Info-Tech Research Group made a related point about AI initiatives in August 2026: its recovery blueprint announcement argues that setbacks are often mistaken for failure, and it builds in an explicit step to determine whether recovery is realistic before a roadmap is set. The same discipline applies to any stalled build. The worst outcome is neither a recovery nor a restart; it is continuing to fund the stall because nobody made the call.
What changes when AI wrote much of the code?
AI-generated codebases stall in a recognizable way. They reach a working demo quickly, then become hard to change safely, because nobody fully understands the code, tests are thin, and security issues sit inside code that looks finished. The recovery playbook still applies, but the audit has to establish how much of the code a human actually reviewed.
The research describes the same pattern from several angles. In its 2025 State of AI-assisted Software Development report, Google’s DORA program found that AI adoption now improves software delivery throughput but still increases delivery instability, and that 30% of respondents report little to no trust in the code generated by AI. In the Stack Overflow 2025 Developer Survey, the biggest single frustration with AI tools, cited by 66% of developers, was “AI solutions that are almost right, but not quite,” and 45% said debugging AI-generated code is more time-consuming. Security is the sharpest edge. Veracode reported in October 2026 that, in its GenAI Code Security Report, the share of AI code generation tasks that produced code with a vulnerability fell from 44% to 38%. Veracode called it the first meaningful gain since 2025, but at 38% no recovery audit can assume generated code is safe.
For a recovery, that changes three things:
- The audit checks provenance. Which parts were generated, which were reviewed, and by whom. Generated code that nobody reviewed is treated as unverified, however polished it looks.
- Security review moves into triage. Exposed secrets, missing access control and injection flaws are checked before stabilization starts, not after the first incident.
- Duplication gets mapped before refactoring. Generated code often solves the same problem several ways in different places, so consolidating it is part of making the system changeable at all.
None of this argues against AI in recovery work. Used with discipline, it speeds up the slowest part of taking over an unfamiliar system, which is understanding what the system actually does. AI tools are good at summarizing unfamiliar modules, tracing how data moves between services and comparing large sets of records, and those are exactly the tasks that make a takeover slow. The discipline lies in the guardrails around them:
- Analyze anonymized or synthetic data when production records are needed, so customer information never reaches a model.
- Run old and new behavior side by side during any migration, and compare stored results rather than trusting success codes.
- Keep a fallback in production until the comparison shows no remaining differences.
- Put an engineer in charge of every change. AI-assisted changes go through the same review and tests as any other change, and nothing ships without human approval.
Our Forward Deployed Engineer engagements work on that basis: the engineer reviews every AI output before it ships, using only the AI tools the client’s policy approves.
The difference between disciplined AI-assisted recovery and a vibe-coded stall is human ownership of every change that reaches production. Our post on who reviews the code the AI writes covers that review model in more depth.
What to ask before handing your codebase to a new team
Before a new team touches a stalled project, confirm how access will be controlled, what the assessment will produce, how the recovery will be priced and estimated, and who exactly will do the work. The answers show whether a team is selling a rescue or practicing one.
Questions worth asking:
- What will you need access to, and when? A disciplined answer starts with read-only access under an NDA and adds write access only as the recovery scope requires it.
- What will the assessment contain? Findings tied to the code, a recommendation for each module and the current risks, ranked.
- How do you separate the assessment from the recovery? Pricing the recovery before anyone has read the code is guessing. A sound approach scopes the assessment first and quotes the recovery against its findings.
- Who are the engineers, and will they stay? Recovery depends on context accumulating in the team. Ask for named, senior people and how continuity is handled.
- What does the first release look like? The answer should be a small change through a working pipeline, not a feature roadmap.
- How will we see progress? Working releases and delivery metrics beat status reports.
- Which security standards apply to our data? If the system handles personal or regulated data, ask how access, secrets and audit trails are managed, and which standards the team is audited against.
Our guide to choosing a software development partner covers the commercial side of that decision: engagement models, red flags and the questions to put in writing.
How we approach inherited systems
Our approach to inherited software follows the same order as this playbook: an independent assessment first, then a working release, then a sequenced plan delivered by a named senior team. unicrew is an AI-native software engineering and technology consulting partner with 100+ senior in-house engineers across six countries, and our Legacy Software Rescue service is built for the situations described above: releases that have stopped, a delivery team that has left, an inherited codebase nobody has assessed, AI-generated code whose review status is unknown, and outages that keep coming back.
The engagement starts with an assessment of the code, the dependencies, the build and the infrastructure, carried out under an NDA, with least-privilege access and no write access to production during the audit. It produces module recommendations and a plan for restoring releases, and the assessment is yours whatever you decide next: your own engineers or the incumbent team can act on it, or a senior unicrew team can take on the recovery. Recovery delivery is scoped and priced separately, once the code has been read, and it ends with a working release and a named senior team.
Recovery is often the first step rather than the last. When the system runs but needs a planned, module-by-module rebuild, that work continues as legacy software modernization. When it needs steady care, software maintenance and support keeps it from drifting back into a stall. We work this way with SaaS companies and software vendors as well as founders who inherited a product, under an ISO 27001:2022 certified security practice, and most engagements start within two to four weeks.
If nobody on your side can make a release today, start there: tell us about the system you inherited, and we will scope the first fix before you commit to anything else.
Key takeaways
- Triage before you change anything. Replacing the team, the scope or the architecture before an assessment spends money before the facts are in.
- Secure access first. Repositories with history, cloud accounts, domains, credentials and restorable backups must belong to your company, not to a person.
- The first milestone is a release, not a feature. A small change through a reproducible build and an automated pipeline turns every later estimate from a guess into a forecast.
- Decide per module, on evidence. Keep, refactor, rebuild or replace each part of the system based on the audit and the incident history, rather than issuing one verdict on the whole.
- Measure recovery with delivery metrics. Lead time, deployment frequency, recovery time, change fail rate and rework rate show whether the project is actually healthier.
- Treat unreviewed AI-generated code as unverified. Check provenance and security during triage, and keep a human accountable for every change that ships.
- Know when to stop. If the business case has gone, keep the data and the lessons, and start a smaller build instead of funding the stall.
Frequently asked questions
It depends on what triage finds, so a credible timeline comes after the assessment, not before it. The assessment is a short, scoped piece of work. Stabilization aims first at a working release through a reproducible pipeline, and the rest of the recovery is planned module by module, with estimates tied to the audit findings. Most unicrew engagements start within two to four weeks, and the recovery duration is agreed once the audit is done.
The cost follows the scope the assessment uncovers, which is why a sound rescue prices the assessment first and quotes recovery delivery separately, once the code has been read. At unicrew, recovery work is priced through one of three engagement models: time and materials, fixed price, or team extension. Every estimate carries its reasoning, so uncertain modules are visible before you commit. Our Legacy Software Rescue page explains how the scoping works.
Not before you have secured the code, the infrastructure and the credentials, and not before an independent assessment shows what you actually have. If the incumbent team is cooperative, keeping it involved during the handover preserves context that is expensive to rebuild. If it is unresponsive or gone, take control of repositories, cloud accounts and domains first, then commission the audit. The findings can be used by your own engineers, the incumbent or a new team.
Full repository access with history; admin control of cloud accounts, hosting, domains and DNS; every third-party API key and app store account; database backups that have been test-restored; the CI/CD configuration and deployment scripts; and whatever documentation and issue history exist. Ask the outgoing team to walk through the deployment process and the integrations with your existing systems. Then rotate every credential they held, using a secrets manager rather than a shared document.
Yes. A project that looks nearly finished can still hide a build nobody else can reproduce, untested critical flows, security gaps or a deployment that depends on one developer's machine. Those problems surface at launch or at the first change after it. A short assessment before launch confirms the code can be built, deployed and supported by people other than its authors, which costs far less than finding the same issues in production.

