Commit Graph
5 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 eddb78e6e0 deploy: embed the upstream expert profile in leleka; first start installs it offline
The owner asked to ship the 196,632-byte table instead of depending on a download.

* crates/deploy/data/expert-profile.bin: Strata data/expert-profile.bin unchanged (MIT, sha256 8f59b4aa...388975baf), the one
  *.bin exception in .gitignore (every other *.bin stays ignored); .gitattributes pins it `-text binary` so no platform can
  alter the bytes. crates/deploy/data/expert-profile.NOTICE carries the Strata MIT notice and provenance.
* expert_profile.rs: `include_bytes!` of the table; provisioning order is --expert-profile-file, the embedded bytes, then the
  https download as fallback. The embedded bytes are digest-checked before the atomic install like any other source, and only
  offered to a profile that pins the same digest. The plan shows "install the ... table embedded in this binary (no network
  needed)" even with --no-fetch and without curl/wget.
* digest verification, status/verify/summary ON/OFF reporting and --no-expert-tier are unchanged.
* attribution: docs/release licence audit (Strata row), docs/deploy.md, docs/windows.md, docs/upstream.md, and the 5090
  packager ships the NOTICE as licenses/strata-expert-profile-NOTICE.txt.
* tests: embedded == pinned file, offline install before any download, explicit file wins, a corrupted embedded copy falls
  back to the download, plan states, e2e first start with no network tool.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 21:52:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 957196fddb deploy: provision the ranked expert profile on first start (leleka up), report the expert tier ON/OFF
data/expert-profile.bin (upstream Strata routing table, sha256 8f59b4aa...388975baf, 196,632 B) is not in Git, so a new
user silently lost the VRAM expert tier. It is a routing statistic of the model, not derivable from the weights, and a
locally generated table changes expert placement (docs/original-serve.md control: 0/6 identical outputs, 43 flips in 1,660
rows), so the product pins the upstream bytes.

* new step `expert-profile` in `leleka up`, planned before the large downloads: https download (curl/wget, https only,
  1 MiB cap) from the Strata commit 41cf05a0 (raw.githubusercontent.com, then jsDelivr, then the old pin d9ab8435), sha256
  checked, installed by rename; any other digest fails closed with both ways out. A wrong file in the way is moved aside
  (.rejected-<unix>), never deleted.
* `--expert-profile-file PATH` (offline install, same digest required, forwarded through the WSL bridge) and
  `--no-expert-tier` (explicit opt-out, persisted as `expert_tier: false` in leleka.json only when set).
* the configuration names the table whenever the tier is intended; the supervisor re-checks the digest at every engine
  start, logs ON/OFF and drops the switches when the file is gone or changed.
* `leleka status` (also through the WSL bridge), `verify` (fails when the configured table is missing or wrong), the ready
  summary, preflight and `doctor` report `expert tier ON (path sha256 ...)` or `WARNING expert tier OFF: reason`.
* tests: provisioning (download, fallback source, mismatch, offline file, moved aside, no source), plan states, gather env,
  cli flags, preflight, report/start environment, e2e flow with a fixture-digest profile; ignored live tests against the
  pinned sources. Flow tests that are not about the tier now run with the tier off on purpose.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 21:48:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 92802d0053 docs: upstream provenance for 41cf05a0, local patch files, and the 2026-10-25 upstream digest
docs/upstream.md: new pin, pin history (both SHAs of the old pin), local patches as re-applied, conflict table,
left-out list, verification. docs/upstream/*.patch: the local patches on the old and the new pin.
docs/upstream-digest-2026-10-25.md: Qwen-path shortlist for the Rust runtime, KAR generality versus the
DeepSeek-V4.1 engine, the DeepSeek engine, new tools, compatibility, server build plan (not run).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:49:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a8047ac46 docs: AGENTS.md repository state and upstream provenance note reflect the port
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:32:37 +01:00
Pavlo Ratushnyi 4013e0c9bd Import tracked Strata Next source snapshot
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
2026-10-05 18:15:08 +02:00