Hand your repository to an engineer who has never seen it. Could they bring your production system back by Friday? If you have never tried, you do not know. You can find out in a quiet week, before anything breaks, with a rebuild test: five days, one step a day.

Why test what has not broken
The risk you face has a name in software: the bus factor, the number of people who would have to disappear before a project stalls. Researchers estimated it for 133 popular open-source projects (Avelino et al., ICPC 2016). The paper calls it the truck factor, and found that it was two people or fewer in 65 percent of all the projects it studied.
Those projects were open to any contributor who wanted to take part. You can run a similar count on a system built for your own company, using the history in its repository.
A bigger supplier does not fix it
The natural response is to hire a larger firm, one with forty engineers. Size alone is no protection. A firm of forty can still have one person who knows your system, while the rest work for other clients. The bus factor belongs to your system, not to the supplier's headcount.
What matters is where the knowledge of your system lives once it is built: in one person's head, or in things your company holds and can hand to someone else.
What the stranger needs
Three things, and you should hold all of them:
- The repository, in an account you own. It holds the code that trains and serves the model, and the setup written as code: servers, databases and settings defined in files, so the system is rebuilt by running them. Engineers call that infrastructure as code.
- The credentials, in a vault your company controls. These are the passwords and keys the system runs on, and you can revoke all of them on the same day.
- A runbook a stranger can follow. How to build it, ship a change and restore data.
The security standard ISO/IEC 27001 asks for the base of this, in Annex A control 5.37: operating procedures written down and made available to the people who need them.
Defining the setup in files can sound like a developer's preference. It is more: it makes the setup repeatable, so a rebuild no longer depends on steps that one person happens to remember. The rebuild test then shows whether what you already hold is enough.
Two limits to set first
The test is judged against two limits, and you set both of them before it starts. The US federal standards body NIST names them in its contingency planning guide (SP 800-34): maximum tolerable downtime, the longest outage your business can accept, and recovery point objective, the point in time to which your data must be recovered after an outage.
For the model that routes your orders, the first is one day and the second is the previous day's backup. Write both down before Monday. Friday's result means nothing without them.
The rebuild test, one day at a time
- Monday. A second engineer gets the repository, the credentials and the runbook, and nothing else. This proves you hold all three, in accounts you control.
- Tuesday. They build a working copy in an empty account by running the setup files. Any manual step they have to discover along the way is a gap to close.
- Wednesday. They ship a one-line change to a test environment. Now someone other than the original builder has modified the system and released the result.
- Thursday. They restore yesterday's data from a backup copy. You learn whether the backups exist, can be found, and hold the data you expect them to hold.
- Friday. Compare the hours the rebuild and restore took with your maximum tolerable downtime, and the age of the data you restored with your recovery point objective.
Why the restore is on the list
In a public postmortem from 2017, a code-hosting company described removing production data by mistake and finding that "the process of both finding and using backups failed completely"; its report also notes that a detail the engineers needed "was not clearly documented in our engineering runbooks". The NIST guide says backup tapes should be tested regularly, to ensure files can be retrieved without errors. Thursday is that test.
What a result looks like
Your limit is one day. In the test, the working copy takes until Friday, not Tuesday, because the second engineer, new to it, spends those days finding out how the servers were set up.
The rebuild alone takes four days, three more than you can afford, and the restore has not started. You know what closes the gap: the setup written as code, then a second timed run.
Code written with AI agents
When one engineer directs AI agents, more of your system can sit behind one name. Hold any builder who works that way to the same test. It does not care how the code was written. It asks only whether someone else can rebuild the system and change it.
When the rebuild test fails
A failure is not, by itself, a reason to change suppliers. It finds the gap before an outage does. Ask for each missing piece to be fixed, and then run the rebuild again.
Replace a supplier over this test only if they refuse to run it or will not close the gaps it finds.
First steps this quarter
- List the systems your revenue depends on. Each one is a candidate for the test.
- Get a report from each repository. How many people changed each part last year.
- Book one rebuild test. Give it to an engineer who did not build the system.
Run it on the system with the fewest names on it, or the one that only one person can deploy. By the end of the quarter, you will know whether a stranger can rebuild that system.
References
- Avelino, G., Passos, L., Hora, A., & Valente, M. T. A Novel Approach for Estimating Truck Factors. IEEE International Conference on Program Comprehension (ICPC), 2016.
- International Organization for Standardization. ISO/IEC 27001:2022 Information security, cybersecurity and privacy protection: Information security management systems: Requirements, Annex A, control 5.37: Documented operating procedures. 2022.
- Swanson, M., Bowen, P., Phillips, A. W., Gallup, D., & Lynes, D. Contingency Planning Guide for Federal Information Systems. NIST Special Publication 800-34 Rev. 1, 2010.
- Postmortem of database outage of January 31. Engineering blog, 2017-02-10.


