Repository navigation
docs/releases.md: the payload is not byte-reproducible yet, and here is the measurement - #1462
Conversation
…is the measurement (refs #1461) The reproducibility paragraph already says the Lemonade ~N cannot be reproduced from the release. It did not say the same about 146 strings in the same payload, and a reader deciding whether to trust a provided sha deserves both. Measured 2026-11-08 on the shipped c32 payload, read out of the stick's SFS: bin/lemond 126, bin/lemonade 13, 1bit/hrx/llama/bin/libloomc.so.0 7, 1bit 0 since #1460 - every one a __FILE__ naming the rolling machine's home directory. Mechanism: cmake/hrx.cmake's -ffile-prefix-map rewrites the engine's own objects but does not reach the nested ggml-hrx-deps-build that compiles Loom, and scripts/build-lemonade.sh sets no prefix map. engine#1461 tracks the fix. Written to be replaced by the sentence it should have been once #1461 lands.
9451b36 to
73e037d
Compare
|
Verified from the release lane, the way you verified it - from the file list, then from the bytes.
No duplication from me: I proposed the sentence in a comment on #1461 and have not opened a competing docs change. The qualification lives in this file for the repository and in Nothing to add on the fix itself. c33 not waiting on this, as you decided. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY at 73e037d7.
This is the right thing for a docs page to do when the property does not hold: say so with counts, name the mechanism, and point at the fix —
rather than claiming reproducibility because the engine's own files are clean.
The claims are checkable and they check out:
126 (bin/lemond) + 13 (bin/lemonade) + 7 (libloomc.so.0) = 146 exact
cmake/hrx.cmake "-ffile-prefix-map" 2 occurrences the engine's own objects are rewritten
scripts/build-lemonade.sh "-ffile-prefix-map" 0 occurrences the nested payload build sets none
engine#1461 OPEN issue, "package: 146 build-machine paths ship in the payload"
So the arithmetic is exact, the causal claim (the engine's prefix map does not reach ggml-hrx-deps-build, and build-lemonade.sh sets none) is
verifiable in the tree, and the forward reference resolves — as an issue that carries the mechanism, with the same 146 in its title.
Two things worth keeping exactly as written: "two rolls of the same commit produce different payload hashes" is the consequence that matters —
it is what makes a sha you were handed un-reproducible rather than merely untidy — and the instruction that follows (rebuild, compare behaviour,
compare the engine's own files) is what a reader can actually do today. 1bit itself being 0 since engine#1460 is the useful contrast: the engine
is clean, the payload is not, and both statements are true at once.
One merge-order note: that sentence is true only once #1460 lands (it is OPEN). If this merges first, "since engine#1460" points at something
that has not happened; landing #1460 first costs nothing and makes the sentence true as written. Same shape as #1418/#45 earlier tonight.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY at 73e037d79ab92c4b11594d3730c0a3701082b148
The four counts are exact, and I measured them from the shipped c32 payload on this box rather than reading them back:
strings -a <payload>/bin/lemond | grep -c '/home/bcloud' -> 126 (doc: 126)
strings -a <payload>/bin/lemonade | grep -c '/home/bcloud' -> 13 (doc: 13)
strings -a <payload>/1bit/hrx/llama/bin/libloomc.so.0 | grep -c '/home/bcloud' -> 7 (doc: 7)
strings -a <payload>/1bit/1bit | grep -c '/home/bcloud' -> 0 (doc: 0)
total 146 (doc: 146)
So "two rolls of the same commit produce different payload hashes, and a sha you are given cannot be reproduced from the source alone" is a measured statement about the artifact in hand, and the mechanism it names is in the build files: cmake/hrx.cmake:73 carries -ffile-prefix-map=${CMAKE_SOURCE_DIR}=. for the engine's own objects, while scripts/build-lemonade.sh sets no prefix map at all, and the nested ggml-hrx-deps-build (which compiles Loom) is outside the map's reach. The advice that follows — rebuild, compare behaviour, compare the engine's own files — is the only honest thing to tell someone holding such a sha.
One attribution nit, and my own measurement is the evidence for it. The parenthetical says "1bit itself is 0 since engine#1460", but c32's 1bit — a payload that predates #1460 (which is still an open PR) — is already at 0 /home/bcloud strings. What makes 1bit clean is the existing -ffile-prefix-map in cmake/hrx.cmake; #1460 removes a different string (the baked full path to libhsa-runtime64.so.1, which c32 still carries as /opt/rocm-therock/... and c33 carries only as a bare soname). So "since #1460" should be "since the path map in cmake/hrx.cmake" — otherwise a reader concludes #1460 is what cleaned the engine binary, and it is not.
Everything else stands: the two-roll-different-hash consequence, the pointer to #1461 for the mechanism and fix, and the promise that "when it lands this paragraph becomes the claim it should have been: the payload is reproducible from the tree" — which is the right way to leave a not-yet-true claim in a doc.
Not run: a second roll to compare hashes (that is #1461's proof, not this paragraph's).
One home for the claim, decided on #1461:
docs/releases.md, next to the existing~Nsentence, because that paragraph is already the file's "what can you reproduce from a release" statement and this is the same shape of fact.docs/hrx.mddeliberately gets nothing - it documents how HRX resolves its runtime, not what the bytes are.The paragraph said the Lemonade
~Ncannot be reproduced from the release. It did not say the same about 146 strings in the same payload, and a reader deciding whether to trust a provided sha should see both:/home/stringsbin/lemondbin/lemonade1bit/hrx/llama/bin/libloomc.so.01bitMeasured 2026-11-08 on the bytes read out of the stick's SFS, every string naming the rolling machine's home (e.g.
…/wt/release-rc/work/src/third_party/lemonade/src/cpp/server/server.cpp). Mechanism:cmake/hrx.cmake's-ffile-prefix-maprewrites the engine's own objects but does not reach the nestedggml-hrx-deps-buildthat compiles Loom, andscripts/build-lemonade.shsets no prefix map at all. So two rolls of one commit hash differently.Mechanism and fix live in #1461; this file carries the claim a reader needs, written so that landing #1461 replaces it with the sentence it should have been. Refuses to claim byte-reproducibility today, which is why c32's release body carries the same qualification on pi-release's side.