Document and CI-test build/pack.sh; fix its broken exec header - #137
Merged
Conversation
pack.sh produced a non-running executable: pyminify strips comments including the shebang, so the self-extractor's 'exec $T' handed raw Python source to /bin/sh. Exec through python3 explicitly. Caught while writing the CI test this commit adds (the packed artifact is a release deliverable and had no coverage; the existing tiny-interface smoke only simulated the strip step). build/README.md documents the pipeline, including the fixed-point loop that computes the self-referential header length. pack_nnue.sh moves to the NNUE branch with the engine it packs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Aug 6, 2026
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.
See commit message. Highlights: pack.sh was silently broken (pyminify shebang strip vs the sh exec header) — found by writing the CI test requested for it; now fixed, documented in build/README.md, and covered end-to-end in CI. pack_nnue.sh moves to the NNUE branch.
🤖 Generated with Claude Code