`git rev-parse HEAD` is a provenance failure.It happens before dependency and compilation work; route it separately.

Choose one honest source path.

Preferredverified Git bundle

Transfer the tag with metadata and verify HEAD offline.

Supported fallbackexplicit commit

Set DSH_CLIENT_COMMIT_HASH only for an authenticated snapshot.

Neversynthetic identity

A new local commit or invented hash makes provenance false.

Prove all four boundaries.

Source

tag, full commit, transfer digest

Closure

lockfile, store, native platform

Runtime

Node range, pnpm 11.7.0

Artifact

build record and output digest

A build exit code is not an air-gap attestation.

Rehearse with networking disabled and preserve the complete evidence record.

Keep the complete offline runbook.

The canonical guide includes Git-bundle transfer, Windows environment commands, dependency closure, acceptance evidence, unsafe shortcuts, and regression gates.

Read the complete guide