From 0ea0ecfc1c9c8cccf57d21c0fc6f57d16aece82a Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Fri, 2 Oct 2026 21:35:19 +0200 Subject: [PATCH] Clarify hosted CI awaits a Strata Next GitHub repository --- docs/build-validation.md | 6 +++--- docs/roadmap.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/build-validation.md b/docs/build-validation.md index 11df61eb..f1d1e8e0 100644 --- a/docs/build-validation.md +++ b/docs/build-validation.md @@ -47,7 +47,7 @@ The test toolchain was installed into ignored `artifacts/tool-venv/` for this ru - The real 83.6 GB model was not downloaded or inspected. The Hub-provided LFS ETags are recorded as expected SHA-256 values but have not been measured locally. - The Linux/arm64 Docker musl CLI image built and its `--version` command ran inside a `scratch` container. The current source was also cross-compiled locally for `aarch64-unknown-linux-musl`; `file` reported a statically linked ELF, and `readelf` found no interpreter or dynamic section. - Mounted the current binary into that `scratch` image. It fetched Rust 1.99.0's pinned README over HTTPS (`3,304` bytes), verified the manifest SHA-256 (`b3f6ef2fef88b98cb9ec013a5c86213095e53e40eb228679574e4d06517f33c8`), and matched the host reference byte for byte. This verifies embedded TLS roots and the small-file acquisition path, not the 83.6 GB model transfer. -- The GitHub Actions workflow has not run because this checkout has no project remote. No GPU node was used. +- The Strata Next GitHub repository does not exist yet. This local checkout has only the `strata-upstream` remote, so the workflow has not run on GitHub Actions. No GPU node was used. ## 2026-10-02 — worker cancellation contract @@ -74,7 +74,7 @@ The test toolchain was installed into ignored `artifacts/tool-venv/` for this ru - Qwen text-only prompt assembly matches eight pinned upstream golden cases byte for byte. A synthetic in-process worker receives the expected native token IDs through the HTTP Responses route and returns a completed non-streaming text response. Live streaming, reasoning output, tools, and real-model inference remain unverified. - Added bounded KAR-2 metadata inspection, streaming CRC-32 verification of every tensor section, and optional source-manifest verification. The latter checks each shard's size and SHA-256, then hashes the shards in ascending byte-wise filename order against the archive's source digest and byte count. - Independently generated a 1,280-byte two-tensor RAW/NESTED archive with koference `r08/code/kar_container.py` at commit `806d2398ae1daaceb2917242911e5680cbfb3608`. Its Python reader and the Rust `model verify-kar` both accepted the archive and both tensor CRCs. A two-file synthetic source manifest passed the Rust source-identity check. The temporary archive and source bytes were kept out of Git. -- Rust 1.99 formatting, Clippy with warnings denied, and 31 Rust tests pass after adding a disk-space preflight that rejects an impossible model transfer before networking. The full `scripts/check-local.sh` cannot reach CPU engine tests on this machine because CMake ≥3.24 is absent; Linux CI installs CMake, but the hosted workflow has not run on this repository. +- Rust 1.99 formatting, Clippy with warnings denied, and 31 Rust tests pass after adding a disk-space preflight that rejects an impossible model transfer before networking. The full `scripts/check-local.sh` cannot reach CPU engine tests on this machine because CMake ≥3.24 is absent; the local GitHub Actions workflow installs CMake, but it cannot run on a hosted runner until the Strata Next GitHub repository exists. - Rebuilt the current CLI as a Linux/arm64 musl executable in a `scratch` image. `--version`, KAR-2 payload verification, and the optional two-shard source-identity check all ran successfully inside the image against the synthetic koference archive. This proves the current static CLI starts without a user-space loader, not that a GPU engine or real model runs. No model weights or GPU node were used. - Ported the koference KAR-2 container writer for already encoded RAW/NESTED tensor slices to Rust. A native two-tensor archive has the same SHA-256, `013d3daa3f8ee70feb7045eee29390cb51e16d2a8558444cc8d6cbb91918f4f2`, as the independently generated reference archive at koference commit `806d2398ae1daaceb2917242911e5680cbfb3608`. The writer's temporary output passes native payload verification before publication. This fixture is synthetic and does not establish model quality or a bounded-memory full-model conversion. - Rust 1.99 formatting, Clippy with warnings denied, and all 32 Rust tests pass with the native writer. @@ -95,4 +95,4 @@ The test toolchain was installed into ignored `artifacts/tool-venv/` for this ru - Added `model prepare-mixed-preview` and `model verify-mixed-preview`, with a separate versioned sidecar carrying each original tensor kind and digest. A four-type synthetic GGUF passed preparation and verification in Rust tests. A separate two-type CLI smoke produced a KAR archive whose virtual F32 SHA-256 was `c407838a4718093d8f2699209c7cac8b998a47b937e5afe59e4c5a0af09033a7`; the verifier matched the source, sidecar, KAR source records, and payload CRCs. All 45 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. The preview remains capped at 64 MiB input and is not approved for serving. - Added `model derive-sharded-identity` for manifest-pinned GGUF shards. A two-file fixture deliberately listed IQ3_S before F32 in its manifest; native derivation sorted filenames, checked both size/SHA-256 values, and assigned global F32 offsets 0 and 128. Replacing a manifest SHA-256 with the wrong value was rejected. A separate CLI smoke emitted the expected derived stream SHA-256 `e529f5e2f7aac1aa5509fabe728d84ab876c64754635963825e265cd70cb8b05`. All 46 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. No sharded KAR archive or real-model conversion was attempted. - Extracted the shared one-tensor preview encoder and reconstruction check for future sharded preparation. Existing F32, IQ3_S, and mixed preview tests passed. Rebuilt the CLI and reran the pinned two-type mixed fixture: the derived F32 SHA-256 remained `c407838a4718093d8f2699209c7cac8b998a47b937e5afe59e4c5a0af09033a7` and the full KAR archive SHA-256 remained `4053e787d46b2cf2bca3d67e38d06e1ee96a157e80e3155c8dbdbf36835df88c` byte for byte. This is a non-lossy refactor of the preview implementation, not a quality result for the lossy format. -- Added a CI-only synthetic mixed GGUF/KAR smoke script for the Linux musl release binary. The workflow now rejects an ELF interpreter or `NEEDED` dynamic library, runs the CLI through derivation, preparation, and source/provenance/archive verification, and checks the pinned derived/archive SHA-256 values before uploading. The script passed locally against the current macOS debug CLI; the hosted Linux workflow has not run because this checkout has no project remote. Python is used only to create the CI fixture, not by production serving. +- Added a CI-only synthetic mixed GGUF/KAR smoke script for the Linux musl release binary. The workflow is configured to reject an ELF interpreter or `NEEDED` dynamic library, run the CLI through derivation, preparation, and source/provenance/archive verification, and check the pinned derived/archive SHA-256 values before uploading. The script passed locally against the current macOS debug CLI. The hosted workflow cannot run until the Strata Next GitHub repository exists and this checkout is connected to it. Python is used only to create the CI fixture, not by production serving. diff --git a/docs/roadmap.md b/docs/roadmap.md index 82eb92a5..4f66ab3f 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -31,8 +31,8 @@ The target interface is one Linux command, `strata-next`, with `serve`, `model f ### P0 — Linux delivery - [x] Pin the Rust toolchain and enforce format, Clippy, Rust tests, and CPU tests. -- [x] Add Linux CI, a musl build, ELF interpreter check, artifact upload, and tag prerelease path. -- [ ] Run the workflow on a hosted Linux runner after this repository has its own remote. +- [x] Write the local GitHub Actions workflow for Linux checks, a musl build, ELF dependency checks, artifact upload, and tag prerelease. +- [ ] Create the Strata Next GitHub repository, add its project remote, and run the workflow on a hosted Linux runner. - [ ] Run a CUDA engine build and loader smoke test on Linux GPU hardware. ### P1 — model acquisition