Owner decision 2026-11-23: the vendored Strata tree engine/strata is removed for good. This first step moves what is still read at build, test or ship time into one small directory, byte for byte: - third_party/strata/LICENSE (MIT; `leleka engine license` embeds it, the packagers ship it) - third_party/strata/ggml/LICENSE, project-maya/LICENSE, project-maya/NOTICE.md (licence texts the release packager ships) - third_party/strata/serve/chat_template.jinja (one copy, embedded by control-plane server_api.rs and gateway-text prompt.rs) - third_party/strata/serve/chat_golden.json (gateway-text prompt tests) - third_party/strata/tests/data/native_experts/*.txt (control-plane native_pack tests) - control-plane/tests/mcp_hub/mcp_fake_server.py next to its test harness - third_party/strata/UPSTREAM.md replaces engine/upstream.md: pin 41cf05a0, URL, the 25 locally patched files, where the removed tree is in history include_str! paths, deploy/build.rs (the `leleka version` Strata pin now reads third_party/strata/UPSTREAM.md), Dockerfile.static-cli, .dockerignore, .gitattributes, the release packagers (package-5090.sh, package-release.py: the subtree facts of the removed tree are dropped from PROVENANCE) and the evidence capture scripts follow the move. The tree itself is deleted in a later commit.
4.2 KiB
Strata upstream record
Leleka is a Rust/CUDA port of the Original mode17 serve path of Strata. The Strata source tree that was vendored under
engine/strata/ is removed; this directory keeps the few files that Rust code and the shipped product still read, and this record.
Pin
| Field | Value |
|---|---|
| Upstream repository URL | https://github.com/Niko1221/Strata.git |
| Upstream commit SHA | 41cf05a06a25dd29103b7b27a2279a3f60c21876 |
| Upstream commit date | 2026-10-25 11:35 +0100 |
| Upstream version at the pin | engine and Control 0.1.50, Terminal and app 0.2.5 |
| Licence | MIT, LICENSE in this directory (shipped by leleka engine license and by the release packager) |
leleka version prints the Upstream commit SHA above (crates/deploy/build.rs reads the row of this table), and the release packager
records it. Do not advance the pin silently: choose a commit, review the diff from the pin, and change this row in the same commit.
The old pin was d9ab8435f654c368c586340d490915f6addf56a3 (engine 0.1.35, upstream tree 487c4cc0, identical to upstream commit
5b734e42; upstream rewrote its history, so d9ab8435 is not an ancestor of upstream main).
What is kept here, and who reads it
All of these are byte-identical to upstream at the pin (.gitattributes keeps them out of line-ending conversion).
| File | Read by |
|---|---|
LICENSE |
leleka engine license (control-plane/src/cli/operations.rs), deploy/Dockerfile.static-cli, the release packagers |
ggml/LICENSE, project-maya/LICENSE, project-maya/NOTICE.md |
release packagers (licence texts shipped in share/leleka/licenses/) |
serve/chat_template.jinja |
leleka-gateway-text (prompt.rs) and leleka-control-plane (server_api.rs), both with include_str! |
serve/chat_golden.json |
leleka-gateway-text prompt tests |
tests/data/native_experts/*.txt |
leleka-control-plane native_pack tests |
control-plane/tests/mcp_hub/mcp_fake_server.py is the upstream serve/mcp_fake_server.py, kept next to the test that runs it.
Local patches that the removed tree carried
The tree at engine/strata/ was upstream 41cf05a0 plus 25 locally patched files (21 modified, 4 new), all default-off or build-profile only:
CMakeLists.txt(STRATA_CUDA_STATICprofile, KAR and PLE targets, keyless sources)include/strata/core/expert_source.hpp,include/strata/core/keyless.hpp(new),include/strata/core/layer.hpp,include/strata/core/verify.hpp,include/strata/kernels/kv_stream.hpp,include/strata/kernels/ngram.hpp,include/strata/kernels/qsa_decode_attn.hppsrc/core/conversation_snapshot.cpp,src/core/conversation_snapshot_test.cpp,src/core/expert_source.cpp,src/core/keyless.cpp(new),src/core/layer.cpp,src/core/mtp.cpp,src/core/verify.cppsrc/kernels/cuda/keyless.cu(new),src/kernels/cuda/kv_q8.cu,src/kernels/cuda/kv_stream.cu,src/kernels/cuda/qsa_decode_attn.cu,src/kernels/keyless_parity.cpp(new),src/kernels/kv_stream_parity.cpp,src/kernels/ngram.cppsrc/prefill/kernels.cu,src/prefill/prefill.cpp,src/program/generate.cpp
Where the removed tree is
The full tree is in git history before the removal commit: 87e2633af ("bring the Strata subtree to upstream 41cf05a0 (engine 0.1.50)
with the local patches re-applied") is the last commit that changed engine/strata/, and git show <removal commit>^:engine/strata
(or git archive <removal commit>^ engine/strata) restores it. The removal commit is REMOVAL_COMMIT.
The local patches as a diff (old pin to old subtree, and new pin to new subtree) were engine/upstream/local-patches-on-0.1.35.patch
and engine/upstream/local-patches-on-0.1.50.patch; they are in the same history. The upstream remote is
git remote add strata-upstream https://github.com/Niko1221/Strata.git; the pin commit is fetched from there.
Why it was removed (owner decision, 2026-11-23): Leleka never builds or runs it (no Cargo.toml or build.rs depends on it), the vanilla
reference build for benchmarks is made from its own checkout on the benchmark server, the comparison measurements are finished and the
CUDA ports are frozen. Oracles and checks that compiled or read the removed sources were retired with it (see the removal commit message).