Getting Your Code Back: What to Demand Before You Walk Away

The handover checklist below is the one we run on every transfer. Seven items. The order matters. Each one opens up the next.
Do not pay the final invoice until all seven are signed off.
1. Repository ownership
The code lives in a git provider. Demand that the repository is moved into your organization or your personal account, with you as the owner, not just a contributor.
Owner means you can revoke their access, manage settings, and prevent force-pushes. Contributor means they still control the repo.
Verify by opening the org settings page yourself.
2. Full commit history, not a squash
Some agencies squash the entire project into one commit before handing over. Cleaner, they say. What they actually did is erase six months of who-did-what.
Demand the original commit history. If they refuse, the answer is we are not signing off until we have it.
3. Every secret, in writing, in your password manager
Every API key, OAuth secret, webhook signing secret, database URL, third-party service login. Demand a written list, with the secret stored in your 1Password or Bitwarden, not in a Google Doc.
Then rotate every secret on the list within 48 hours of receiving them. Assume the old values are still cached on someone's laptop.
4. Cloud and service account transfer
Domain registrar, DNS provider, Vercel or Render project, Supabase or RDS database, Stripe account, S3 buckets, email-sending provider. Every account that was provisioned on your behalf must transfer to your billing.
Make this a written punchlist. Tick each one as the transfer completes. We will sort it out later is how cloud accounts get abandoned and your domain expires.
Generate your handover punchlist
Paste the technology stack of your project into ChatGPT. The prompt below produces a customized version of the seven-item handover checklist with the exact accounts, providers, and credentials to demand for your specific build.
“|”
5. A README that actually works
Clone the repo on a fresh machine and follow the README. If it does not install, run, and connect to the right environments, the handover is not complete.
The README must list every environment variable, every service the project talks to, and the deploy procedure.
6. A runbook
If production breaks at 2am, what does the on-call do? The agency must hand over a one-page runbook covering common failure modes, where logs go, and who to call at each third-party vendor.
Nobody likes writing a runbook. The agency writing one is the cleanest signal that the handover is real.
7. A scheduled goodbye
Not they will be on Slack if we need them. A specific date when the agency's access to your systems is fully revoked. Calendar it. Send the calendar invite. Show up to verify.
Until there is a scheduled goodbye, the handover does not end. We have seen temporary collaborator access live in repos for nine months after a contract closed.
Want us to run the handover?
If the previous team is dragging on items, we step in as the receiving party and chase them down. Send the contract and the punchlist. We close it out, then we ship the rebuild.
Related reading
- You're Allowed to Fire Your Dev Team: the email that triggers the handover process.
- Our 14-Day Transfer-and-Ship Playbook: what we do once your repo is in your org.
- Eight Transfer Projects, Five Patterns: what we find when handovers were rushed.
Enjoyed this article? Share it with others
Related Posts

Vibe Coded the Prototype? Great. Here Is the Five-Step Exit Ramp to Production. (unchanged)
Your AI-built prototype just won a paying customer. Don't rewrite it and don't keep prompting on top of it. Freeze features, map what actually runs, sort the code into four piles, fix the foundation, then ship again.

Vibe Coding Works for v0. It Collapses at v1.2. Three Cracks to Watch.
Vibe coding gets you to v0 fast. The collapse comes later, and it isn't random: it starts when a second customer arrives or money starts moving. What each of the three cracks looks like, and a test for each.

Your AI-Built Supabase Is One Curl Away From a Leak. Eight Checks for Tonight.
The key in your front end is public by design. What protects your data is row-level security, and an AI-built app may not have it. Eight checks for tonight, starting with the curl an attacker would run.