CodekeeperTransaction Services

InsightsEscrow and closing

Does it build? Software build verification before you close

Owning source code is not the same as being able to turn it into running software. Build verification tests that difference before closing. It matters most in transactions where the people who wrote the code will not be there afterwards.

6 min readUpdated Codekeeper Transaction Services

Why source code alone is not enough

A build is the process that turns source code into software that runs. It draws on far more than the code: compilers of particular versions, hundreds of third-party components, configuration files, scripts, and an environment set up in a particular way.

In a working team, much of this lives in habit. The build runs on a server someone configured years ago. One component comes from a private registry. A script on a senior engineer's laptop generates part of the code. An environment setting that nobody wrote down decides whether the product starts.

None of this is negligence. It is how software teams work when the same people are present every day. It becomes a problem at the moment those people are no longer available, which is the moment some buyers take ownership.

A buyer who receives a complete copy of every repository may still be unable to produce the product. The gap between holding the code and running it is filled with knowledge, and knowledge does not transfer by assignment.

Three levels of verification

Verification of a code deposit comes in three levels, each establishing more than the one before.

LevelWhat it establishesWhat it leaves open
Integrity checksThe materials are exactly what was deposited, unchangedWhether they are complete or can be built
Rebuild in a sealed environmentThe software can be built from the deposit alone, and startsWhether every function behaves as intended
Test deploymentThe built software deploys and runs in a sandboxHow it behaves under real load and real data

Integrity checks rest on cryptographic fingerprints of each file. They prove sameness. They belong in every transaction, and they say nothing about whether the deposit is sufficient.

A rebuild is the decisive step. The deposited materials are taken into an environment with no connection to the seller's systems, and the software is built from them. If something is missing, the build fails and shows where.

A test deployment goes one step further and starts the full product in a sandbox. It is the closest a buyer can come, before closing, to proof that what it is buying runs.

What a manual build test involves

Build verification is not new. Escrow providers and technical advisers have long offered it as a manual service.

A specialist engineer reads whatever documentation exists, prepares a clean environment, attempts the build, and records each failure. Each failure prompts a question to the seller's team, then a wait, then another attempt. For a product of any size this takes weeks of specialist work, and it depends on the seller's engineers being available to answer.

That cost is the reason build tests have often been left out of transactions. Inside an exclusivity period, a test lasting several weeks competes with everything else for time.

Automation changes the calculation. Software agents can now read a codebase, infer how it is meant to be built, and try, in hours. The result is still a build that either succeeds or does not. The broader question of what agents can and cannot do in a review is covered in AI agents in due diligence.

When it is worth doing

A rebuild is not needed in every deal. Where the buyer acquires the whole company, the engineering team stays, and the data room shows the product being built and released every week, the risk is low.

It is worth doing where the buyer will have to build and run the software without the people who wrote it:

  • Carve-outs. The product is separated from a parent whose shared build systems, registries and tooling stay behind. See carve-outs: can the software run without the parent?
  • Asset purchases. The buyer takes the code and not the company, and often not the team.
  • Purchases out of insolvency. The engineers have usually gone, and there is nobody to ask. See buying software out of insolvency.
  • Products that rest on a few engineers. If one or two people hold the build knowledge, their departure has the same effect as an asset purchase.
  • Code written largely by AI. Where much of the code was generated, the team may not hold a full picture of how the parts fit together.

In each case the question is the same. If the answer has to be found after closing, the buyer finds it alone.

Reading the result

A failed rebuild before closing is good news of a kind. It names a specific gap, such as a missing component, an undocumented step or an absent configuration file, at a time when the seller still has every reason to supply it. The gap is filled, the deposit is updated and the rebuild is run again.

A rebuild that passes is dated evidence that the deposit is sufficient to produce the software. The parties can refer to it in the agreement, for example as a condition of closing.

The limits should be stated just as plainly. A passed rebuild shows that the software builds and starts. It does not show that the business logic is correct, that the product scales or that it is secure. Those are questions for the remainder of the technical due diligence. A rebuild is also not a certificate of compliance with any standard.

How we approach it

We verify a deposit at three levels. Integrity checks, a SHA-256 hash for each file and a Merkle root for each deposit, are included in every engagement.

The second level is Agentic Verification. AI agents take the deposited code into a sealed environment, work out how it is built, and build it, in hours where a manual build test takes weeks. It runs on Codekeeper's own AI, in Codekeeper's environment, sealed off from the internet and from public AI models. Every run produces a Rebuild Report. A run that passes adds a software bill of materials, an exit workbook and a dated Recoverability Certificate, which is not a compliance certificate. Agentic Verification is an addition to an engagement, on supported technology stacks.

The third level, deploy-verified, is a full smoke deployment in a sandbox, also an optional addition. The three levels are set out on the escrow and IP Package page, the method under technology, and the service itself at Codekeeper.

Questions we are asked

Does a passed run mean the software works?

It means the software builds and starts from what was deposited. It does not test every function or the product's behavior under load. The review of code, architecture and security in the report addresses those questions.

Do the seller's engineers need to be involved?

Not when the deposit is complete. Where a run finds a gap, the Rebuild Report names it, the seller adds the missing material to the deposit, and the run is repeated.

Is it available for every product?

No. Agentic Verification is an addition to an engagement, on supported technology stacks. Tell us what the product is built with and we will say whether it applies. Our fees are fixed and published on the pricing page.

This article is general information for people working on software transactions. It is not legal, financial or insurance advice.

Dealmaking is your craft. The technology is ours.

Tell us about the transaction and its timetable. We will set out the scope we would advise, and what the first report would cover.