Guides

Verify a build reproduces from clean setup

Check that your documented setup and build commands reproduce in a clean state, which artifacts and digests they produce, and where repeated runs differ.

Updated

SHORT ANSWER

Does my documented build actually reproduce from a clean setup?

The build-reproducibility shift follows the setup and build paths your README, Makefile, package scripts, or CI already document. It inventories artifacts and digests, compares repeated runs where determinism is expected, fixes docs or automation that fail, and names the environment behind every verdict.

01

Only the paths the repository declares

The shift never adopts containers, a new package manager, or provenance tooling the project does not already use. It records hidden environment, cache, and monorepo assumptions that the documentation leaves out.

02

Clean setup to package inclusion

Each cycle takes one path cluster: clean setup, build, artifact inventory, digest comparison, then package inclusion. A declared path that fails, a success that only holds with a warm cache, or generated output compared as if deterministic gets a fix and a commit.

03

What the receipt states

A repro-compare receipt gives a finite verdict for every declared path touched: reproducible, cache-dependent, non-deterministic with a reason, or parked with its blocker. It names the environment each run actually used and never claims a clean room that was not tested.

TRY IT

Start with a bounded prompt

This prompt names the outcome and preserves Nightshift’s review boundary. Paste it into the supported coding host from the project you want to change.

Run the Nightshift build-reproducibility shift: follow the documented setup and build from a clean state, compare digests across two runs, and report every path's verdict.
BOUNDARIES

What this workflow does not claim

  • Only paths the repository already documents are checked.
  • A clean room or platform not actually used is never claimed.
SOURCES

Evidence and sources

These links support the released behavior, public outcomes, or problem language described on this page.

build-reproducibility contractDeclared setup and build paths, artifact digests, and repeated-run comparison.Open evidence ↗Evidence linesEvidence kinds, owner folders, and what off, report, block, review, and unavailable do.Open evidence ↗
RELATED QUESTIONS

Continue from the question you have

upgrade dependencies safelyRead the answer →test developer onboarding docsRead the answer →evidence per itemRead the answer →