109 KiB
Build validation
2026-10-03 — experimental PLE quality arm
The imported engine builds on Linux CUDA 13.2/sm_120 with the optional
STRATA_NEXT_EXPERIMENTAL_KAR_PLE=ON flag. The ordinary build still succeeds
with the flag off. A synthetic KAR-2 archive with four 160-value PLE rows in
two parts was generated by the Rust CLI. The independent Rust decoder and the
new Strata PleTable probe matched FNV-1a checksums for all four rows, including
the boundary between parts: 20c844888ce711a5, 6a219cbf159362a5,
62bed3d23ae584a5, and 68137da89d55afa5. The fixture was deleted from
both hosts after the check. This verifies row layout, bit order, scale/book
reconstruction, and part indexing on a synthetic archive; real-model output
and paired throughput remain unmeasured.
2026-10-02 — source-only build
- Strata upstream commit:
d9ab8435f654c368c586340d490915f6addf56a3. - Host: macOS arm64; AppleClang 21.0.0; CMake 3.31.10; Ninja 1.13.2.
- Command:
PATH="$PWD/artifacts/tool-venv/bin:$PATH" scripts/build-cpu.sh. - CMake flags: CUDA off, HIP off, upstream broad test suite off, conversation tests on.
- Built:
strata-gguf,strata-dequant,strata-plan, and five CPU test executables. - Result: 5/5 CTest tests passed.
- Scope: source compilation and CPU tests only. No CUDA build, model inference, or performance measurement was performed.
The test toolchain was installed into ignored artifacts/tool-venv/ for this run; it is not a production dependency.
2026-10-02 — Rust control-plane smoke test
cargo fmt --checkandcargo check --lockedpassed with Rust 1.95.0.- With no worker configured:
/healthreturned 200 and/readyreturned 503. - With an ignored local fake engine that emitted
READY 262144 stop:/readyreturned 200 withmax_context: 262144; Ctrl-C shut down both processes. - With a fake engine that exited after
READY:/readyreturned 503 withworker: failed. /v1/responsesis not implemented and returned 404. No model inference was tested.
2026-10-02 — local worker contract checks
- Added JSON file configuration with environment overrides and a bounded startup timeout.
- Four local tests pass against a fake engine process: valid
READYhandshake, gracefulQUIT, worker exit, and startup timeout. - The tests require neither the RTX 5090 nor model files.
2026-10-02 — Responses contract and Rust 1.99
- Pinned Rust 1.99.0 with
rust-toolchain.tomlandrust-version = "1.99". scripts/check-local.shpassed: rustfmt, Clippy with warnings denied, 12 Rust tests, synthetic Responses SSE replay, and 5 CPU CTest tests.- The replay checks the local response builder and Strata pipe parser only.
/v1/responsesstill returns an explicit 501 when the worker is ready because the inference adapter is not connected. - No CUDA build, model inference, real Codex replay, or performance measurement was performed.
2026-10-02 — internal worker generation exchange
- A fake resident worker accepted a
GENcommand and returnedPP,T, andDONEthrough the Rust supervisor. - Context admission rejected a request exceeding the worker's
READY 262144limit without failing the worker. - Rust 1.99 Clippy with warnings denied and all 13 Rust tests passed. This is a pipe test only; the HTTP inference adapter is still absent.
2026-10-02 — model CLI and Linux delivery preparation
- Added an embedded, commit-pinned IQ3_S manifest, resumable
model fetch, full-size/SHA-256model verify, and bounded GGUF v3model inspect. scripts/check-local.shpassed on macOS arm64 with pinned Rust 1.99.0: rustfmt, Clippy with warnings denied, 18 Rust tests, synthetic Responses SSE replay, and 5 CPU CTest tests.- The interrupted-transfer test resumes a local HTTP fixture and rejects a corrupted final file. The GGUF test parses a synthetic v3 header and rejects truncation.
- 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
--versioncommand ran inside ascratchcontainer. The current source was also cross-compiled locally foraarch64-unknown-linux-musl;filereported a statically linked ELF, andreadelffound no interpreter or dynamic section. - Mounted the current binary into that
scratchimage. It fetched Rust 1.99.0's pinned README over HTTPS (3,304bytes), 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 Strata Next GitHub repository does not exist yet. This local checkout has only the
strata-upstreamremote, so the workflow has not run on GitHub Actions. No GPU node was used.
2026-10-02 — worker cancellation contract
- A dropped generation receiver now causes
STOP, drains the worker's terminalDONE, and leaves the resident worker ready for a second request. - Shutdown during an active generation sends
STOPbeforeQUITand closes the pending result receiver. - The two focused fake-worker tests pass, along with Rust 1.99 Clippy with warnings denied. No GPU inference was used.
2026-10-02 — native tokenizer asset extraction
- Added
model extract-tokenizerfor validated GGUF v3gpt2/qwen35metadata. It writes five tokenizer files into a staging directory and publishes the directory on completion. - A synthetic GGUF with vocabulary, merges, token types, special ID, and chat template produced the same parsed JSON and exact text files as the pinned upstream
tools/strata_tokenizer.py(5/5 files). The upstream comparison used Pythonregexonly as an offline test dependency under ignoredartifacts/tool-venv/. - Rust 1.99 formatting, Clippy with warnings denied, and 21 Rust tests passed at this stage. The real model tokenizer and packed weights were not validated.
2026-10-02 — native BPE parity
- Added qwen35 byte-level BPE encoding and decoding in Rust, including rank-ordered merges, a heap path for long pieces, control and user-defined literal handling, and a CLI path for text on standard input.
- Compared 20 corpus strings in both special-token modes against the pinned upstream Python tokenizer with a synthetic complete byte vocabulary: 40/40 token-ID sequences and decoded strings matched. Cases included multilingual text, emoji, combining marks, C0 bytes, long repeated text, and near-miss literals.
- Added fixed oracle ID cases to Rust tests. The real IQ3_S tokenizer and end-to-end generation remain untested.
scripts/check-local.shpassed after this change: rustfmt, Clippy with warnings denied, 24 Rust tests, synthetic SSE replay, and 5 CPU CTest tests.- Rebuilt the current source as a statically linked Linux/arm64 musl CLI. Mounted it into the
scratchimage and confirmedmodel tokenizereturned the oracle IDs forHello, world!. The actual model weights and GPU were not used.
2026-10-02 — text inference preview and KAR-2 verification
- 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.pyat commit806d2398ae1daaceb2917242911e5680cbfb3608. Its Python reader and the Rustmodel verify-karboth 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.shcannot 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
scratchimage.--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 commit806d2398ae1daaceb2917242911e5680cbfb3608. 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.
- Added a GGUF tensor index that checks exact source block lengths and can hash one tensor with a fixed 1 MiB buffer. A synthetic mixed F32/IQ3_S fixture verifies offsets, lengths, and rejection of overlapping sections, a misaligned quantized row, and an unsupported type. All 33 Rust tests and Clippy with warnings denied pass; this is a source-layout check, not a KAR encoder or model conversion.
- The
model index /tmp/strata-next-index-smoke.gguf --hashCLI emitted the expected two JSON records: F32 at absolute offset 128 with 16 bytes, and IQ3_S at 160 with 110 bytes; both SHA-256 values matched the synthetic zero payloads.cargo check --locked --target aarch64-unknown-linux-muslpassed with this source. - The KAR writer's file-backed RAW path generated the same complete archive bytes as its in-memory path, rejected a changed source digest without publishing a destination, and passed a separate 1,048,580-byte input crossing the 1 MiB copy boundary. Rust 1.99 formatting, Clippy with warnings denied, all 34 tests, and Linux/arm64 musl cross-check pass. NESTED encoded data is still in-memory, so full-model conversion is not bounded yet.
- Added a file-backed NESTED path for already coded KAR sections. A synthetic file-backed section produces the same complete archive bytes as the in-memory writer; corrupted scale, nonzero padding, and wrong section digest each fail before publication. The path streams through 1 MiB and retains no full encoded tensor in RAM. All 35 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. The source-to-NESTED encoder is still missing, so this does not complete model conversion.
- Added an experimental native f32-to-KAR bit-plane encoder with supplied thresholds. A synthetic four-cell pattern produced the koference word layout (
0xcccccccc,0xaaaaaaaa), then passed through the KAR writer and verifier. IEEE f16 scale conversion tests include the smallest subnormal and ties-to-even. All 37 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. Calibration fitting, IQ3_S decoding, bounded source conversion, and full-model quality remain open. - Added bounded CPU prefix decoding for the synthetic tensor: a five-value slice reconstructed at levels 1 and 2 exactly as the supplied f16 books specify, and an out-of-range slice was rejected. This oracle has not yet been compared with the koference GPU decoder on hardware.
- Ported top-down nested boundary and book fitting for a supplied normalized sample. Two pinned koference Python fixtures match the Rust f32 boundary bits and f16 book values; a degenerate sample is rejected. The f64-to-f16 path avoids double rounding of fitted means. All 38 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. This only establishes synthetic calibration parity, not representative model sampling or a quality result.
- Connected a small synthetic F32 GGUF to
model prepare-f32-preview: it produced a verified KAR-2 archive with source SHA-256f2bff437d5a53e8ddf7f43ee41acf3baebb7fb5f27eefb079f5bc1634def6f2cand archive SHA-256fe049ca40305d5380caaa278f34a9149ae2d5761ea9544b58a0eb73775cd6810. The separatemodel verify-karcommand passed. A valid synthetic IQ3_S GGUF was rejected by the F32 preview, without creating an archive. All 40 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. This is a bounded experimental integration path, not full-model preparation. - Refactored the F32 preview to write each tensor's canonical NESTED section to a private staging directory, then assemble the KAR archive from file-backed sections. The native section bytes match the in-memory writer. A two-tensor fixture succeeds and leaves no staging directory; corrupting the second tensor to NaN fails after the first section and also cleans staging without publishing an archive. The preview source-size and per-tensor limits remain; IQ3_S source decoding and full-model quality remain open.
- Added a native IQ3_S CPU block decoder with the pinned ggml grid table (SHA-256
bd1af4945a1717c65610b0284e4628b9a1ba3b306fae3a06f6e5f597356e349f). A deterministic mixed 110-byte block produced 256 F32 values whose byte digestcfee2753d1b389fe4ee30994ff3387d4400745b8432aeb32cb4d7fced39949ecmatches an independent Python calculation from the upstream layout; constant, sign, multi-block, and malformed-scale cases also pass. All 41 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. This has not been compared with a real tensor or GPU. The ggml MIT license is copied into the control binary and shown by--ggml-license. - Added
model derive-iq3-identityfor a single all-IQ3_S GGUF. It hashes the original GGUF and a virtual contiguous little-endian F32 stream, with per-tensor original/derived digests and offsets, using a 256-block input buffer; no expanded file is written. A two-tensor fixture with reversed physical and directory order matched an independently assembled F32 stream digest. All 42 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. Mixed tensor types, shard sets, real-model parity, and KAR publication remain unverified. - Added
model prepare-iq3-previewfor a small all-IQ3_S GGUF. A synthetic one-tensor input produced a KAR-2 archive with the virtual F32 source digest and a provenance sidecar binding the original GGUF, derived stream, and archive SHA-256 values. The archive passed payload verification. A preexisting sidecar blocked publication and the newly written archive was removed. All 43 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. The source decoder and compressed output have not passed a real-model quality gate or GPU test. - Added
model verify-iq3-previewto recompute the original and virtual F32 identities, check KAR per-tensor source records and payload CRCs, and compare the provenance sidecar with the archive hash. The synthetic IQ3 preview verified; changing the sidecar's archive digest caused rejection, and restoring it passed again. A separatecargo build --lockedCLI smoke generated and verified a temporary one-tensor archive: virtual F32 SHA-2569d1f76b4ef22e4b0e1f7e8d13cd3ff91516c884e9b8aa8107c8932bfd64fed85, archive SHA-256c4d4e843165aa2599206458f0550c24eaafe95c3dacffec5e736950e16d1769c. All 43 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check passed. This is identity/integrity verification, not an assessment of model quality or GPU behavior. - Added
model derive-mixed-identityfor one GGUF containing IQ3_S and F32/F16/BF16 tensors. A four-tensor fixture with directory order different from physical order matched the independently assembled F32 byte-stream SHA-256, including half and bfloat conversions, and the all-IQ3-only derivation rejected it. The command uses a fixed 28,160-byte source buffer and writes no expanded file. All 44 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check pass. Mixed KAR preparation, real-model parity, and GPU quality remain open. - Added
model prepare-mixed-previewandmodel 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 wasc407838a4718093d8f2699209c7cac8b998a47b937e5afe59e4c5a0af09033a7; 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-identityfor 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-256e529f5e2f7aac1aa5509fabe728d84ab876c64754635963825e265cd70cb8b05. 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
c407838a4718093d8f2699209c7cac8b998a47b937e5afe59e4c5a0af09033a7and the full KAR archive SHA-256 remained4053e787d46b2cf2bca3d67e38d06e1ee96a157e80e3155c8dbdbf36835df88cbyte 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 is configured to reject an ELF interpreter or
NEEDEDdynamic 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. - Added
model prepare-sharded-previewandmodel verify-sharded-previewfor two or more manifest-pinned GGUF files under the existing 64 MiB preview limit. A two-shard synthetic Rust test passed archive preparation, provenance verification, and source-record checks; changing a pinned manifest digest caused rejection. A separate CLI smoke built and verified an archive with derived F32 SHA-256c407838a4718093d8f2699209c7cac8b998a47b937e5afe59e4c5a0af09033a7and archive SHA-25649206cc99935dad8ddc1cb342dfc263548285e04767237c2c377c23d33a88479. All 47 Rust tests, Clippy with warnings denied, and Linux/arm64 musl cross-check passed. No full-model conversion, CUDA decode, or throughput comparison was performed. - Added
model prepare-sharded-streamedandmodel verify-sharded-streamed: the experimental path samples at most 65,536 normalized values per tensor, writes nested or exact RAW F32 sections from bounded GGUF chunks, checks per-tensor physical/virtual digests, rehashes each shard, assembles a KAR-2 archive, and binds a separate versioned sidecar. The two-shard F32/IQ3_S synthetic test verifies the archive, reconstructs a dense tensor on CPU, rejects a changed preparation level and pinned shard digest, and refuses to overwrite the archive. All 56 Rust tests and Clippy with warnings denied passed locally. The CLI reports actual archive bytes and accounted bits per weight. Real Qwen shards have not been converted, and no GPU quality or speed result exists. - Extended the existing static-CLI smoke script with two manifest-pinned synthetic shards. The local macOS CLI prepared and independently verified their streamed archive; its SHA-256 is pinned as
51688d265860172feca39e296f9142b1ed16800496bae4b06b4b8d8fa11d806e. This script is wired into the Linux musl workflow, but hosted GitHub Actions has not run because this checkout has no remote repository. The fixture is synthetic and says nothing about full-model size or quality. - Added opt-in
model ensure-sharded-streamed: fetches pinned GGUF shards, verifies source bytes, creates and verifies the streamed archive, then rehashes and checks source/provenance/payload on reuse. A local CLI smoke created and reused the synthetic two-shard archive and rejected a rerun with a changed level without modifying the existing file. Full 83.6 GB model preparation has not run; the local checkout had about 121 GiB free at this step, insufficient for source plus staged and final archive. No full-model size is reported yet. - Began the pinned Qwen3.8 IQ3_S model download into a local model directory outside Git. Read only the header/directory bytes from the partially downloaded first shard and an HTTPS range of the second: 1,223 and 1 tensors respectively, 13 GGUF types, and 176,943,899,520 total elements. The second shard omits
general.architecture. Summing the KAR-2 level-2 nested layout over these unverified directory entries gives 55,295,262,208 payload bytes (55.30 GB); this assumes every tensor uses nested encoding, excludes small container overhead, and is not an observed archive size or a quality result. The full shard hashes still need to match the manifest. - The KAR writer now has an internal consuming mode for private file-backed sections: after each verified copy into its temporary archive, it removes that staged section, reducing peak disk use. The normal non-consuming writer remains available. A dedicated test verifies staged RAW removal and a valid published archive; the two-shard test now also covers a shard with no architecture metadata. Local targeted tests and Clippy with warnings denied pass. Real mixed quantization types beyond F32/F16/BF16/IQ3_S still need native decoding before the full archive can be prepared.
- Vendored the pinned llama.cpp/ggml C dequantizer source and required headers at Strata's upstream ggml commit
3cf03257f219afbe7334045ff7c6a06ac68c627d, recorded checksums and license, and linked it statically through Cargo for offline preparation. The bounded visitor now handles every quantized kind found in the two actual Qwen headers: 8, 12, 13, 14, 18, 20, 21, 22, 23, and 42, in addition to F32/F16/BF16. A synthetic IQ3_S block matched the independent Rust decoder exactly; Q8_0 and Q2_0 matched known values; one zero block of each actual kind decoded through the visitor. The streamed two-shard test exercises an IQ4_NL RAW fallback. All 60 Rust tests and Clippy with warnings denied passed locally. The static CLI smoke now includes an IQ4_NL shard, with pinned archive SHA-25607751adc1f7115258b95613203c935f05cbe28a364f77717e8a1bc64cb79c8fa. Real model source SHA-256 remains unmeasured. - On a provisional real-data sample from the partially downloaded first Qwen shard, a 28,835,840-byte leading slice of
blk.17.ffn_gate_exps.weight(IQ3_S, starting at absolute GGUF offset 19,192,385,920) and the 921,600-byteblk.0.ffn_down_shexp.weight(IQ4_NL, offset 1,385,570,304) were wrapped as two minimal GGUF shards outside Git. Their GGUF bytes total 29,757,760 and their level-2 KAR-2 archive is 21,485,056 bytes (72.1998% of this sample, 2.500179 accounted bits per weight), SHA-256ebacd3cd488274a21bc94630c841d157b5633ce62721bb991c39b78dad8cef23. The dedicated verifier matched manifest source hashes, derived-F32 identity, provenance, KAR source records, and payload CRCs. The maximum tensor relative L2 error was 0.40491666, so this level is not approved for serving. The full source shard hash has not yet been checked; this sample is not representative of whole-model size or quality.scripts/measure-real-sample.pyreproduces this measurement into an output directory outside Git; pass--index-ggufonly while the source is a partial download, and--source-sha256after its full hash is known. The chosen source GGUF offsets are absolute as printed bymodel index; no data-start offset is added. - Repeated the same sample through
scripts/measure-real-sample.py: level 2 reproduced the same 21,485,056-byte archive and SHA-256. Level 3 gave a 30,078,464-byte archive (101.0777% of sampled GGUF input), SHA-2563e6bc55254ba30bea5ed4f40c970ac9290ad4b1fd160e5c92e71caaaff0328e2, and maximum tensor relative L2 error 0.18060363. Both archives passed the dedicated manifest/provenance/payload verifier. These measurements show a sample rate/error tradeoff, not a whole-model compression or agent-quality result; neither rate is enabled for serving. cargo run --locked --release --example compare-iq3-s -- <external-sample-gguf> 262144compared every block in the sampled real IQ3_S slice: 262,144 blocks / 67,108,864 F32 values were bit-identical between the independent Rust decoder and the pinned ggml C decoder. This is a non-lossy decoder parity check on source bytes from the incomplete first shard; the complete shard still needs manifest SHA-256 verification.- Built the committed static-CLI Dockerfile on an arm64 Linux container with
RUST_TARGET=aarch64-unknown-linux-musl. The resulting singlestrata-nextELF is 14 MiB (filereportsstatically linked), SHA-2563faa76d410f08134cb39bc77009674ffba8e9a3190bfa7af0099028ed5282285. Thescratchimage ran--versionsuccessfully and independently verified the real-slice level-2 KAR archive through a read-only bind mount, including manifest source hashes, provenance, source records, and payload CRCs. This validates the Linux/arm64 static control-plane/CLI artifact, not the x86_64 release path or a CUDA-enabled inference runtime. Hosted GitHub Actions still has not run because this checkout has no GitHub repository or remote. - The same reproducible sampler has an
--profile expertoption using the same 28,835,840-byte IQ3_S slice plus a 28,800,000-byte leading slice of the much largerblk.0.ffn_down_exps.weightIQ4_NL tensor (absolute GGUF offset 913,711,104). The two minimal GGUF inputs total 57,636,160 bytes. Level 2 produced a verified 36,973,056-byte KAR-2 archive (64.1491% of sampled input), SHA-25603a971fc1ff0a50c34a24fb5a29df76116f16fe9dec98ed61c3429a8f322af48, with maximum tensor relative L2 0.33925502. Level 3 produced a verified 51,761,664-byte archive (89.8076%), SHA-2561f94757878575541d3a1568e7ba8d9e680ba6afed2c1199ae63d4c342a6203f8, with maximum tensor relative L2 0.16425464. These are rates for selected slices from an incomplete shard, not an estimate with validated uncertainty for the full model, and neither rate is approved for serving. - The first complete Qwen shard was fetched and matched its manifest SHA-256
4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3. Repeatingscripts/measure-real-sample.py --profile expert --levels 2 --source-sha256 <digest>on this verified file reproduced the same two slice digests, 36,973,056-byte archive, archive SHA-25603a971fc1ff0a50c34a24fb5a29df76116f16fe9dec98ed61c3429a8f322af48, and maximum relative L2 0.33925502. The second source shard is still downloading. - Added bounded CPU decode of an arbitrary nested KAR tensor range, reading only the relevant scales and bit-plane words after archive verification. A 96-element synthetic archive test covers ranges crossing group boundaries. On the verified-source level-2 expert sample,
compare-kar-rangeindependently decoded three one-million-value archive ranges and compared them with pinned ggml source decoding: IQ3_S at starts 0 and 33,000,013 had relative L2 0.32941509 and 0.32867352; IQ4_NL at start 25,000,017 had 0.34136948. The same IQ4_NL range from the level-3 archive had 0.16519821. This checks stored archive reconstruction on selected ranges, not GPU execution or model-level quality. - Corrected a dispatch error found by comparing the native C bridge with pinned
ggml.h: GGUF kind 18 isIQ3_XXS(98 bytes/block) and kind 22 isIQ2_S(82 bytes/block); the initial bridge had these two decoders reversed. Dispatch now uses ggml enum names anddecode_intorejects any mismatch between the Csizeofresult and the Rust GGUF block geometry before C reads source bytes. Cargo explicitly watches the bridge C and vendored ggml sources, so a C edit rebuilds the native archive. The streamed builder, provenance schema, and virtual-F32 derivation were bumped to v3 to prevent reuse of v2 archives with potentially incorrect kind-18/22 values. The v3 synthetic streamed archive SHA-256 isc897a2b5016d5734925269b7dc223c33f944f10bc178a85db4b322cbaf058b5a; the v3 IQ4_NL fixture archive SHA-256 is955b626c2c206b272b690b301168d01824563bb88dc9963698035c3acb619ba2. The old v2 hashes above are historical and cannot pass the current streamed verifier. scan-quant-blocksdecoded the first real block of each of the 13 GGUF kinds in the SHA-256-verified first shard and found only finite F32 values. Its kind-18 IQ3_XXS block F32 SHA-256 wasaaf601ac40a43dc9af448936d6ab439a9837f01d13b835574d94af2eb62a2a1e; kind-22 IQ2_S was4c4b80c73da67911a002589646c61aed4fe8e0139b3152cffd0b3e4ac4e540de. The source-verified expert-slice level-2 archive under v3 is still 36,973,056 bytes with maximum relative L2 0.33925502, but its new archive SHA-256 is9c8d195c80cb4a04789d8f53847811214d5abc3f8c652185000f0055f435522f. All 62 Rust tests, Clippy with warnings denied, and the updated static CLI synthetic smoke passed locally. The Linux static image must be rebuilt for this v3 correction.- Extracted the first verified shard’s 248,320-token/247,587-merge tokenizer to an external directory. The native CLI and pinned upstream
strata_tokenizer.pyagreed on IDs and exact decode/encode roundtrips for 20 real-vocabulary cases spanning Cyrillic, CJK, emoji, combining marks, whitespace, C0 controls, long BPE runs, and control/user-defined special tokens, both with and without special parsing.scripts/compare-real-tokenizer.pyreproduces this offline check; Python andregexare evaluation dependencies only, not serving dependencies. - The second complete Qwen shard was fetched outside Git and matched its manifest SHA-256
316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113; the first complete shard remains verified at4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3. The total GGUF file size is 83,617,662,656 bytes. These are verified source bytes, not a KAR archive size. - Streamed KAR policy v4 partitions a tensor whose bit-plane stride would exceed KAR-2's
u32limit. The real 51,200,245,760-elementper_layer_token_embd.weightis planned as adjacent 32,000,000,000- and 19,200,245,760-element records with checked GGUF block boundaries and contiguous virtual F32 offsets. The part planner checks physical and derived parent hashes; provenance records parent dimensions and each part's source/F32 hashes and offsets. A small forced split fixture passed end-to-end preparation, independent archive/provenance verification, and CPU reconstruction for both parts. Calibration sampling now seeks to at most 65,536 normalized groups for tensors over 1,048,576 elements; F32 and IQ3_S sparse samples matched the complete-stream sampler exactly in dedicated tests. All 65 Rust tests and Clippy with warnings denied passed locally, and the v4 synthetic static-CLI smoke passed against the macOS binary. The Linux/arm64 v4 static validation is recorded below. - Both SHA-256-verified source shards supplied a reproducible 57,636,160-byte two-tensor sample: a 28,835,840-byte IQ3_S expert slice plus 28,800,000 bytes from the giant
per_layer_token_embd.weightIQ4_NL tensor. V4 level 2 produced a verified 36,973,056-byte KAR-2 archive (64.1491% of sampled GGUF size), SHA-256b1630baa94d01b52916e2d3fbcf73042542a1d4e2f9108517333497cf677db8d, with maximum tensor relative L2 error 0.33378769. Level 3 produced 51,761,664 bytes (89.8076%), SHA-25691ce9e0c5c804a293f3b03aea8644871ef2981ecb562c5417a3c74afa850caa5, with maximum tensor relative L2 error 0.16037559. Both archives passed source/provenance/payload verification. These are sampled size and reconstruction errors only; neither is a full-model size, model quality gate, or serving approval. - The optimized macOS release CLI recreated the same v4 level-2 per-layer sample byte for byte: 36,973,056 bytes, archive SHA-256
b1630baa94d01b52916e2d3fbcf73042542a1d4e2f9108517333497cf677db8d, and the same 0.33378769 maximum tensor relative L2 as the debug CLI. The release verifier independently matched source manifests, provenance, source records, and payload CRCs. - On the verified second-shard
per_layer_token_embd.weightslice,compare-kar-rangeindependently decoded one million archived F32 values starting at 25,000,017 and compared them with pinned ggml IQ4_NL source dequantization. L2 reconstruction had relative L2 0.33396194 and maximum absolute error 0.01647477; L3 had 0.15970538 and 0.00811461. This checks one real range of stored KAR output against source values on CPU, not model-level quality or GPU execution. - Rebuilt the v4 static CLI in the committed Dockerfile for
aarch64-unknown-linux-musl. The executable is a 14 MiB statically linked Linux/arm64 ELF, SHA-256656fefeb0cf8aa7c2b804a162f264e1d59689beadcdc6eb544dc4fe2fa92fc62. Itsscratchimage ran--versionand independently verified the v4 real per-layer L2 sample through a read-only bind mount, including manifest source hashes, provenance, source records, and payload CRCs. This validates the current Linux/arm64 CLI path; Linux/x86_64 and CUDA inference remain untested.
2026-10-03 — complete two-shard KAR-2 size
- Host: macOS arm64; release CLI at commit
edf0617; KAR-2 experimental streamed policy v4, group 32, level 2. Both source GGUF shards matched the embedded manifest SHA-256 before conversion and were rehashed by the preparation command. - Command:
strata-next model prepare-sharded-streamed qwen-iq3-s --source-dir /Users/para/.local/share/strata-next/qwen-iq3-s --output /Users/para/.local/share/strata-next/qwen-iq3-s-l2-v4.kar --levels 2. - The complete archive has 55,295,529,472 bytes (51.49797487 GiB) across 1,225 KAR records; the two GGUF shards have 83,617,662,656 bytes. Archive/source ratio is 0.66129006, saving 28,322,133,184 bytes (33.87099%). Accounted rate is 2.500025 bits per derived F32 weight. Archive SHA-256 is
536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5; derived F32 SHA-256 isc89bfcea7b1c979ad2e9e64c59fcc3c03fc414b345c5f47f027ce0ba99015479. - The writer's full payload CRC verification passed before atomic publication, and a versioned provenance sidecar was written. The maximum tensor relative L2 error measured during encoding was 0.68008092. This is not a model-level quality result or permission to serve with KAR-2. No Linux GPU inference, GPU decode, or paired end-to-end throughput result exists yet.
- A separate
model verify-sharded-streamed /Users/para/.local/share/strata-next/qwen-iq3-s-l2-v4.kar --manifest qwen-iq3-s --source-dir /Users/para/.local/share/strata-next/qwen-iq3-s --levels 2run exited successfully. It recomputed the derived F32 source identity, checked both manifest shards, all 1,225 KAR source records and payload CRCs, the archive SHA-256, and the v4 provenance policy. The provenance sidecar SHA-256 is3edceb512c386ea4552a3e5d3d49fbd841f7bd1b314aeba8b2a87ac811a8a6b5. Temporary section files, old real-data slices, local header fixtures, and superseded local Docker images were removed; both verified GGUF shards, the final KAR, and its provenance remain outside Git.
2026-10-03 — outer block codec and selective precision probes
- Read 18 independent 1,536,036-byte KAR expert sections from the verified full archive (gate/up/down records at layers 0, 3, 14, 24, 37, and 45 for experts 0, 127, and 511). On the same 18 blocks, mean compressed/raw ratios were 0.988025 for LZ4 HC (
lz4 -9, 1.10.0), 0.935372 for Deflate (zliblevel 9), and 0.915421 for xz (xz -9e, XZ Utils 5.8.4). Median xz ratio was 0.914897, with a range of 0.904669–0.930424. One block per codec decompressed byte-identically. These are CPU encoding and size observations only, without a CUDA decoder, PCIe measurement, or end-to-end A/B result. - A separate sparse scan of 26 aligned 32 MiB windows spaced 2 GiB across the archive gave mean xz ratio 0.895215, median 1.000051, and range 0.418332–1.000051. The large spread shows that a full-archive size cannot be inferred reliably from a few windows; no complete outer-compressed archive was produced.
- The streamed Rust preparer now retains relative L2, source kind, and section bytes per KAR record in its result and prints the worst 20 when creating a new archive. A forced-split fixture checked that all records are represented and their maximum equals the summary maximum. The existing full archive was created before this diagnostic and has no per-record report; reusing it will not fabricate one. All 65 Rust tests, Clippy with warnings denied, and
git diff --checkpassed locally.
2026-10-03 — sampled distortion of the existing complete archive
- Added
model analyze-sharded-karand a reusable verified CPU range decoder. The strict mode checks complete source derivation, archive payloads, and provenance. Its first full-model run was stopped after about 13 minutes because repeated derivation of the 707,775,598,080-byte virtual F32 stream made it unnecessarily expensive; it had produced no report or intermediate model files. A separate--assume-verifiedmode uses the earlier independent full verification of the immutable archive and source shards, checks current metadata and provenance mapping, and reads only sample windows. Synthetic compressed and RAW archives gave identical sampled relative L2 in strict and fast modes. The fast mode does not rehash source or archive payloads and says so in its output. - The fast real-model run produced
/Users/para/.local/share/strata-next/qwen-iq3-s-l2-v4.sampled-distortion.jsonoutside Git: 1,225 records, 12,276,608 sampled values, 546,787 JSON bytes, report SHA-2561452b55705b9f723747df7dba47fd0484ae8b4140b0022cacceefb16970b5bbf, bound to the previously verified archive SHA-256536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5. Each record uses up to three nonoverlapping GGUF-block-aligned windows of at most 4,096 values (beginning, middle, end). The median sampled relative L2 is 0.363209; 22 records are at least 0.5 and 207 at least 0.4. The largest sampled value is 0.77458222 inblk.0.ffn_gate_inp.weight; 0.74248190 and 0.73494266 occur in the same tensor family at blocks 30 and 14. A window's relative L2 can exceed the earlier full-record maximum of 0.68008092 because it measures a different subset, and it is not a full-record bound or model-quality result. - The 22 records at or above 0.5 contain 43,008,000 values. Adding one KAR bit plane only to these records would nominally add 5.13 MiB of plane bits before alignment and metadata; a serving loader and GPU path still need to apply this mixed-rate overlay. An external proposal list,
/Users/para/.local/share/strata-next/qwen-iq3-s-l3-candidates.json, has SHA-2566c82c80c8edfb7a8b0e83c8ebd690339843b83a9dce0020967e7146cbcb41120. It is a diagnostic proposal, not an approved precision policy or proof of improved model quality. The splitper_layer_token_embd.weightsampled at 0.33714705 and 0.33125633;token_embd.weightat 0.33737772 andoutput.weightat 0.37104131.
2026-10-03 — selected L3 overlay and paired tensor comparison
model prepare-kar-overlayencoded the 22 proposed unsplit records from the original GGUF shards at KAR level 3. Each selected physical GGUF and virtual F32 digest matched the full base provenance during encoding; the KAR writer and an independent pass verified the overlay records and payloads. The overlay is/Users/para/.local/share/strata-next/qwen-iq3-s-l3-overlay.kar, 18,827,008 bytes (17.955 MiB), SHA-2564f308e611e189b0fe8dde75287e55c65c4800bf7da8e6a5c2acef96d70c67471, with 22 records. The corresponding base archive sections occupy 13,445,632 bytes, so the standalone overlay file exceeds those sections by 5,381,376 bytes, including its own header/directory/alignment. The overlay provenance is 6,039 bytes, SHA-256403eeca17d09bd51b3c5f6bae2587c62c483707e346577ab3df6feed2a2a7958. Private staging sections were removed.model compare-kar-overlaydecoded every value of the same 22 tensors from the base L2 and overlay L3 archives, compared both to pinned GGUF dequantization, and recomputed each selected source tensor's physical and F32 SHA-256. Its external report/Users/para/.local/share/strata-next/qwen-iq3-s-l2-vs-l3-overlay.jsonis 4,226 bytes, SHA-2566413b353381749c5d0cc0eb91ed5bf93e6b8a9c36fd7f6db9942fd20a7478e97. All 22 full-record relative L2 errors decreased. The median across selected records was 0.50734744 at L2 and 0.22607999 at L3; the largest selected-record error decreased from 0.62459845 to 0.28435756. Forblk.0.ffn_gate_inp.weight, the paired full-record values were 0.62459845 and 0.28435756. This is a numerical weight reconstruction result, not a model-quality result or a GPU/PCIe performance result. The large base archive's earlier full verification is assumed by this comparison, while the selected source tensors and small overlay were freshly checked.- All 67 Rust tests, Clippy with warnings denied, and
git diff --checkpassed after the overlay work. A current macOS arm64 release CLI was saved outside Git at/Users/para/.local/share/strata-next/bin/strata-next-overlay-probe(13,691,888 bytes, SHA-256df2ce4c26dbf000f5935fe79a31a8ef73aea64ee5e48a1f5a5888d3751c94817).cargo clean --profile devandcargo clean --profile releaseremoved their build outputs; the private overlay section staging directory is gone. Verified GGUF shards, the full base KAR, overlay, and reports remain for reproduction.
2026-10-03 — live text SSE preview
-
The restricted
/v1/responsestext path now forwards worker token events through bounded channels as live SSE deltas. It emitsresponse.created,response.in_progress, output item/content part events, UTF-8-safe text deltas, and aresponse.completedterminal event with continuous sequence numbers. A worker failure emitsresponse.failed; dropping the client stream closes its worker receiver so the supervisor sendsSTOPand drains the current generation. -
A synthetic HTTP test received the first text delta before any
DONEevent, then checked the final text and event ordering. A resident mock worker accepted another request after its streaming receiver was dropped. A UTF-8 test checked tokens that split a multi-byte character. All 70 Rust tests, Clippy with warnings denied, andgit diff --checkpassed on macOS arm64. This validates the local protocol path only; no real model, Linux GPU, Codex tool call, or end-to-end throughput was tested. -
Follow-up terminal tests checked that worker errors produce
response.failedand output-token exhaustion producesresponse.incompletewithincomplete_details.reason=max_output_tokens, in both the response trace and live SSE path. A length-limited response is no longer misreported as an HTTP gateway failure. All 73 Rust tests and Clippy with warnings denied passed locally. -
A Rust parser now accepts complete Qwen
<tool_call><function=...><parameter=...>output in the buffered Responses path. It preserves literal closing-tag examples inside string parameter values, converts declared non-string JSON values, rejects unfinished/undeclared calls, and validates finished argument objects against the request's local JSON Schema without remote references. Function declarations with duplicate or unsafe names are rejected before generation. A synthetic HTTP test returned afunction_callwith exact string and integer values. All 78 Rust tests and Clippy with warnings denied passed at that step. Streaming tool calls and real-model validation remain open; the tool prompt is an adaptation of the upstream template rather than an established byte-for-byte parity result. -
The route now accepts a text-only
inputarray for stateless continuation: earlierfunction_callitems with JSON-object arguments must be paired with matchingfunction_call_outputtext before a new generation. The Rust prompt includes the Qwen function and tool-response blocks; mismatched call IDs or incomplete pairs return a request error. A synthetic HTTP continuation reached the mock worker with the tool response intact and returned the next text answer. All 80 Rust tests, Clippy with warnings denied, andgit diff --checkpassed.previous_response_idstorage, multimodal items, reasoning replay, and real-model parity remain unimplemented. -
The representative upstream
tool call and responsegolden prompt now matches the Rust tool renderer byte for byte, including the tool schema JSON, function call block, and tool response turn. This checks one pinned case rather than arbitrary tool schemas or real-model behavior. All 81 Rust tests and Clippy with warnings denied passed after the formatting change. -
The incremental Qwen tool parser now holds split
<tool_call>markers, including literal closing-tag examples inside parameter values. The live SSE path emits text deltas and a completed, schema-validated function call before workerDONE; unfinished and schema-invalid calls end inresponse.failedwithout publishing arguments. Synthetic worker tests check sequence order and terminal events. This has not been exercised against a real model or Codex client yet. -
After commit
122c5f0,cargo test --lockedpassed 85 Rust tests, Clippy with warnings denied passed, and the Linux/arm64 musl CLI cross-build succeeded. The 15 MiB ELF has noINTERPorDYNAMICprogram header and ran--versionfrom an arm64scratchcontainer. Its SHA-256 is13e25f38445ada0b8f99e8a262580484342bdbfd28da39154957aaf29706054b. This validates the CLI/control plane, not the CUDA worker or compressed-model serving. The superseded local static CLI copy was removed. -
The HTTP route now stores terminal responses by default in a bounded, process-local cache and can render a
previous_response_idchain with a newfunction_call_output. A synthetic two-turn worker test checked that the earlier user request, function call, and tool result reach the second Qwen prompt; unknown IDs return 404. This does not establish compatibility with a real Codex session, and the cache does not survive restart. -
Commit
5a96652passed 87 Rust tests, Clippy with warnings denied, andgit diff --check. The updated Linux/arm64 musl CLI ran--versioninscratch, has noINTERPorDYNAMICprogram header, and hashes toffff43a30c75f2009a996079e4a8d45698658b3ba8a91a449a2cf87d9645d20c. It remains a CLI/control-plane artifact without the CUDA engine. The prior local CLI copy was removed after verifying this one. -
The new
model resolve-kar-overlaycommand recomputes full SHA-256 and payload CRCs for the base and overlay archives, validates their shared virtual-F32 source, and maps every tensor name to a base or replacement record. A synthetic fixture rejected a modified overlay provenance digest. The real release-build run on macOS arm64 completed in 407.7 seconds without staging a model copy: base SHA-256536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5, overlay SHA-2564f308e611e189b0fe8dde75287e55c65c4800bf7da8e6a5c2acef96d70c67471, 1,225 base records, and 22 selected replacements. The largeper_layer_token_embd.weightparent correctly resolves through two adjacent KAR records. This validates archive identity and selection only; it does not test GPU residency, CUDA decode, model quality, or inference speed. -
The CLI from commit
d62c6cecross-built foraarch64-unknown-linux-musland ran--versionin an arm64scratchcontainer. Its ELF has no interpreter or dynamic program header; SHA-256 isae22b63d19c11e1de3c5d5279edbdef8042acee89a3fc1192baab25fa41efa7a. The superseded local static CLI copy was removed. This binary still excludes the CUDA inference engine. -
cargo check --locked --target aarch64-unknown-linux-muslpassed for the current Rust code. A first release link on macOS chose the hostccand failed on ELF flags; settingCARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gccmadecargo build --locked --release --target aarch64-unknown-linux-musl --bin strata-nextpass. The 15,141,536-byte Linux/arm64 ELF is statically linked, has noINTERPprogram header or dynamic section, and returnedstrata-next 0.1.0inside the existing Linux/arm64scratchcontainer. External copy:/Users/para/.local/share/strata-next/bin/strata-next-linux-arm64-musl-8704ef3, SHA-25678723399f292816e5f894ebf64b11ecf369eb68cef6478e363d71539d2b787ac. This is a control-plane/CLI artifact, not a CUDA inference runtime or x86_64 release validation.
2026-10-03 — precision overlay for one partitioned PLE record
- Overlay preparation and paired comparison now resolve a selected PLE partition to its exact GGUF byte range and base KAR virtual source record. A synthetic v5 fixture encoded both an unsplit dense record and one of four PLE parts at level 3, verified the two replacement mappings, and compared both full records against the GGUF values. Altering the part's source byte offset caused comparison to fail. This validates record mapping and reconstruction for small synthetic data; no full v5 archive or model-level quality result exists yet.
- All 90 Rust tests, Clippy with warnings denied, and
git diff --checkpassed on macOS arm64. The local build directory was cleaned after validation; preserved GGUF shards and v4 KAR artifacts were not changed.
2026-10-03 — one-row CUDA smoke path
- The isolated CUDA smoke target now accepts
--row ROW_IDfor a compressed record, including a selected PLE part from an overlay. It checks the local row bound, stages the record's compressed prefix, callskar_decode_rowson a CUDA stream, and hashes only the one-row output. This reduces the output allocation for the smoke path; it does not reduce the initial compressed prefix transfer or integrate decoding into Strata's multiply path. - Local Clang C++20 syntax checking with a temporary CUDA API declaration stub passed. No CUDA toolkit or GPU execution was available on the Mac. A read-only check of the Linux RTX 5090 at this step found 31,867/32,607 MiB VRAM in use by existing processes under driver 595.91.07, so neither the kernel result nor CPU/GPU row parity is claimed yet.
- The Rust
model checksum-kar-roworacle verifies the complete KAR archive and decodes a bounded row for checksum comparison. On the synthetic 32-value fixture its row-0 values match the existing full-tensor CPU decoder exactly: both CLI paths returned FNV-1aff9fd7a827b333a5; an out-of-range row is rejected. The temporary fixture was removed. All 90 Rust tests, Clippy with warnings denied, andgit diff --checkpassed on macOS arm64.
2026-10-03 — verified base plus overlay VRAM accounting
model plan-kar-overlay-memoryverifies complete base and overlay archive SHA-256 values, payload CRCs, provenance, and 22 replacement mappings before calculating selected compressed residency. A synthetic v5 fixture selected six records with two overlay replacements and counted each exactly once. All 90 Rust tests and Clippy with warnings denied passed locally.- The release CLI ran against the preserved real v4 base and level-3 overlay in 421.0 seconds. Verified archive SHA-256 values were
536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5and4f308e611e189b0fe8dde75287e55c65c4800bf7da8e6a5c2acef96d70c67471. At base level 2, overlay level 3, and a hypothetical 24,576 MiB GPU budget, 1,225 selected records (22 replacements) require 55,300,367,408 bytes of compressed residency: 55,281,550,704 from selected base records and 18,816,704 from overlay records. That is 5,376,352 bytes more than the earlier base-only compressed plan. The largest full F32 scratch is 128,000,000,000 bytes, and two PLE records exceed the per-record full-decode budget while their one-row output bounds fit. All-selected residency plus one largest scratch is 183,300,367,408 bytes, so a 32 GB card cannot keep all selected records resident. This is verified archive metadata arithmetic, not measured GPU allocation, model quality, or inference throughput. - The external report is
/Users/para/.local/share/strata-next/qwen-iq3-s-selected-overlay-memory.json, 3,586 bytes, SHA-256488a79973f90937429af1483bafe648441cd6e76ceb3a9f9edf9c16c7fcf376c. The verified source shards, base archive, overlay, and this report remain outside Git. The local release build output was removed after the run.
2026-10-03 — KAR preparation space guard
- Streamed sharded preparation now checks the output volume before creating private section files. Its conservative lower bound takes the smaller of the mandatory bit-plane bytes and the F32 RAW fallback for each planned part. For the target virtual F32 size of 707,775,598,080 bytes at level 2, the aggregate bit-plane floor alone is 44,235,974,880 bytes before scales, codebooks, alignment, and provenance. The current Mac volume has about 23 GiB free and the occupied Linux host's root volume about 18 GiB free, so neither can hold a second full archive. This guard avoids starting section writes on a clearly undersized volume; source identity calculation still precedes it, and passing the bound does not guarantee a completed archive.
- All 91 Rust tests, Clippy with warnings denied, and
git diff --checkpassed on macOS arm64. The v5 partitioned synthetic archive still prepares and verifies under the space guard.
2026-10-03 — fast rejection before existing-shard rehash
model ensure-sharded-streamednow uses the GGUF directories of already-present, size-matched shards to reject an impossible new archive beforemodel fetchrehashes the source. This metadata is not treated as verified input for acceptance: if the lower bound fits, the existing SHA-256 and preparation checks still run. Missing shards retain the normal download path, and reuse of an existing archive does not require a second archive's free space.- With both real IQ3_S shards present, a v5 level-2 request at
--ple-part-elements 100000000failed in 0.495 s from an already-built debug CLI. The directory-derived minimum was 44,235,975,168 bytes; the output volume had 22,671,552,512 bytes available in that run. The command returnedKAR minimum payload does not fitbefore source hashing and created no v5 archive. No model bytes or new archive were written. All 91 Rust tests, Clippy with warnings denied, andgit diff --checkpassed on macOS arm64.
2026-10-03 — shared-GPU smoke admission
- The isolated CUDA smoke path now rejects a compressed record whose staged prefix, F32 output, and optional row ID would cross a free-VRAM reserve of
max(512 MiB, total VRAM / 16). It checks the selected record's declared level before estimating memory and performs the admission check before CUDA allocations. Allocation can still fail if another process consumes VRAM after the check. - Local
clang++ -std=c++20 -Wall -Wextra -Werror -fsyntax-onlypassed for the smoke source with a temporary CUDA API declaration stub;git diff --checkpassed. No CUDA execution or CPU/GPU checksum comparison was performed because the Linux RTX 5090 remained occupied. The temporary stub was removed. - The original full-tensor size cap also rejected split PLE records in
--rowmode despite their bounded output. The smoke input check now caps the actual decoded output at 100 million F32 values, allowing a larger compressed record when only one row is requested. The compressed-prefix VRAM admission check still applies. This change has no GPU runtime result yet.
2026-10-03 — resumable transfer retry
model fetchnow makes at most four attempts per shard for transient transport, timeout, short-body, and HTTP 408/429/5xx failures, with 1/2/4-second waits. Each attempt reopens and rehashes its.partfile before resume; malformed Content-Range, storage errors, and SHA-256 mismatch remain terminal. Local HTTP tests recovered from a 503 while resuming an existing partial file and from a short 200 response by requesting the newly missing range. Both published only the manifest-matching completed file.- All 93 Rust tests and Clippy with warnings denied passed on macOS arm64. No real model download was repeated for this policy change; hosted CI and Linux GPU inference remain pending.
2026-10-03 — optional private Hub download credential
model fetchnow reads optionalHF_TOKENat runtime and attaches a Bearer header only to the exact HTTPShuggingface.cohost. The token is not placed in manifests, logs, or model artifacts. Manifest URLs and redirects containing userinfo are rejected; reqwest removes sensitive headers when a redirect changes host, port, or scheme. A request-builder test checks that a lookalike domain and local fixture URLs receive no token. No private model was fetched during this validation.- All 95 Rust tests, Clippy with warnings denied, rustfmt, and
git diff --checkpassed on macOS arm64 before the Linux cross-build. The new tests cover exact-host credential scoping and rejection of URL-embedded credentials.
2026-10-03 — private Linux x86_64 preparation host
- Cross-built the Rust control-plane/CLI at commit
3a96103forx86_64-unknown-linux-muslon macOS arm64 using the pinned Rust 1.99 toolchain and musl cross compiler. The 16 MiB ELF reports static PIE, has no ELF interpreter orDT_NEEDEDlibrary, and has SHA-256d49e02212537b0290717dd7c0818c8ce1b4569712cba4c1bf5acd394285007de. A private copy at/home/para/.local/bin/strata-next-x86_64-musl-3a96103on the Linux RTX 5090 host matched that digest, returnedstrata-next 0.1.0, and passeddoctorunder driver 595.91.07. This validates the CLI and driver check, not GPU inference or a single-file CUDA engine. - The host's NTFS model volume had both expected-size IQ3_S source shards. An old incomplete Q5_K_XL download and nine unneeded experiment-copy directories containing only Q4_K_XL GGUF duplicates were removed after checking current process use, reclaiming 634,919,717,485 bytes in total. Available space rose from about 91 GiB to 683 GiB. The current Strata process's IQ3_S shards, pack, and MTP files were left intact. Low-priority SHA-256 verification of the remote IQ3_S shards matched the manifest values
4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3and316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113. Only after this check, their 83,617,662,656-byte duplicate copies were removed from the Mac; the v4 KAR archive and overlay remain. The Mac's ten authorized Time Machine local snapshots were then removed, raising reported free space from 17 GiB to 138 GiB. The local cross-build directory was removed after the private Linux copy passed its checks.
2026-10-03 — RTX 5090 KAR CUDA smoke
- On Linux x86_64, driver 595.91.07 and CUDA toolkit/runtime 13.2, compiled the pinned
libkar.cuplus the local smoke target forsm_120. The current Strata server was idle; one synthetic non-streaming Chat Completions request completed withfinish_reason=stopand 39 prompt / 4 completion tokens. Its raw response and timings are stored privately at/mnt/microcrm-flash-preflight/microcrm-flash-next-experiment/strata-next/baseline-smoke-iq3-s.json. The server used engine commit30ec18ec7094550fcc594fd948220d511d80464ewith six dirty paths, engine binary SHA-256f631b32495440f1dde716734559e757b76f5436c34ca49164cb97bd80b4b18e7, and config SHA-256ac4eebc189350a6392078f168c71cabb45042221e0f7321006922002c1b2a3e0. This four-token request is a readiness smoke, not a throughput baseline. - The server's authorized
/unloadreturnedunloaded; GPU memory use fell from 31,867 to 34 MiB while its HTTP process stayed ready for/load. On a 32-element KAR fixture, both full and one-row GPU decoding matched the CPU FNV-1aff9fd7a827b333a5. Thirty warm GPU iterations gave medians 0.002816 ms full and 0.003136 ms row, with compressed residency 64 bytes. These are tiny-kernel timings, not a model speed claim. - The verified 18,827,008-byte real level-3 overlay was copied privately to the NTFS volume and matched its known SHA-256
4f308e611e189b0fe8dde75287e55c65c4800bf7da8e6a5c2acef96d70c67471. Full GPU decoding ofblk.34.ssm_beta.weightat level 3 matched the independent CPU byte checksum7a8bd0b57620bfeaacross 122,880 F32 values; one-row GPU decoding ofblk.0.ffn_gate_inp.weightmatched CPU byte checksum1a84ea920505914across 2,560 F32 values. Each used 30 warm iterations; GPU medians were about 0.003168 ms on these small outputs. This checks CPU/CUDA reconstruction for two real records, not an end-to-end model-quality or throughput result. - A private v5 PLE-partitioned level-2 conversion is running on the verified remote GGUF shards with low CPU/I/O priority. The v4 base archive is being copied privately for the larger PLE row and overlay-selection smoke checks. No v5 size, model quality gate, or compressed-model inference result is claimed before those jobs finish and independent verification passes.
2026-10-03 — warm control arm and complete overlay decoder parity
scripts/bench-chat-paired.pyand a public three-case synthetic suite now record per-case quality and paired wall time when two endpoints exist. The current server initially returned HTTP 400 while its/healthreportedloaded: truewithmax_context: 0; the harness now optionally waits for nonzero context before sending requests. After the model became ready, 15/15 timed baseline responses passed arithmetic, retrieval, and function-call checks (five repetitions each). Median HTTP wall time was 0.0959 s overall, 0.0959 s arithmetic, 0.0670 s retrieval, and 0.1613 s function call. The private response report and hardware/config metadata are on the remote NTFS experiment volume. Archive transfer and conversion were concurrently active, and no compressed endpoint exists, so this is a functional warm control arm, not a paired A/B speed result. The standard server was unloaded through its API after the run; VRAM use returned to 34 MiB.scripts/check-kar-cuda-records.pycompared Rust CPU and CUDA reconstruction checksums for all 22 records in the private level-3 precision overlay. The checksum matched for 22/22 real records: full output for records up to one million values and row 0 for larger records. Thirty warm CUDA iterations per record gave isolated median decode times from 0.002496 to 0.003200 ms; recorded compressed residency ranged from 53,792 to 13,762,592 bytes. Transfer/setup time, matrix multiplication, and model-level quality are outside this measurement. The independent paired full-record L2 report for those same 22 records has median relative L2 0.50735 at base level 2 and 0.22608 at overlay level 3; this improvement is numerical, not a passed model-quality gate. The model-free temporary GPU fixture was removed after validation.- A local release CLI independently verified the complete 55,295,529,472-byte v4 archive and decoded row 0 of
per_layer_token_embd.weight#strata-part-001-of-002at level 2. Its 160 F32 values have FNV-1ac6f74b955ce5a5ae. This is the CPU oracle for a later GPU check after the remote v4 transfer finishes and its SHA-256 is verified. The temporary local Cargo build directory was removed after this run. - The local CI entry point now checks Python syntax for both new offline measurement scripts and runs a mock HTTP A/B test. That test delays readiness until
max_contextbecomes nonzero, requires bearer authentication, checks three case results per arm and paired output equality, and confirms the private report has mode 0600 without the token. It passed locally with Python 3; hosted GitHub Actions still cannot run until a repository is created.
2026-10-03 — selective KAR row transfer prototype
- Added an isolated CUDA prototype that verifies a KAR archive, gathers only the requested rows' scales and plane words into one compact packet, and decodes that packet on GPU. On RTX 5090 (driver 595.91.07, CUDA 13.2), level-3
blk.0.ffn_gate_inp.weightrows 0 and 1 each reconstructed to the same FNV-1a values as the independently verified Rust CPU decoder:1a84ea920505914andb9359351c81dc9fb. One row used a 1,136-byte H2D packet versus a 573,472-byte complete record prefix; two rows used 2,256 bytes versus the same prefix. The first kernel's one-row test had median H2D event time 0.003008 ms and decode event time 0.007328 ms over 30 warm iterations. A later two-row run measured 0.009110 ms to build the packet from the mapped, already-verified archive; its separate payload verification took 42.405 ms. Storage/cache state affects both host measurements. The existing full-prefix smoke on the same record reportedreserve_ms=0.044608and warm decode median 0.003200 ms, but its reserve includes allocation/synchronization and the two programs have different setup paths, so these timing numbers are not a paired speedup claim. The first instrumented prototype binary SHA-256 wasc4c987a514b1ceb0a620b178ff99f63c1dd75f4f71abc98a7e01267ae8d83c10; it was built with the server's CUDA 13.2nvcc. The server lacks CMake, so the new CMake target itself has not run there; the directnvccbuild and real CUDA execution passed. - An isolated copy of the imported Strata engine source was configured and built as the
stratatarget on the RTX 5090 host with CUDA 13.2,sm_120, GCC 15.2, and CMake 4.4.3. Its pinned llama.cpp dependency resolved to3cf03257f219afbe7334045ff7c6a06ac68c627d, and the executable SHA-256 is22542ee4c80a67f8796bd6f03048da29af704a3df44a75bccce6aad9930f41be. The CLI started and printed usage for--version(that flag is unsupported). This checks reproducible compilation of the fork without touching the active server process; no model was loaded with the new executable yet. The isolated source/build occupies about 791 MiB on ext4 and can be cleaned after candidate validation. - The selective-row kernel was changed to eight neighboring threads per 32-value coded word with compile-time precision specialization. Its current binary SHA-256 is
d5a0343f042c71cbf1dbcaa749c83af387f08174396b046247bf5b87aa982a93. On the same two real overlay rows, the byte checksums stayed exact and 30 warm GPU decode events had median 0.003200 ms for two rows, versus 0.009344 ms in the earlier single-thread-per-word prototype. This is a kernel-only before/after under separate executions; packet transfer and host work were measured separately, and neither result says anything about model throughput.
2026-10-04 — native cancellation failure isolation
- The Rust supervisor previously waited indefinitely for
DONEafterSTOP. It now drains for at most 20 seconds, discards post-cancellation events, revokes readiness before killing/reaping an uncooperative worker, and releases queued requests without reusing an unaligned wire stream. - A real HTTP test on Linux x86_64 exposed a second defect: idle text/tool SSE relay tasks did not observe a disconnected client until another engine event arrived. Both relays now observe the downstream channel closing immediately. The regression covers both idle text and idle function-call streams.
cargo test --lockedpassed 98 tests, including cooperative cancellation, unchanged successful mock-worker token output, and uncooperative STOP. Rust format, Clippy with warnings denied, Python syntax and diff checks passed.- The static musl CLI ran
scripts/smoke-worker-cancel.pyon the Linux host: STOP was delivered after HTTP disconnect; termination took 20.002 seconds; the queued request received HTTP 503worker_not_ready; readiness was Failed with no context; the worker was reaped;/healthstill returned 200. This uses sanitized mock engine/tokenizer assets, no model or GPU inference. - Verified ELF has no interpreter or dynamic library dependencies. Size:
16,963,568 bytes; SHA-256:
4caa3ec4bf4657dadfa6d008351f493a70c99fcc32479255d30dc1684a62018d. One private CLI artifact is retained; remote uploaded test binary/script and temporary fixtures were removed. The private verification JSON remains. - The HTTP regression is added to the static CLI GitHub Actions job. Hosted Actions has not run because the project still has no GitHub repository. Automatic restart, real-model replay and soak stability remain open; no production profile switch or throughput improvement is claimed.
2026-10-04 — bounded native worker recovery
- Added an outer supervisor recovery loop after a post-READY crash or protocol
failure. Default lifetime budget: three restarts, with 2/4/8-second backoff;
engine.max_restarts/STRATA_MAX_WORKER_RESTARTSaccepts 0 through 3. Zero disables recovery. Startup failures stop the loop. Successful requests do not replenish its budget. No failed generation is automatically replayed. - Active and queued requests fail; commands received during backoff or startup
are rejected. Readiness has no context in
restarting/startingand returns only after a fresh positive handshake. Shutdown interrupts backoff. - All 102 Rust tests, format, Clippy with warnings denied, Python syntax and diff checks passed. New failure fixtures cover crash-once recovery, active and queued request isolation, rejected commands during backoff/startup, perpetual crash budget exhaustion, startup failure and shutdown preventing respawn. Existing cooperative cancellation and output fixtures remain green.
- The actual static Linux x86_64 CLI passed both HTTP smoke modes. Recovery
took 2.013 seconds with a one-restart budget. The failed request and a
request during recovery got 503; a fresh post-READY request got 200 with
expected text
A. Exactly two process starts and two generations were observed: the failed generation was not replayed. With recovery disabled, STOP failure isolation again passed at 20.002 seconds, with queued 503, Failed readiness, reaped worker and health 200. - Static ELF: 16,984,160 bytes, no INTERP/NEEDED; SHA-256:
eb90708ccce588e16bfab4af2a1346de1c9033a7bd57664c457c746907dfcf76. Both HTTP checks use sanitized fixtures; no real model/GPU load or soak is claimed. CI definitions now include recovery; hosted Actions has not run. Production console profiles have not been switched.
2026-10-04 — actual-model native Responses qualification
- A real IQ3_S generation on the RTX 5090 exposed missing
RESUME/REUSEDhandling in the Rust wire parser. Both prefix-count metadata lines now parse without ending a request; invalid counts and unknown tags still fail closed. - All 102 Rust tests, format and Clippy with warnings denied passed. The static Linux CLI then passed text JSON/SSE and typed function-call JSON/SSE on the actual baseline model. Both streams had contiguous event numbers and exactly one terminal event. A two-turn tool result continuation also passed.
- Real HTTP disconnect released the same worker for a successful next request. Killing the owned engine child produced a failed terminal event and rejected requests while unavailable; a new worker reached READY in 25.4056 seconds, then answered correctly. This is one reload under warm storage caches.
- Static CLI: 16,983,824 bytes, SHA-256
ee1dd490c64efb636025da74868dad1a59662eb2f95409513f7b900b01d534be; no ELF interpreter or required shared libraries. Serving directly used Rust and the C++ engine; Python only drove offline tests. - See the complete scope, configuration and results. This is not a paired speed result, full Codex replay, reasoning/structured output qualification or soak. Production profiles remain unchanged; hosted Actions has not run. Temporary test assets and remote CLI were removed.
2026-10-04 — live structured output feature
- Connected native Responses
text.format=json_object/json_schemato live generation, prompt guidance, schema validation, JSON and SSE, and tool-result continuation. Structured SSE holds generated items until DONE and validation; schema failures publish only a failed terminal. Token limits return an explicitly incomplete response whose partial text may not be valid JSON. This is validated generation, not a token-level grammar decoder. - All 105 Rust tests, formatting, Clippy with warnings denied and diff checks passed. New live-route cases cover JSON/SSE parity, wrong JSON/types, token limits, tool-only turns, history, schema rejection before admission, no structured deltas before DONE, and cancellation while buffering. Existing plain-text and tool streaming tests remain green. These run in the existing Rust CI job; hosted GitHub Actions has not run.
- Actual private IQ3_S model, baseline engine/config/hardware from the
native Responses report: 8/8
feature checks passed on RTX 5090, greedy, reasoning none, one slot/256K,
INT8 K+V resident32K, spec4. JSON and schema JSON produced the expected
objects in both nonstreaming and SSE modes; SSE sequences were contiguous
with one terminal. One-token limits returned incomplete in both modes.
A typed
record_value(7)tool call followed by its result produced the exact schema-valid object{"confirmation_code":"RECORDED-731"}over SSE. - Single-request HTTP wall times, recorded only as functional diagnostics: object JSON 0.4943 s; schema JSON 0.6286 s; limited JSON 0.0424 s; object SSE 0.3174 s; schema SSE 0.3298 s; limited SSE 0.0378 s; tool call 0.8696 s; structured continuation 0.2837 s. Requests were sequential with mixed prefix reuse; these are not an A/B speed comparison or statistics.
- Static musl CLI: 17,046,600 bytes, SHA-256
b1276083b9a71ea74a0cdefd66f968d064a6dc430a177dc2cd9509a25294b6dc. Private raw evidence and offline driver:/home/para/.cache/strata-next/native-structured-20261004. Initial test setup pointed to the extraction parent rather than its tokenizer child; correcting that private configuration allowed startup. No serving code workaround or Python serving component was added. - The isolated runtime, uploaded CLI, extracted tokenizer and temporary config were removed after checks. Source model shards and production profiles were unchanged. Native reasoning remains a separate feature; full agent replay and soak are still required for production qualification.
2026-10-04 — native reasoning feature
- Added effort selection (
none/low/medium/high/xhigh, default upstream xhigh), raw reasoning output items, liveresponse.reasoning_text.deltaevents, separate final answer/tool items, original-token reasoning usage, and raw reasoning replay in stored/stateless tool continuation. Closing Qwen markers split across tokens are handled without leaking them into either text field. Thinking truncated by the output budget returns incomplete reasoning without inventing an answer; a normal stop missing the boundary fails explicitly. - Reasoning deltas stream live; final answer/tool items on this path are
buffered until DONE. Structured answers remain schema-validated. There is no
summarizer:
summary:autoreturns an empty summary plus raw reasoning content; raw thoughts are never labeled as summaries. Encrypted/summary-only context replay is unsupported. These limits are documented inapi-contract.md. - 110 Rust tests, formatting, Clippy with warnings denied, and diff checks passed. New tests cover UTF-8/marker splits at every byte, original special- token counting, effort validation/template selection, JSON/SSE parity, structured answers, typed tools, unfinished reasoning, live deltas before DONE, context replay, and idle cancellation. Existing no-reasoning paths pass.
- 8/8 actual IQ3_S RTX 5090 feature checks passed on the same baseline engine/hardware/configuration as the native Responses report. Requests were greedy, low effort unless marked default, maximum 512 output tokens except the one-token limit tests. SSE reasoning deltas concatenate exactly to final reasoning content; event sequences are contiguous with one terminal.
| Case | Reasoning / total output tokens | First reasoning delta | HTTP wall | Result |
|---|---|---|---|---|
| Low text JSON | 23 / 26 | N/A | 0.6743 s | Answer 4 |
| One-token JSON | 1 / 1 | N/A | 0.0382 s | Incomplete reasoning |
| Low text SSE | 23 / 26 | 0.0379 s | 0.2239 s | Answer 4 |
| One-token SSE | 1 / 1 | 0.0337 s | 0.0342 s | Incomplete reasoning |
| Reasoning + schema SSE | 26 / 33 | 0.3309 s | 0.6854 s | {"answer":4} |
| Default effort SSE | 35 / 38 | 0.4384 s | 0.7320 s | Answer 4 |
| Reasoning + tool JSON | 26 / 53 | N/A | 1.4660 s | Typed record_value(7) |
| Tool result continuation SSE | 27 / 36 | 0.1575 s | 0.4135 s | RECORDED-731 |
These are single sequential functional checks with mixed prefix reuse, not a
paired throughput result or full model-quality evaluation. Private evidence:
/home/para/.cache/strata-next/native-reasoning-20261004 (includes the driver,
raw responses/events, token usage and logs). Model files were not rehashed.
Static CLI: 17,083,088 bytes, SHA-256
949696b3e915cc662f6622cb284eab46fd8d372bc82233276a0d04a1bb82eb3b.
The isolated worker and temporary uploaded CLI/tokenizer/config were removed
after measurement; the latest CLI is retained privately on the laptop.
Production profiles remain unchanged. Full console-harness replay and sustained
soak still remain; hosted Actions has not run.
Native console compatibility, 2026-10-04
- An isolated local capture of the installed Codex CLI confirmed its actual request fields, function namespaces and optional encrypted-reasoning include. Capture/configs remain private outside Git. The native route now accepts that envelope and preserves namespace identities through prompt, output and replay.
- Added optional configured model identity and direct
strata-nativediscovery in the installed qwen launcher. The installer is reproducible inscripts/install-qwen-native.py; it preserves the selected connection and existing MCP configuration. Native traffic bypassesresponses_bridge.py. - A real IQ3_S RTX 5090 console smoke run wrote
answer.txt, read it through the console shell tool and completed successfully: 370 output tokens, including 190 reasoning tokens, across two native requests. The file contains exactly two bytes,42. The console reported 45,944 cumulative input tokens and 23,045 reused tokens. This is a functional check, not a speed comparison. - The first full Three.js/MCP qualification attempt exposed an unsupported
array-valued tool result after a successful MCP project search. The runtime
rejected it with
tool output needs text. Added text-part array replay and a regression, retaining the failed attempt privately. A fresh agent run is required after the fix; the failure is not counted as a successful benchmark. - The next attempt reached native approval review, which failed because the pinned prompt renderer required developer messages to be at the beginning. The adapter now stably coalesces instruction messages at the front without dropping their content or demoting their role. Approval remains enabled. The incomplete attempt is retained; it produced no game and is not a pass.
- 113 Rust tests, format, and Clippy with warnings denied pass. New regressions cover the captured envelope shape, namespace collision rejection, live namespaced item identity, tool text-part replay, and late approval instructions. A fresh install into a temporary launcher copy matches the installed integration byte-for-byte; a second install is idempotent.
- The fresh console run after those fixes had no transport/protocol errors and
produced a game that passed 23/23 independent browser checks (all eight win
lines, locked terminal boards, restart, draw, occupied-cell handling, mobile
clicking/layout, and no page errors). However, the agent stopped while
preparing its own browser verification; its MCP task TEST-9 remained
incomplete. Exit code zero and
turn.completedare not sufficient evidence of task completion. No assistance or continuation prompt was supplied. - That incomplete run took 452.02 s. The console reported 21,622 output tokens, including 9,225 reasoning tokens. The engine recorded 24 requests including approval reviews, 23,180 generated tokens and weighted decode 102.26 tok/s (per-request median 103.75; p10–p90 70.0–129.75). These are diagnostic numbers from an incomplete task, not a paired throughput improvement.
- Further prompt inspection found that commentary and a subsequent tool call from the same response were replayed as separate assistant turns. They now remain one turn, with reasoning retained and the pinned Qwen template's exact spacing. A sanitized golden fixture was generated using the pinned local template with Jinja2 3.1.6; native rendering matches it byte-for-byte. A fresh independent run is needed to qualify this revision.
- Follow-up protocol checks preserve parallel result identity even when result
delivery order differs: both histories render identically in call order.
Response metadata now reports the actual greedy default temperature (
0), confirmed in the running fork's source (req_temperature = 0.0f). This does not change sampling. The earlier console diagnostics used that greedy default. All 116 Rust tests, format and Clippy with warnings denied pass after these two checks. The full console run on the preceding revision is kept separate from the follow-up protocol fixture results. - The subsequent unassisted console run on
a3770edcompleted TEST-10 and its game: 43:07 wall time, 68 main model responses, 68,403 output tokens and 116.91 weighted decode tok/s. Agent tests passed 132/132; independent browser checks passed 23/23. One undeclared tool name was safely rejected and retried by the harness. These are single-run functional statistics, not a speedup. - The deployed
93e2a9bfollow-up passed ordered/reversed parallel tool result replay on the real model with identical correct greedy output (tolerance 0) and completed terminal states. Native launcher status and HTTP readiness pass. The text console profile is available for a user trial; broader scope and unverified limits are recorded in the full report.
Native service-unit primitive — 2026-10-04
- STRA-15 adds
service-unitrendering and explicitserve --config FILE. This is an installable user-service primitive; managed console start/stop is still pending. It neither migrates nor restarts the current trial endpoint. - All 119 Rust tests passed after adding the module/config flag; the three focused service tests and Clippy with warnings denied passed again after the systemd path fixes. Formatting passed. Linux musl release compiled.
- Actual systemd 259 on rnr5090 passed
systemd-analyze --user verifyand the isolated CPU-only lifecycle smoke. It checked literal spaces/percent/dollar in the binary path, quote/backslash config and working-directory paths, explicit config precedence over an intentionally invalid STRATA_CONFIG, EnvironmentFile model override, HTTP health 200, readiness 503 without a worker, exact process executable/cwd and disappearance on stop. - The first real parser check caught that WorkingDirectory/EnvironmentFile are raw path directives, unlike ExecStart arguments. The second caught systemd's own executable-name rejection of quotes/backslashes. Rendering now handles each directive separately and rejects unsupported executable/environment-file paths explicitly. These rules were checked against the installed manual and systemd v259's parser.
- The temporary unit, configuration, smoke script and remote executable were
removed; no matching smoke user units remain. Local release cleanup removed
93.8 MiB. A separate private service-preview binary was retained: 17,149,088
bytes, SHA-256
a4c2430803ef7fa19692f6a3a104e59e8eb3b430743c356ac8b19c2fef5aed9c. - The active GPU supervisor remained PID 4031422, start ticks 558428413 before and after, and still reported ready. No inference or model-loading request was sent to it. The new binary was not deployed over the trial binary.
- Unit syntax smoke is wired into Linux CI; hosted Actions remain unexecuted. GPU shutdown under a systemd-managed service and login/boot persistence have not been qualified by this CPU-only smoke. Instructions are in deployment.
Console service control — 2026-10-04
- STRA-16 adds explicit
qwen-codex-ctl native-service start/stop/status/logsfor a named systemd user unit over SSH. It does not select a model, provision a unit, create a tunnel, or infer model readiness from process state. - Seven focused Python checks passed: idempotent operations, selector rejection
before SSH, missing/invalid status, bounded unit-specific logs, installer
backup/idempotence/profile preservation and refusal to overwrite an unrelated
helper. The test is included in
scripts/check-local.shfor future Linux CI. - The installed real controller completed status/start/start/status/logs/stop/
stop/status against
strata-next-controller-smoke-20261004.serviceon rnr5090. This isolated CPU-only native service reported the expected model identity via HTTP and correctly remained unready without an engine. The second start and second stop reportedchanged: false. The normal defaultstrata-next.servicewas absent and was not created by a status call. - The laptop integration is installed with a private backup; the normal connection remains unchanged. This is client-side Python only; inference still runs directly through Rust and the existing engine.
- Real GPU service migration, managed GPU stop during active generation and
login/boot persistence remain unqualified. The external trial endpoint is
preserved; these commands do not adopt it. Raw smoke results are private in
~/.cache/strata-next/native-console-20261004/controller-service-quality.json.
Optional native API auth — 2026-10-04
- STRA-17 adds private file-backed bearer authentication. All routes except
/healthare protected when configured; auth-off remains compatible. Invalid key files fail before bind/worker startup. Stored credential state is a hash; fixed-size comparison uses the already lockedsubtle2.6.1 dependency. - 122 Rust tests, formatting and Clippy with warnings denied passed; the static musl release built. CPU-only real HTTP smoke on rnr5090 passed missing, wrong and duplicate-header rejection before JSON parsing; correct-key status, public health, protected readiness, malformed/oversized/insecure/missing key files, nonblocking FIFO rejection, absence of token echo and auth-off behavior.
- Native launcher upgrade, fresh installation from the prior clean launcher,
repeated installation and coexistence with
native-servicepassed. The installed launcher's exec was intercepted without launching an agent: the auth command read exactly the private test token while neither argv nor environment contained it. Insecure key permissions were rejected. The native unauthenticated trial still passes discovery. Seven service-controller tests also remain green. This is not a full authenticated model/agent qualification. - Tests caught and fixed an installer-only indentation error on the fresh path;
existing-install upgrade was unaffected. Temporary credentials and copied
launchers were removed automatically. The remote CPU smoke executable/script
were removed; local release cleanup freed 93.8 MiB. The superseded service-only
preview was removed after retaining the combined feature preview (17,206,032
bytes, SHA-256
1f069d66e4546077e3d2494fc725cde994166769d98e506f2c73ab55d1eea121). - The GPU trial remains on its prior qualified binary, PID 4031422/start ticks 558428413, still ready. It was not restarted or sent inference requests. Hosted CI and independent security review remain pending. This feature does not add TLS, multi-user isolation or hot key rotation; loopback plus SSH remains the console transport boundary.
Native generation metrics — 2026-10-04
- STRA-18 adds a separate authenticated JSON
/metricsendpoint. It reports admitted generation activity, bounded channel occupancy, completion/cancellation/ failure counters, last DONE telemetry and weighted DONE decode rate./statusstays unchanged for console discovery. No prompts, generated text or token IDs are captured; metrics update only at generation boundaries. - 124 Rust library tests passed, along with formatting, Clippy all-targets with warnings denied and a static Linux musl release build. Existing mock worker checks now assert active state, cancellation and subsequent generation, ERR without restart, context rejection exclusion, shutdown interruption and counters surviving crash/restart. Token events and terminal ordering remain identical to the fixtures (tolerance zero); no model parameters changed.
- A real HTTP CPU fixture verifies JSON schema, queue occupancy and stable discovery. Rate tests cover zero duration, overflow and disconnected DONE. The existing Linux auth smoke now checks protected and authenticated metrics, initial null/zero values, and auth-off access. This extended smoke passed on rnr5090 using a temporary process with no engine/GPU and is already included by the existing CI smoke step. Hosted GitHub Actions have not run.
- Retained combined feature preview: 17,228,336 bytes, SHA-256
389d7784c065f978a8b1d0a064b4f3b619e03c6a65895c64b89d278c383df798. It supersedes the previous feature preview only. The GPU trial binary and SSH tunnel remain untouched; PID 4031422/start ticks 558428413 were confirmed. The trial does not expose the new metrics until a deliberate future upgrade. - Remote smoke files were removed, ephemeral test keys/configs were cleaned by the smoke harness, and release cleanup freed 93.8 MiB. The reusable debug build and private final preview remain. Independent QA and real-model telemetry qualification are pending; this change claims no speedup or soak stability.
Custom text tool transport — 2026-10-04
- STRA-19 implements custom text declarations, namespace restoration, native custom call/input SSE events and typed call/output replay. Qwen uses its existing one-string function parameter internally. Grammar formats and unsupported custom fields fail explicitly; no grammar constraint is claimed.
- 127 Rust library tests passed, formatting and all-target Clippy with warnings denied passed, and the static Linux musl release built. New coverage verifies exact multiline/Unicode/whitespace input, namespace and call identity, public event fields, invalid envelopes, mismatched output kinds and mixed parallel output ordering. Existing stored continuation and reasoning tests now exercise both function and custom calls. An incremental test observes custom input before engine DONE and verifies one matching terminal response.
scripts/smoke-custom-tools.pypassed on rnr5090 with the static binary and a synthetic CPU shell engine: JSON and SSE, reasoning none/low, exact input, stored continuation and grammar rejection before admission. The smoke is added to the Linux workflow; hosted GitHub Actions have not run. These are protocol checks, not model quality or performance measurements. Existing function/template regressions passed with exact fixture equality.- Retained combined preview: 17,244,760 bytes, SHA-256
b10a7ce9ec8cc85fa99305ba90a9f2b547c22ab0edc407c719355594c5c0c63d. The superseded preview was replaced. Temporary remote smoke files and local smoke bytecode were removed; release cleanup freed 93.8 MiB. Final preview remains private, with reusable debug build retained. - User trial is still the earlier qualified binary, PID 4031422/start ticks 558428413, with readiness and tunnel intact. No GPU inference or agent task was started, assisted or interrupted. Custom-tool real-model qualification, grammar support and independent QA remain pending.
Native admission drain — 2026-10-04
- STRA-20 adds
/admin/drain,/admin/resumeand/admin/lifecycle, protected by the existing optional auth gate. New Responses admissions receive 503 during drain and readiness is withdrawn; already admitted JSON/SSE requests continue. No worker stop, reload or model switch is performed by these APIs. - RAII guards track request/body lifetime separately from generation-command
lifetime. The command guard remains held through STOP drain or failed-worker
cleanup, avoiding a false drained result when an HTTP client disconnects.
Frame and trailer forwarding is unchanged. Direct
http-bodydependency uses the already locked 1.1.0; no dependency version changed. - 130 Rust library tests, formatting, all-target Clippy with warnings denied and static musl build passed. New checks cover admission before JSON parsing, idempotence, body/trailer equality, distinct request/command lifetimes, worker-state gating and a cancelled worker held until its STOP terminal line. Existing function/custom/reasoning and worker recovery fixtures remain green.
- On rnr5090,
scripts/smoke-native-drain.pypassed with a synthetic CPU engine: one active SSE and one queued JSON response completed with the exact expected text and terminal event after drain. New admissions were rejected, readiness stayed false, drained became true only after completion, and resume accepted a fresh request. Extended auth smoke passed unauthorized admin rejection and authorized drain/resume. The new drain smoke is wired into Linux CI; hosted Actions have not run. These checks do not qualify full-model maintenance. - Retained combined private preview: 17,304,272 bytes, SHA-256
e1e7aa29aec1f7d1aeb157920e76ae3daccff957852adee46cc36e599a7c71a2. Previous preview was superseded. Remote temporary files and generated smoke bytecode were removed; release cleanup freed 93.8 MiB. - GPU trial remains unchanged and ready at PID 4031422/start ticks 558428413,
with its existing SSH tunnel. No inference request or admin mutation was sent
to that trial. Independent QA, GPU maintenance and soak qualification remain.
Drain has no forced timeout or persistence across control-plane restarts;
exact operator semantics are documented in
deploy/README.md.
Native API console control — 2026-10-04
- STRA-21 adds
qwen-codex-ctl native-apicommands for status, metrics, lifecycle, drain and resume, including optional drain waiting. The installer backs up the launcher and preserves its selected connection. Explicit URL overrides require explicit authentication and never inherit another target's key. API identity is checked before admission mutations. There is no automatic service stop, resume, model switch or tunnel management. - Eight new Python behavior tests passed: invalid target rejection before I/O,
native identity before mutation, drain completion/timeout/concurrent resume,
response validation, auth selection, direct HTTP without proxy/redirect,
bounded responses and suppression of literal or escaped credential echoes,
installer idempotence and coexistence with native-service in both orders.
All seven existing native-service tests and the installed launcher auth test
passed.
check-local.shincludes the new tests for future Linux CI; hosted GitHub Actions have not run. - Built the current macOS debug control plane and tested the actual installed controller against an isolated authenticated CPU-only endpoint: all five commands, repeated drain/resume, drain wait, selected-profile authentication, explicit key override, and unauthorized mutation rejection passed. Temporary server, key, config, profile and logs were removed. The normal user connection was compared before/after and remained byte-identical. This checks console integration, not model quality or GPU maintenance.
- Read-only
native-api statussucceeded through the preserved GPU tunnel. PID 4031422/start ticks 558428413 remained unchanged. No inference or admin mutation was sent to the user trial. Its older runtime still lacks metrics and admin routes; the client reports unsupported HTTP responses explicitly. Linux feature-preview binary remains unchanged from STRA-20. Independent QA and a deliberate future managed GPU deployment remain pending.
Embedded native engine package — 2026-10-04
- STRA-22 adds an opt-in Linux engine payload to the Rust executable. Build-time
SHA-256, declared source revision and target ELF header checks precede byte
embedding. Default builds remain payload-free.
engine-infoexposes payload identity, and--engine-licenseretains the imported MIT notice. Serving uses the payload only with explicitengine.executable: "@embedded". - Linux execution uses an executable, sealed memfd retained until supervisor shutdown, including worker restarts; external engine configuration is unchanged. No executable is extracted to a persistent path. No weights, CUDA libraries or NVIDIA driver are bundled. The upstream provenance record is unchanged.
- 132 macOS Rust library tests, formatting and all-target Clippy passed. Tests cover payload digest/architecture/revision rejection and explicit selection. The Linux-specific unit test additionally covers shrink/grow/write seals and descriptor cleanup; its hosted CI execution remains pending.
- Static Linux build with a synthetic CPU ELF passed on rnr5090: embedded digest
equals the source byte for byte; seals prevent writes; worker READY and HTTP
generation return the expected
A; forced worker crash restarts from the same payload; output equals the external-file baseline exactly (zero tolerance); graceful termination removes both worker PIDs and the parent memfd path. Smoke code handles transient/procsocket descriptors and ETXTBSY for a running executable. This is a packaging/protocol test, not model quality or performance evidence. The smoke is wired into Linux CI; Actions have not run. - A private combined preview also embeds the existing qualified engine binary:
engine size 45,680,928 bytes, SHA-256
0f62ffb4dd30561bd4e56cd5e4da412a09f56b7ef6a19f5e23d0cea7e4381b1f. Declared source revision follows its retainedengine-fork-f80a3e0build directory:f80a3e007354a6137c409b760dc70f8f80a3af2c; no reproducible engine rebuild was performed in this step. Its byte identity is verified directly. Combined executable: 63,007,200 bytes, SHA-256ec21fb36fc0ed665fab063877a575b8376d7e8fd9aacbd43889851ac46fd3f5d, retained privately asstrata-next-linux-x86_64-musl-embedded-preview.engine-infoand license output ran on Linux without loading the GPU engine. Outer ELF has no INTERP/NEEDED entries. The embedded ELF still requires libcudart.so.13, libcublas.so.13, libstdc++, libgcc, libc and libm; its existing CUDA library RUNPATH is host-specific. This is not a fully static GPU package or clean-node deployment qualification. - The active user trial remained PID 4031422/start ticks 558428413. No inference, admission mutation, GPU load or tunnel restart was performed. Independent QA, clean-node library packaging and real-model embedded startup remain pending.
- The default CLI was also checked to reject
@embeddedbefore opening its listener when no payload is present. Temporary remote smokes and local input copies were removed; release cleanup freed 108.0 MiB. The private final package and the reusable debug build remain.
Static CUDA toolkit engine profile — 2026-10-04
- STRA-23 adds
STRATA_CUDA_STATIC, default OFF, requiring Linux/GNU/CUDA. CMake selects static runtime/cuBLAS targets, including the explicit KAR and parity runtime links; thestrataexecutable links GNU C++/GCC runtimes statically and omits build-host RPATH. No engine arithmetic source changed. - A full isolated SM 120 Release build passed on rnr5090 with GCC 15,
CUDA 13.2.86 and portable GGML AVX2 configuration. Compilation ran at nice 10
with two jobs. Only
--helpwas executed, with empty CUDA_VISIBLE_DEVICES and LD_LIBRARY_PATH removed; no model or GPU context was initialized by the test. - ELF audit passed: DT_NEEDED contains only libm.so.6, libc.so.6 and
ld-linux-x86-64.so.2; no RPATH/RUNPATH, libcudart, cuBLAS, libstdc++ or libgcc_s
shared dependency remains. Minimum versioned glibc requirement is 2.43.
Runtime
dlopendependencies and model behavior remain unqualified. - Engine artifact: 593,942,184 bytes, SHA-256
389b518c3c8afaccd20bab78f538e008ff996d11dacb08abe73e315a853c6b11. Retained privately on the Linux host asstrata-cuda-static-preview. This exceeds the existing embedded payload cap of 128 MiB; the 63 MB combined preview from STRA-22 remains unchanged. This candidate is not fully static or qualified for older glibc distributions. - Five default Linux CPU tests passed: conversation cache, conversation memory, cache retention, coupled draft and BF16 conversion. A real-ELF fixture gate passed accepted libc-only linkage, rejection of a toolkit RUNPATH and rejection of a fake libcudart DT_NEEDED dependency. Invalid CUDA-off/static-on configuration failed before CUDA setup. Default CUDA configuration still selects shared libcudart/cuBLAS. Local macOS CMake was unavailable; these checks ran on Linux.
- The ELF fixture is in local/CI checks, and an opt-in private-runner dispatch builds/audits the static profile without publishing it. Hosted Actions have not run. Numerical/model parity, clean-node qualification and performance evidence are pending; no serving default or active user endpoint was changed.
- The preserved trial still reported ready at PID 4031422/start ticks 558428413; its SSH tunnel was unchanged. The 1.3 GiB isolated source/build directory was removed after retaining the private candidate, link command, CMake cache and build/test logs. No original toolkit archives, baseline binaries or model files were removed.
Static CLI OCI acceptance (STRA-66)
deploy/Dockerfile.static-cli builds the Rust CLI/control plane into scratch.
Its build context includes the upstream license used by --engine-license;
the other engine files remain excluded. Build and verify it with:
docker build -f deploy/Dockerfile.static-cli -t strata-cli-check .
python3 scripts/smoke-cli-container.py strata-cli-check
docker image rm strata-cli-check
On an arm64 Linux Docker host, pass
--build-arg RUST_TARGET=aarch64-unknown-linux-musl to the build. The hosted
linux-cli-container job builds the actual x86_64 image and checks the exact
upstream license, CLI version, missing embedded engine/model, HTTP health,
not-ready response, and graceful shutdown in an isolated non-root read-only
container. CLI prereleases require this check as well as the static binary job.
This is a CLI-only image: full CUDA OCI deployment, model startup and GPU
readiness remain separate acceptance gates. No image is pushed to a registry.
Isolated hosted CUDA packaging (STRA-69)
workflow_dispatch input hosted_cuda_package=true selects a private-repository
Ubuntu 24.04 CPU job. It never targets the private GPU runner. The existing
static_cuda_package and keyless_gpu inputs remain false unless explicitly
selected. This build does not load a model or install a driver.
The build-only scripts/bootstrap-cuda-toolkit.py assembles seven components
from NVIDIA's CUDA 13.0.1 redistrib manifest,
using its committed manifest/component SHA256 and size pins in
deploy/cuda-toolkit.lock.json. Download size is 872,943,748 bytes. A fresh private
prefix, bounded downloads/expansion, safe tar extraction, collision/link checks
and retained component licenses avoid a system CUDA installation. This is a
build dependency bootstrap, not an end-user runtime installer. NVIDIA documents
component assembly and supported host compilers.
The job explicitly uses GCC 13, one engine compile job, two Rust build jobs and a
150-minute job limit; it refuses acquisition below 6 GiB RAM or 12 GiB free disk.
Actual host/compiler versions and initial resources are recorded. Toolkit bytes
are pinned; hosted OS/compiler patch updates mean byte-identical rebuilds are
not asserted.
Nonempty Linux engine payloads use a target-assembler .incbin in a read-only
ELF section after the existing bounded SHA/ELF verification. Rust references
that immutable section through an exact-length external static; it does not
parse a 600+ MB engine as a Rust byte-array constant. Empty/nonembedded builds
remain unchanged. The hosted packaging step records memory/disk counters and
time -v resource usage. Two initial hosted attempts received runner shutdown
signals during the previous Rust embedding path; those logs do not establish
an OOM diagnosis. Exact memfd bytes, seals, restart and external-worker output
equality remain mandatory checks for this build-path change.
Existing static-engine, combined-package and OCI builders supply the actual
compile/link, dependency/ABI, embedded identity and GPU-hidden help gates.
The private strata-next-hosted-cuda-preview artifact retains package checksums,
source provenance, image archive/receipt, exact toolkit manifest/toolchain data
and component license archive. Retention is seven days. Successful upload is
required; an ephemeral hosted runner is not durable fallback storage if upload
fails. Owned build directories and image are cleaned. Tests use deliberately
invalid archives/receipts and do not require CUDA; only a successful manual
actual-CUDA job qualifies compilation and packaging. GPU driver loading,
full-model/MTP inference, quality and clean-node rollback remain separate gates.
gh workflow run linux.yml --ref COMMITTED_REF -f hosted_cuda_package=true
Native per-user installation (STRA-72)
On Linux with a running systemd user manager:
/opt/strata-next service-install --config /srv/strata/config.json \
--working-dir /srv/strata --env-file /srv/strata/runtime.env \
--unit strata-next-preview.service --start
--env-file and --start are optional. The command reuses service-unit's
literal-path renderer and installs a private regular file under
$XDG_CONFIG_HOME/systemd/user (default $HOME/.config/systemd/user). It
atomically publishes without replacing an existing file. An identical owned
private file is reused; differing content, symlinks and special files fail.
Use a new unit name for a different deployment. Config, binary, working directory
and optional environment file must already exist at absolute paths; keep them
at stable locations. Configuration/model validation still occurs in serve.
Before start, it checks that the manager resolves this unit file without existing
drop-ins; a different XDG search path or overriding runtime unit fails closed.
The command runs user daemon-reload, then optional start, each with a
30-second client deadline. It never uses sudo, enables login startup or configures
lingering. Failure retains the installed unit for explicit retry. A timed-out
systemctl client is killed/reaped, but a job already accepted by the manager may
still be pending: inspect systemctl --user status UNIT before retrying.
Successful start is process activation, not model readiness; use wait-ready below.
The JSON enable_requested: false records that this command did not enable the
unit; it does not query or undo an existing enablement.
The existing smoke-service-unit.py --lifecycle now exercises native installation,
exact reuse, conflict preservation and actual user-manager start/health/stop on
an isolated hosted Linux runner, with a control-only service. Offline manager
failure/retry and symlink checks also run. This does not qualify GPU/model loading,
boot persistence, runtime upgrades or automatic rollback of a live GPU service.
Native readiness waiter (STRA-78)
After activation, or through an existing SSH loopback tunnel:
/opt/strata-next wait-ready --url http://127.0.0.1:18082 \
--model strata-native-iq3-s --key-file /srv/strata/api.key --timeout-s 300
Only GET /status is sent. Success emits JSON with ready, service, model
and attempts; it requires the exact model ID, service: strata-control,
worker: ready and ready: true. This is a readiness snapshot, not an inference
or quality probe, and availability may change immediately afterward.
The timeout defaults to 300 seconds (range 1..3600) and bounds the entire network wait, including slow headers, body chunks and retry delays. Parameter/key-file validation precedes that budget. Each HTTP attempt is also capped at 3 seconds; network failures, HTTP 429/5xx and loading/unready states retry every 250 ms. Authentication failures, redirects, wrong identity and malformed or oversized responses fail immediately. The body limit is 64 KiB. Errors do not print peer bodies, credentials or transport URLs.
The URL must be an HTTP origin with a literal loopback IP, no credentials,
non-root path, query or fragment. IPv4 and IPv6 loopback are supported; remote
servers require an existing SSH tunnel. Environment proxies and redirects are
disabled. Optional --key-file uses the same bounded regular-file/private-mode
and token-format checks as server authentication; omit it for an unkeyed service.
No model, engine or config is loaded by this command, and no service/tunnel is
created, restarted or modified. It does not upgrade the installed Python switch
controller or alter its existing readiness logic.
The hosted CPU HTTP gate checks exact identity, loading/retry, auth, redirect refusal, proxy bypass, oversized/chunked responses, slow header/body deadlines, private key validation and an actual native service's worker-ready/worker-exit states. No generation command is sent; real GPU/model qualification remains open.