SOL-FORJAR-004 // forjar
Deterministic WASM Bundle Pinning Pipeline
Build reproducible wasm32-unknown-unknown bundles with epoch-zero tar headers and automatic MANIFEST.toml SHA-256 locking.
Measured delta: Epoch-0 reproducible 58 KB bundle; 100% SHA-256 locked
Before (Failing Anti-Pattern)
tar -czf bundle.tar.gz dist/ # non-deterministic mtime breaks cache!
After (Verified Code)
version: "1.0"
name: wasm-bundle-pin
machines:
builder:
hostname: builder
addr: 127.0.0.1
resources:
vendor-dir:
type: file
machine: builder
path: /srv/vendor/sim
state: directory
Verification Contract
schema: forjar.contract.v1 reproducible_tar: true max_wasm_gz_bytes: 66560
Verified CLI Command & Output
$ forjar validate -f wasm-sim.forjar.yaml OK: wasm-bundle-pin (1 machines, 1 resources)