From 6cdb482e04dfdc81bf8651aa5d415c0c6f14237e Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Sun, 4 Oct 2026 17:25:52 +0200 Subject: [PATCH] ci: publish Linux build provenance and ELF audit --- .github/workflows/linux.yml | 17 +++++++++++++++-- docs/upstream.md | 6 +++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b66d2a30..e0745371 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -82,8 +82,21 @@ jobs: "$binary" --version mkdir -p dist cp "$binary" dist/strata-next-linux-x86_64-musl + { + echo "Commit: $GITHUB_SHA" + echo "Workflow: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" + rustc --version + cargo --version + musl-gcc --version + readelf --version + } > dist/BUILD-PROVENANCE.txt + { + readelf -h "$binary" + readelf -l "$binary" + readelf -d "$binary" + } > dist/ELF-AUDIT.txt cd dist - sha256sum strata-next-linux-x86_64-musl > SHA256SUMS + sha256sum strata-next-linux-x86_64-musl BUILD-PROVENANCE.txt ELF-AUDIT.txt > SHA256SUMS - name: Static CLI model smoke run: python3 scripts/smoke-static-cli.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next - name: Native systemd unit syntax and path safety @@ -137,6 +150,6 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release create "${GITHUB_REF_NAME}" dist/strata-next-linux-x86_64-musl dist/SHA256SUMS \ + gh release create "${GITHUB_REF_NAME}" dist/strata-next-linux-x86_64-musl dist/SHA256SUMS dist/BUILD-PROVENANCE.txt dist/ELF-AUDIT.txt \ --repo "${GITHUB_REPOSITORY}" --title "Strata Next ${GITHUB_REF_NAME}" \ --notes 'CLI/control-plane preview. CUDA engine and model files are not included.' --prerelease diff --git a/docs/upstream.md b/docs/upstream.md index b5105298..e6a6e0ff 100644 --- a/docs/upstream.md +++ b/docs/upstream.md @@ -1,20 +1,20 @@ # Strata upstream provenance -**Status:** source imported as a local Git subtree. No hosted fork has been created. +**Status:** source imported as a local Git subtree and preserved in a private hosted repository. | Field | Value | | --- | --- | | Upstream repository URL | https://github.com/Niko1221/Strata.git | | Upstream commit SHA | `d9ab8435f654c368c586340d490915f6addf56a3` | | Local repository path | `engine/strata/` | -| Hosted fork repository URL | Not created | +| Hosted project repository URL | https://github.com/paveldhq/strata-next (private) | | Import date | 2026-10-02 | | Engine build instructions | `scripts/build-cpu.sh` for source checks; CUDA build still to validate on Linux GPU | | Local patch strategy | Squashed Git subtree; preserve upstream commit IDs in subtree merge messages | The local Git remote `strata-upstream` points to the URL above. To review an update, run `git fetch strata-upstream main`, inspect the diff from the pinned SHA, choose a specific new commit, then run `git subtree merge --prefix=engine/strata --squash ` and the relevant checks. Do not silently advance to whatever happens to be latest. -The imported upstream tree includes its own small optional experimental control-vector GGUF and reference data. Production model weights, captures, and generated output remain outside this repository. A hosted fork URL should be recorded here if one is created. +The imported upstream tree includes its own small optional experimental control-vector GGUF and reference data. Production model weights, captures, and generated output remain outside this repository. The private project repository was created on 2026-10-04; its initial `main` is `858e7aa050f56b051dac5e3d7b765a05cb958aee`. This preserves the existing subtree history and does not change the pinned upstream identity. ## Local CUDA validation, 2026-10-04