Rescue Projects: What We Learn From Other Agencies' Mistakes
A founder's agency ghosted them with the source code. No repo access, no docs, no credentials. Here's how we recovered the project — and the lessons for every founder.
"My agency ghosted me with my source code."
That was the entire DM. One line that contained months of frustration, lost money, and a product that existed in limbo — built but inaccessible.
This founder had paid a development agency for 5 months of work. The app was live, serving real users. Then the agency stopped responding. No explanation. No handoff. No access to the code repository, the deployment credentials, or even the database.
We've now handled four rescue projects like this. Each one taught us something about what goes wrong and how to prevent it.
The Recovery: Day by Day
Day 1: Forensic Recovery
First priority: get access to something. Anything.
- The app was deployed on Vercel. The founder had the Vercel account (one of the few things they controlled), so we pulled the latest build artifacts.
- The database was on a managed PostgreSQL instance. We recovered the connection string from environment variables in Vercel and exported a full dump.
- A contractor who had worked with the agency still had a fork of the repo on their personal GitHub. It was 3 months out of date, but it was source code.
Day 2-5: Code Audit
What we found wasn't great:
- 60% salvageable: Core business logic, database models, and most API routes were functional. Not well-written, but functional.
- 40% had serious issues: API keys hardcoded in frontend code, admin routes with no authentication, SQL queries built with string concatenation (injection vulnerabilities), and zero automated tests.
- No documentation: Not a single README, comment, or architectural diagram.
This is unfortunately common. The agencies cutting corners on code quality are the same ones cutting corners on documentation, testing, and client relationships.
Week 2-6: Rebuild on Clean Architecture
We didn't start from scratch — that would have been wasteful. Instead:
- Kept the database schema (it was the strongest part of the original work)
- Rewrote the API layer with proper authentication, input validation, and error handling
- Rebuilt the frontend using the same design but with cleaner component architecture
- Added comprehensive test coverage for all critical paths
- Set up CI/CD with GitHub Actions
- Created documentation: README, architecture diagram, environment setup guide, deployment procedures
The result: same features, 40% less code, and a codebase the founder could hand to any competent developer in the future.
Total Cost
The rebuild cost approximately 70% of what the original agency had charged. So the founder effectively paid 170% for a product they should have gotten for 100%.
But here's the real cost they don't show up on invoices:
- 5 months of momentum lost
- Trust in development partners destroyed
- Early users who experienced bugs during the unstable period
- Mental health toll of dealing with ghosting and uncertainty
5 Rules to Never End Up in This Situation
Based on our four rescue projects, here are the patterns we see:
1. Own Everything From Day 1
You should have admin access to: the code repository (GitHub/GitLab), hosting platform (AWS/Vercel/etc.), domain registrar, all third-party services (payment processor, email service, analytics), and the database.
If your agency hosts everything under their accounts, you're one ghosting away from losing your product.
2. Get Access to Code Weekly
Don't wait for "handoff." You should be able to see the code repository from week 1. Even if you're not technical, having a developer friend review the code every few weeks is cheap insurance.
3. Demand Automated Tests
"We test manually" means "we don't test." Automated tests are the only way to know the codebase works and keeps working as features are added. Ask to see the test coverage numbers.
4. Never Pay More Than 2 Weeks Ahead
Structure payments around deliverables, not timelines. Pay for what's been delivered and demonstrated, not for promises. If an agency requires 50% upfront with no milestone structure, that's a red flag.
5. Document the Exit
Before you sign anything, ask: "What exactly do I get if we part ways tomorrow?" The answer should be: all source code, all credentials, all documentation, and a working deployment you control.
How We Prevent This at CodesSavvy
Every project we take on follows these rules by default:
- The founder's GitHub account hosts the repo from day 1
- We deploy to the founder's cloud accounts
- All credentials are stored in the founder's password manager
- Weekly demos include live access to the staging environment
- Full documentation is part of every project, not an add-on
- If we parted ways tomorrow, the founder could continue with any other team without missing a beat
Because here's the thing: if your development partner makes it hard for you to leave, they're not confident you'll want to stay.
Need a rescue? We offer free 30-minute code audits. Even if you don't work with us, we'll tell you exactly what shape your codebase is in. See how we build things correctly from day one with our AI app rescue and MVP development processes.
Need this built?
Book a free 30-minute call. We'll discuss your goals, give you honest advice, and a clear estimate — no obligation.
Ways we can help
MVP Development
Production-ready MVPs in 4-6 weeks. Fixed price, senior engineers.
Learn moreAI App Rescue
Your Lovable, Bolt, or v0 app breaks with real users? We audit, fix the gaps, and hand back code you own.
Learn moreAI Integration
Add AI features to your product — OpenAI, Claude, RAG, semantic search, and copilots.
Learn moreMobile App Development
iOS and Android from one React Native codebase. Fixed price.
Learn moreRelated articles
What Is a VPAT — and How Do You Actually Get One? (2026)
A customer asked for your VPAT and you have no idea what that means. Here's what a VPAT/ACR is, why procurement demands it, and how to get one that survives scrutiny.
Read moreAccessibilityThe European Accessibility Act: Does It Apply to Your US SaaS? (2026)
The EAA went live in June 2025 — and it applies to US companies selling to EU customers, not just European ones. Here's whether you're on the hook and what to do.
Read moreAccessibilityEN 301 549 Explained: The EU Accessibility Standard Behind the EAA
EN 301 549 is the technical spec that the EAA, the EU public-sector directive, and now Canada's ACA all point to. Here's what it is and how it relates to WCAG.
Read more