Tracks a focused remaining item from #66.
The unchanged packages/runtime/test/bun-corpus/bundler/bun-build-api.test.ts now gets past its generated module-comment path snapshot, then fails the BuildArtifact properties: hash snapshot:
- actual:
home-88424 - expected:
est79qzq
Home currently constructs adapter BuildArtifact.hash values from output length/path. Bun computes an xxHash64-based linker hash over canonical module identities, part ranges, output templates, public paths, generated pieces, sourcemaps, and imported chunk hashes, then formats it with its eight-character truncated base32 alphabet.
A production Home Bun.build probe returns a real native hash (r00pwt21) for the mirrored fixture, but that still differs because the native hash sees packages/runtime/test/bun-corpus/... while upstream Bun hashes test/.... The correct fix must preserve Bun canonical module identity through the mirrored corpus/native bundler boundary and expose the native artifact hash. Do not special-case the fixture or expected hash, and do not rewrite the upstream snapshot.