Guides

What to Ask Your Agency Before They Hand Over the Code

Updated

Picture a company that paid an agency to build its customer portal. Two years on, it hires its first in-house developer and ends the agency contract. The handover is a zip file, a short README and a farewell call.

The new developer spends their first month working out how to deploy the portal, which outside services it needs and why some parts are written so oddly. Every one of those answers was in the agency's heads during the farewell call. Nobody asked.

When an agency or contractor hands software back to you, the handover is your one chance to get what they know, while they are still paid to tell you. After that, every answer costs a new contract or guesswork. You don't need to be technical to run a good handover. You need the right questions, a list of what you should receive, and someone to check it. This is the list I would use. Disclosure: Ask Jentic is my product, and it helps with the checking in steps 4 and 5.

1. Ownership and access

Settle who owns what before anything else. These are business questions, and your contract should already answer some of them.

  • Is the code repository in our company's account, or will you transfer it? When?
  • Which hosting, domain, email and paid service accounts does the software use, and whose name are they in?
  • Which passwords, keys and certificates will you hand over, and how will you hand them over securely?
  • Is any part of the software your own reusable code or licensed to us rather than owned by us?

2. How it is built, run and released

Your next developer must be able to make a change and ship it without calling the agency. Ask for the steps in writing, and ask the agency to walk through a release with your developer before the contract ends.

  • How do we set it up on a new developer's machine?
  • How do we release a change, and how do we roll one back?
  • Where are the backups, and when was a restore last tested?
  • What runs on a schedule, and what happens if it fails?

3. What is fragile, and why

Every system has parts that break easily and choices that look strange. The agency knows where they are. Ask directly, and write the answers down.

  • Which parts break most often, or worry you most?
  • Which shortcuts did you take, and what would you do differently with more time?
  • Which decisions would confuse a new developer, and what was the reason for each?
  • What is not tested?

4. Check what you received

Have your own developer, or an independent one, try the setup and release steps before the final invoice is paid. Anything they cannot do from the written material is a gap to close while the agency is still engaged.

Get a map made from the code itself and compare it with the agency's description. The differences show what was left out.

5. Plan the first changes

The first changes your team makes are the riskiest, because nobody yet knows what depends on what. Before each one, find out what it can reach. Keep early changes small, reviewed and easy to roll back, and add tests around the fragile parts named in step 3.

Copy-paste agency handover checklist

SYSTEM: <name>     AGENCY: <name>     CONTRACT ENDS: <date>

1. OWNERSHIP AND ACCESS
[ ] Code repository in our company account
[ ] Hosting, domain, email and paid services in our name: <list>
[ ] Passwords, keys and certificates handed over securely
[ ] Ownership and licences of all code confirmed in writing

2. BUILD, RUN, RELEASE
[ ] Setup steps written down
[ ] Release and rollback steps written down
[ ] Backup location known; restore tested: <date>
[ ] Scheduled jobs listed
[ ] Release done by our developer with the agency present: <date>

3. FRAGILE PARTS
[ ] Parts that break most often: <list>
[ ] Known shortcuts: <list>
[ ] Reasons for confusing decisions written down: <link>
[ ] Untested areas: <list>

4. CHECKED
[ ] Our developer set it up from the written steps alone
[ ] Map of the code made from the code: <link>
[ ] Gaps closed before final payment

5. FIRST CHANGES
[ ] What each change can reach checked before release
[ ] Tests added around fragile parts

Frequently asked questions

When should we start the handover?

Well before the contract ends, ideally with a few weeks of overlap where your developer makes changes while the agency is still available. Questions come up only once someone tries to do real work.

We don't have a developer yet. Can we still do this?

You can do steps 1 to 3 yourself: they are questions and a list of what you should receive. For step 4, hire an independent developer for a few days to check the material. It is cheaper than finding the gaps after the agency has gone.

Should we ask the agency for documentation as part of the contract?

Yes, if you can. A handover clause that names what you will receive (the items in this checklist) is much easier to enforce than a request made at the end.

Where does Ask Jentic fit?

I built it, so take that into account. It reads the repository on GitHub and writes an overview, diagrams, build and run details and decision records drafted from git history, which you can compare with what the agency gave you in step 4. For step 5 it shows what a change to any file, or a whole release, can reach and which changes no test covers. It does not replace the agency's answers on accounts, ownership or why they made a choice.

Skip the manual work

Ask Jentic maps code you've inherited from an agency, writes down how it fits together and shows what each change can reach. Connect it on GitHub to check your handover.

More guides