How-to: pin and reproduce builds
Pin upstream MuJoCo
For strict reproducibility, prefer pinning a commit hash:
python3 forge_cli.py build --version <git-sha>
Also record your toolchain versions (Node, emsdk/emcc, Python).
Verify a committed dist against a reproducible build
The forge CLI includes a verification command intended for CI-style checks:
python3 forge_cli.py verify-dist --version 3.5.0 --ci-build-dir ci-build
The idea is:
ci-build/buildsdist-ci(or equivalent) from a clean checkout.The repo root contains the committed
dist/<ver>.verify-distnormalizes metadata and diffs the two trees.
CI helpers
python3 forge_cli.py collect-versions(and--github-output) helps CI select whichdist/<ver>directories to verify.