Skip to content
Ylabator
ChecklistBeginner

The AI Coding Handoff Checklist

At handoff, the company must take ownership of code, accounts and deployments, rotate every credential the builder saw, then remove old access, in that order.

4 min read / Updated / Last checked

Format
Checklist · Beginner
Who it is for
Non-technical founders
You leave with
Take over a project from a freelancer, agency or AI builder account with source, access, deployments and docs under company control.

The problem

Verizon's 2026 Data Breach Investigations Report, released in May 2026, found a third party involved in 48% of breaches, up 60% from the year before [1]. For a startup, the first third party is often the person or agency that built the MVP, and the AI builder account they used to do it. The repository sits in their GitHub, the hosting project in their team, the API keys in their password manager.

Credentials outlive the relationship. When GitGuardian retested credentials it had confirmed as leaked and valid in 2022, more than 64% were still valid in January 2026 [2]. A key the builder once pasted into a chat, a config file or a laptop stays useful to anyone holding it until someone rotates it.

A handoff is usually treated as a file transfer: send a zip, share a login, say thanks. The founder ends up with a copy, not control. The checklist below moves control, in an order that avoids both a lockout and leftover access.

How it works

A handoff covers four areas, handled in a fixed order.

Source. The repository moves into a GitHub organization the company owns. GitHub's transfer keeps history, issues, pull requests and the wiki, and redirects old URLs. Webhooks, Actions secrets and deploy keys stay attached to the repository, and the original owner is added as a collaborator [3]. That last detail is the point: a transfer changes ownership, it does not remove the builder's access or invalidate anything they saw. If the code came from Lovable, Bolt or Replit, the builder project and its Git sync are part of the source too.

Deployments. Hosting, domains, the database and backups move to company accounts. On Vercel, a project transfer copies deployments, environment variables, domains and cron jobs, while integrations, logs, monitoring data and log drains do not move and must be set up again [4]. The person starting the transfer must be an owner of the origin team [4].

Access. Once the company owns everything, rotate every credential the builder could have seen: database passwords, API keys, OAuth client secrets, webhook signing secrets. Then remove old collaborators, deploy keys, personal tokens and app installations. Turn on GitHub push protection so a supported secret is blocked before it lands in the repository. On private repositories this requires GitHub Secret Protection [5].

Docs. A README with setup, build, test and deploy commands. A runbook for rollback and restore. An .env.example listing every variable without values. If coding agents will work on the repository, an AGENTS.md with the same commands [6].

The order matters. Removing access before transfer can lock the company out of an account only the builder can reach. Rotating before transfer leaves the new keys inside the old account.

Handoff order: control first, then keys, then access

Fig. 01
  1. Inventoryaccounts, secrets, domains
  2. Transferrepo, hosting, domain
  3. Rotateevery key the builder saw
  4. Remove accesspeople, keys, tokens
  5. Rebuild from docsnew person, clean clone
Rotation comes after ownership moves and before old access is removed, so nothing is locked out and nothing old still works.

By the numbers

of breaches involved a third party in Verizon's 2026 DBIR [1]
48%
of secrets confirmed leaked and valid in 2022 were still valid in January 2026 [2]
64%
for a recipient to accept a GitHub transfer to a personal account before the invitation expires [3]
1 day
for a Vercel project transfer, depending on the data attached [4]
10 s to 10 min
ItemGitHub repository transferVercel project transfer
History and contentCommits, issues, pull requests, wiki moveDeployments, builds, configuration move
SecretsActions secrets stay attachedEnvironment variables copied
PeopleOriginal owner added as collaboratorAdministrators move
ConnectionsWebhooks and deploy keys stay attachedIntegrations must be added again
ObservabilityNot applicableLogs, monitoring data and drains not moved
AddressesOld URLs redirectDomains moved or delegated
What moves in a platform transfer and what stays behind, per GitHub and Vercel documentation [3][4]

Read the table for what it does not say. Neither transfer revokes a single credential. Both carry the secrets and the connections across, which is what makes the move painless and also why rotation is its own step. The Vercel column also lists what must be rebuilt by hand: integrations and log drains, the parts most often forgotten until an alert fails to arrive.

The Verizon and GitGuardian figures explain the stakes. Third parties are now involved in about half of breaches, and leaked credentials stay valid for years. A handoff is the one moment when every third-party credential is known and can be closed in one pass.

Implementation

Keep the checklist in the repository as HANDOFF.md. The builder fills the inventory, the founder verifies each line, and each line gets a date and a name.

HANDOFF.mdmarkdown
# Handoff: <project>, from <builder> to <company>
Each line gets a date and the name of the person who checked it.

## 1. Inventory (builder fills, founder verifies)
- [ ] Every account the app uses: provider, owner email, plan, billing card
- [ ] Every secret name and where it is stored (no values in this file)
- [ ] Domains: registrar, DNS host, renewal date
- [ ] Databases, file storage, backups and their retention

## 2. Transfer ownership
- [ ] GitHub repository in the company organization
- [ ] AI builder project (Lovable, Bolt, Replit) on a company account, Git sync to the company repo
- [ ] Hosting project in a company team with a company payment method
- [ ] Domain in the company's registrar account
- [ ] Database, storage, email and AI provider accounts on company email

## 3. Rotate
- [ ] Database passwords, API keys, OAuth client secrets, webhook signing secrets
- [ ] Old values tested and rejected (401 or connection refused)

## 4. Remove old access
- [ ] Collaborators, pending invitations, deploy keys, personal tokens, app installs
- [ ] Builder removed from hosting, registrar, database and analytics
- [ ] Push protection on for the repository

## 5. Docs
- [ ] README: setup, build, test, deploy as commands
- [ ] RUNBOOK: deploy, rollback, restore, who gets alerts
- [ ] .env.example with every variable, no values
- [ ] AGENTS.md if coding agents will work on the repository

For step 2, a repository admin can move the repository from the GitHub settings page or with one API call, gh api -X POST repos/OWNER/REPO/transfer -f new_owner=your-company, which returns 202 and completes in the background [7]. For step 4, list everything that can still reach the repository before and after cleanup. The script uses the GitHub CLI and prints names only, never secret values.

repo-access-audit.shbash
#!/usr/bin/env bash
# repo-access-audit.sh OWNER/REPO: list everything that can still reach the repo.
set -euo pipefail
REPO="$1"
echo "== Collaborators and role"
gh api "repos/$REPO/collaborators" --paginate --jq '.[] | "\(.login) \(.role_name)"'
echo "== Pending invitations"
gh api "repos/$REPO/invitations" --jq '.[] | .invitee.login'
echo "== Deploy keys (each is a machine with access)"
gh api "repos/$REPO/keys" --jq '.[] | "\(.id) \(.title) read_only=\(.read_only)"'
echo "== Webhooks (where repository events are sent)"
gh api "repos/$REPO/hooks" --jq '.[] | "\(.id) \(.config.url)"'
echo "== Actions secrets (names only)"
gh secret list --repo "$REPO"
echo "Also check: Settings > Integrations > GitHub Apps installed on the organization"

Run it once before the transfer to build the inventory, and again after step 4. The second run should list only company people, company keys and webhooks you recognize.

Test it

The handoff is done when someone who never had the builder's help can run the product. Test it that way.

  • Clean-room build. A person new to the project clones the company repository and follows only the README. Expected: the app builds, tests pass and a preview deploy succeeds without a message to the builder.
  • Old credentials. Try one rotated database password and one rotated API key. Expected: rejected by the provider.
  • Old people. Ask the builder to try opening the repository, hosting dashboard and database console. Expected: access denied on all three.
  • Access audit. Second run of repo-access-audit.sh. Expected: no unknown collaborators, deploy keys or webhook URLs.
  • Restore. Follow the runbook to restore yesterday's backup into a scratch environment. Expected: it works, from the docs alone.
  • Push protection. Open the repository's code security settings. Expected: push protection shows as enabled [5].

Any failure goes back on the checklist with an owner. Do not make the final payment until all six pass.

Decision

Run the checklist at every change of builder, agency or AI tool account, and before any fundraising due diligence.

  • Write ownership of accounts and code into the contract before work starts, with the handoff checklist attached as the acceptance condition for the final milestone.
  • Budget a working day of the builder's time for the handoff itself, paid, so the inventory is complete.
  • Never skip rotation because "we trust them". Rotation also protects against their laptop, their password manager and their next breach.
  • Record the reasons behind non-obvious technical choices before the builder leaves: see Architecture Decision Records (ADRs).

Sources

  1. [1]Breach entry point, 2026 DBIR finds (opens in a new tab)Verizon, May 2026
  2. [2]The State of Secrets Sprawl 2026 (opens in a new tab)GitGuardian, March 2026
  3. [3]Transferring a repository (opens in a new tab)GitHub Docs, November 2026
  4. [4]Transferring a project (opens in a new tab)Vercel Docs, September 2026
  5. [5]About push protection (opens in a new tab)GitHub Docs, November 2026
  6. [6]AGENTS.md (opens in a new tab)Agentic AI Foundation, November 2026
  7. [7]REST API endpoints for repositories: Transfer a repository (opens in a new tab)GitHub Docs, November 2026

Technical guidance, not legal or security certification.

Need a technical review of an AI-built MVP?

Discuss your build