Repository navigation
wasm: one build record for t27f.wasm, check:t27f compares the vendored copy with it - #18
Merged
Merged
Conversation
gHashTag
force-pushed
the
t27f-build-record
branch
from
October 18, 2026 05:23
531922b to
072e6fa
Compare
Summary by t27-beesThis PR adds a build record ( Worth a look
Read: 6 files, +42 -36, the whole diff. Head |
…d copy with it (refs gHashTag/t27#10229) wasm/t27f.build holds the inputs (closure digest, zig version, t27c hash) and the sha256 of export.zig, the generated Zig and JavaScript, and the wasm, in the format shasum -a 256 -c reads. npm run check:t27f runs that check. wasm/BUILD points at the rule in gHashTag/t27 specs/t27f/build.t27 instead of a hand-pasted sha block. The vendored view and wasm are rebuilt from current t27 master, so spec_graph_view now carries master's dark theme. No new hand-written code. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gHashTag
force-pushed
the
t27f-build-record
branch
from
October 18, 2026 05:25
072e6fa to
4c6a79c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs gHashTag/t27#10229 (t27 PR: gHashTag/t27#10241)
wasm/t27f.wasmwas rebuilt by ten hand-typed lab commands and the only record of a build was a hand-pasted list of sha256 lines. This adds one build record and a cheap check.wasm/t27f.build:#input lines (closure digest of the exporter specs and their imports, zig version, t27c sha256) then<sha256> <file>lines forexport.zig, the generated Zig and JavaScript, and the wasm.npm run check:t27f:grep -v '^#' wasm/t27f.build | shasum -a 256 -c --- exits 1 and names the file if a vendored copy drifted from the record. Verified OK on this branch.wasm/BUILDpoints at the rule in gHashTag/t27specs/t27f/build.t27instead of a hand-pasted sha block.Note for review: the vendored
spec_graph_view.zig,spec_graph_view.mjsandt27f.wasmwere rebuilt from current t27 master with a deterministic build (lab; it reproduces trinity's vendored wasm byte for byte), so the view now carries master's dark theme. The wasm size is unchanged (39273 bytes), the sha differs.No new hand-written code: the record is data, the check is one
package.jsonscript line usingshasum.Measured on the Railway lab: cold rebuild 1111 ms, REUSE hit 218-243 ms.
🤖 Generated with Claude Code