Adoption on-ramp: prebuilt-binary release + rosalind-budget GitHub Action - #27
Merged
Conversation
…ction) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
On a v* tag: build a static x86_64-musl Linux binary and native macOS arm64/x86_64 binaries, bundle each with the illumina_toy contract-demo fixtures + licenses into a tarball (+ sha256), and attach to the GitHub Release. workflow_dispatch builds the same artifacts without publishing (a safe dry run). The static Linux build relies on the -sys crates building htslib/bzip2/lzma/zlib from bundled C source. Cutting the v0.1.0 tag is a deliberate, separate step. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
install.sh detects OS/arch -> release target, downloads the matching prebuilt tarball (gh for private repos, curl fallback), unpacks it, and prints the bundled plan->enforce->verify demo. README gains a 'Quickstart (60 seconds)' leading with curl-install then the exact contract commands (verified locally). Turns 'clone + fight the htslib C-toolchain build' into 'run the contract in a minute'. Detection + error paths verified locally (download needs a release). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…+ docs A drop-in Action so a consumer makes a declared memory budget a CI gate: '- uses: logannye/rosalind-budget@v1' downloads the prebuilt binary, runs plan + variants --index --enforce (fails the consumer's build on exit 3 refuse / exit 4 breach), and uploads the BLAKE3 receipt. Inputs use the safe env-var pattern; an optional binary-path skips the download (air-gapped / self-test). cli-e2e now exercises the Action live via 'uses: ./' with the from-source binary, so action.yml is tested in CI before any release exists. README gains a 'memory contract in your CI' section. The one capability a --max-mem flag can't replicate: a portable, verifiable budget that fails a stranger's build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
Turns the differentiator from "clone → fight the htslib C-toolchain build" into "run the memory contract in 60 seconds," and gives builders a drop-in way to enforce the contract in their own CI. From the audit: the live
plan → enforce → verifyloop is a 60-second demo, but it was unrunnable by strangers (no releases/tags/containers).release.yml— on av*tag (orworkflow_dispatchdry run): builds a staticx86_64-unknown-linux-muslbinary + native macOSarm64/x86_64, bundles each with theillumina_toycontract-demo fixtures + licenses into a tarball (+ sha256), and attaches to the GitHub Release.install.sh—curl … | sh: detects OS/arch, downloads the matching tarball (ghfor private,curlfallback), unpacks, and prints the bundledplan → enforce → verifydemo. Detection + error paths verified locally.[FITS]→contract: OK→verify: OK).rosalind-budgetcomposite Action (action.yml) —- uses: logannye/rosalind-budget@v1downloads the prebuilt binary, runsplan+variants --index --enforce(fails the consumer's build on exit 3 refuse / exit 4 breach), uploads the BLAKE3 receipt. Safe env-var input pattern; an optionalbinary-pathskips the download.cli-e2eexercises the Action live viauses: ./with the from-source binary, soaction.ymlis tested in CI today — before any release exists.Spec:
docs/superpowers/specs/2026-06-02-adoption-on-ramp-design.md.Honest notes
v0.1.0tag is the trigger: merging this releases nothing;release.ymlfires on a tag push. Cutting the tag stays a deliberate, separate step.Test plan
cargo testgreen;cargo fmt --all -- --checkclean; 0 warnings (debug + release)🤖 Generated with Claude Code