The engine decides about the sidecar at its start where the host-to-device link has room (L32-CUDA's --mtp-auto, L32-TERM's launcher keys ling32_mtp + ling32_mtp_mode "auto"|"on"). The app:
- Models page and settings: one choice "Auto (on when it pays)", On (forced), Off, default Auto. ling_mtp is a virtual field: the host turns it into the run config words (off = the app's mtp false, on = mtp true + ling32_mtp_mode on, auto = neither) in the settings save and in a Load's values; installedInfo carries lingMtp; the install passes --mtp only for on / off (nothing = auto).
- A line under the choice says what the loaded engine does from its own status (spec, mtp.on, h2d_gbps), in the ten languages, never from the setting alone: "Draft layer: on." / "off. This card's link moves N GB/s, which is too little for a gain." / "off.". lg16 (field hint) replaced, lg17-lg21 added.
- ling32-real-run.py: the MTP check follows the engine's own state (forced on: spec=mtp), prints MTP-STATE.
Tests: ling32-family.test.mjs (choice/patch round trip, panel and settings contracts), drafting.test.mjs pins.
app/host/scripts/ling32-real-run.py now also runs on Windows (a Control folder with a venv launcher, node.exe) and takes LING32_OWN_DIR (the model files are adopted where they are, read only), LING32_SIDECAR, LING32_MTP, LING32_SHOW, LING32_BACKEND (cuda | hip | metal: what the catalog row must say) and LING32_NO_VISION (the Mac engine reads no pictures yet).
- server/ling32.mjs LING32_DRAIN_S = 90 and native-control.mjs: a start or restart of a Ling instance passes drainSeconds 90 (the runtime's --shutdown-timeout; the other models keep 15). Found by the real-model run on an RTX 4090: stopping the engine gives back about 77 GB of pinned memory and took 23 s to 31 s; the reload after a settings change (Draft layer off) failed with "server_stop_deadline_expired" at 23 s. Same run with the change: the stop took 30.8 s and the reload finished.
- scripts/ling32-bench-common.py, ling32-direct-bench.py, LING32_BENCH=1 in ling32-real-run.py: five greedy requests of 256 tokens with the engine's own decode_tok_s, the PCIe link read under load, once through the host's instance and once through serve started from the saved run config (what `strata launch` does), MTP on and off.
RTX 4090, PCIe 4.0 x16, engine 0.1.72 cuda13, tier B: host instance 53.6 to 64.3 engine decode tok/s (runs 2 to 5), plain serve 54.4 to 64.3, plain serve with the MTP off 53.6 to 63.9: the app starts the engine as the launcher does; MTP gains nothing on this link (acceptance 0, 1.0 tokens per verify). The 14.7 tok/s of the earlier run was a PCIe 3.0 box.
Found by the real-model run (packaged host, real engine, rented RTX 3090): after the download the install died at step 6.
- setup.py ling32_tokenizer_dir: `import ling32_tokenizer` had no tools/ folder on sys.path (the packaged Control has none); the path is added first.
- setup.py run(): Control mode refused `strata-ling32 --export-tokenizer` ("only runs its bundled preparation tools"), the fallback the bundled Python (no zstd) needs; strata-ling32 joins strata-hy4 and strata-inkling in the allow-list.
Tests in tests/terminal/test_ling32_gui.py. The second pass of the run, with these two fixes: 21 of 21 steps (install with resume, Load, chat, picture, MTP stats, MTP off, unload).
Found by the packaged host with the real engine on a rented RTX 3090:
- tools/strata_mcp.py: a comment I had put on the return line of ling32_platform swallowed notes / mtp_default / mac (the row had only backend and engine_exists). Fixed; test_ling32_gui.py covers the keys.
- setup.py download(): a pre-signed storage link (the private Ling source) answers HEAD with 403, so the whole download stopped with "cannot reach". 403, 405 and 501 on HEAD now go on to the ranged GET that gives the size (range_total); a real refusal still ends at the GET. Test: PresignedSource in tests/terminal/test_ling32_gui.py.
- app/host/scripts/ling32-real-run.py: models folder path of the install check.
tests/snapshot/test_ling32_app_snapshot.py: for every machine class the host's own Load of an installed Ling model, plain and with the Draft layer (MTP) switched off in the settings, recorded in golden_ling32/<machine>.json (own files: the Qwen goldens did not move). The switch off drops ling32_mtp from the start; the context window is 1860 s for the start (30 minutes plus the server's margin).
app/host/scripts/ling32-real-run.py: the packaged host against the real engine and model (install with the download, cancelled and resumed, Load, chat, picture, MTP stats, MTP off, unload).
strata_mcp: engine_exists also follows ling32_family.SYCL_ENGINE_SHIPPED when that flag exists, so Intel lights up with the engine.
Found by the host run: Control read the context of an installed Ling model from --max-context (Ling's engine spells it --ctx), so the Models page showed 0 and opened at the wrong size. models._summary and the strata_models row now read --ctx for arch ling32.
app/host/scripts/ling32-fake-run.py drives the packaged host (Control, pinned sandbox) against tools/ling32_mock_engine.py: catalog row, installed, Load, chat, picture, stats, MTP off through the settings, unload (24 of 24 steps on Linux).
Tests: the source-pinned host tests (drafting, hy4-family, ui-r3, inkling-family, inkling-shape-engine-ux, load-pictures) follow isNativeStrata / the Ling lines; the Ling strings of the German catalogs use Sie and the French ones a no-break space before ;.
One shared predicate (server/native-strata.mjs: isNativeStrata for hy4 | inkling | ling32, plus the vision-shard helpers) is used where the code asks "is this a native strata program"; family-specific code (server/ling32.mjs) only where Ling differs: the MTP sidecar switch (ling32_mtp), thinking off by default, a 30 minute start window, no K/V choice, no Flash-Next memory options, no Qwen draft pack, one slot.
Control: the Models row carries backend, engine_exists, platform note codes (Mac memory, AMD level, old NVIDIA, no card, small-card MTP) and mtp_default; the install tool takes tier and passes --mtp to Ling; Load fetches a missing Ling picture reader (pictures.py).
Tests: tests/ling32-family.test.mjs, tests/terminal/test_ling32_gui.py; the source-pinned host tests follow the predicate.
Host (app/host/server):
- hy4.mjs: isHy4 now means both forms of Hy4-Flash (arch hy4flash, the `.strata` builds on
strata-hy4, and arch hy4-flash, AngelSlim's GGUF builds on the Strata engine), so none of
the Flash-Next options (reserve, pool workers, batch, draft pack, cache spread, resource
profiles, safer-start retries, request slots) reaches a GGUF start. New isHy4Gguf,
isHy4GgufModel, withoutHy4GgufDrafting (--mtp with --draft-tokens, or Dfly all go when
drafting is off); hy4VisionShard / withoutHy4Vision know --vision-shard.
- native-control.mjs: a GGUF build's install runs the engine step first (the CUDA 13 Strata
engine carries the Hy4 GGUF engine), no Qwen draft pack is planned or fetched for it, only
Off of the drafting choice reaches setup (as --mtp off), a context the person did not pick
is left to the engine's own fit (128K or the largest step the card holds), a missing picture
reader is not fetched as a .strata file. native-settings.mjs: the Qwen environment switches
do not apply to arch hy4-flash.
Models page: the Hy4-Flash group lists the GGUF builds as "GGUF · NVIDIA · Full model" /
"Less RAM" (only where the Terminal's catalog offers them: NVIDIA); Context memory offers
INT8 or FP16 for them; a PC with less RAM than the build wants is told in words and the
less-RAM build is named. Ten languages (scripts/add-hy4-gguf-strings.mjs, gtui-*.json
hg01-hg06).
Tests: tests/hy4-gguf.test.mjs (9).
The local files screens take .strata and .gguf, and the unsupported message names the four families the engines run. A custom build has an editable
display name, is listed under its family in the version and chat pickers with a Custom badge and its file size, and can be removed from Strata
without touching the files. The host accepts .strata files and the Inkling-2-Mini and HY-4 Flash architectures.
The move of apps/ to app/ in 0.2.16 left the old names in comments, docstrings, usage lines of scripts ("python apps/desktop/scripts/stage-control.py ...", "cd apps/host") and in a few READMEs. A search of every code path (string literals, join() arguments, imports, workflows, build files) found none still pointing at apps/: the only code use of "apps" left are the Harness's own apps/cli folder and tools/layout (the move scripts, kept as they were). So this changes text only: 131 replacements in 88 files. history/apps/..., @tauri-apps/... and apps/cli are left alone. terminal/strata_control/app_policy.py writes a header line that is also in app/host/server/policy-generated.mjs; both changed together (tests/terminal/test_app_policy.py passes).
Seen in the QA pass: after a chat with a picture, the same host opened in another browser profile (or after the browser data was cleared)
answered every new message of that chat with "red-square.png is no longer in browser storage. Attach it again. Try sending the message again.",
and an earlier message cannot get its picture back, so the chat was stuck.
- lib/history-pictures.ts: readHistoryPictures reads what it can; a picture it cannot read is left out of the history, named to the model
in the earlier message's text, and the page shows a toast (gtui03, gtui04 in 10 languages).
- app.css: at 360 px the Version row and the Computer use switch of the Models page wrap instead of running past the card.
- Tests: guitui-0217-pictures.test.mjs.
`strata launch` serves on 8080 and answers /api/health with 200, like the App Host. The shell's health wait and the Linux session check
(live_session) took any 200 as "Strata is running", so a stale app session (old process id reused) or a port the person had chosen in
Settings (8080) showed the Terminal model server's own web page in the app window, which asks for that server's API key.
- identity.rs: classify_health tells the App Host ("uptimeSec") from a Strata model server ("service": "strata").
- wait_for_health and live_session accept only the App Host.
- When the wanted port is busy and a Terminal model server holds it, the notice is busy:<wanted>:<used>:terminal and the page says so
in plain words (new gtui locale family, 10 languages); the old busy-port text stays for any other holder.
- Tests: identity.rs unit tests, a main.rs test with a stub server on a loopback port, guitui-0217.test.mjs.
Owner decision 2026-11-19: the tail skip ("Skip rarely used parts of the model", STRATA_ROUTE_TAIL_SKIP) is off by default; users reported lower quality.
- strata_control/speed_switches.py: route_tail_skip has default "off"; its entry is STRATA_ROUTE_TAIL_SKIP=7 (On); the choices are 7 (On) and the ranks
1-6, 8, 9; "0" is no longer a choice (a 0 in a config, setup's or the person's, reads as Off). The Terminal's Default cell says "off".
engine_env_defaults() holds the start default (unset -> 0), used by the next commit.
- app: the dropdown's default option is the word of the switch's default state ("Off (default)"; it was "Automatic (recommended)"), On is the choice 7.
policy-generated.mjs is regenerated with python -m strata_control.app_policy; the hint's last sentence is "Off by default." (it was "On by default where it helps.");
the ten languages of both strings are in scripts/make-guic-locales.py (same two entries, same numbering).
- tests: test_tail_skip_choice.py, test_speed_switches.py, tail-skip-choice.test.mjs (default label, 7 writes the entry, Off removes it).
With the host process gone, Retry only asks the same address again, so it does nothing visible; the Windows and macOS app is one process with no host watcher (a 0.2.17 item, as in v0.2.15).
The banner now counts the Retries that finish with the connection still down (lib/connection-retry.ts, cleared when the connection is live) and, from the second one,
shows "Strata's background part has stopped. Close Strata and open it again." on its own row. Ten languages. TEXT-PENDING: the owner is asked about the line.
Test: tests/connection-retry.test.mjs.
With only an API model picked, "Run now" stays disabled on the Tasks list and said nothing. That is right: a task run on the host uses the model loaded on this computer
(server/index.mjs runTurn without a remote model; the agent-task runner takes an API model only from the developer variable STRATA_TASK_REMOTE_MODEL). A plain line now reads
"Tasks run on a model loaded on this computer. Load one in Models." when there are tasks, no model runs here and no editor is open. Ten languages. TEXT-PENDING: the owner
is asked about the line. Running a task on an API model (a model per task, and whether unattended tasks may use an API provider) is a 0.2.17 decision.
Test: tests/tasks-model-note.test.mjs.
Any first-run error that is not "no internet" (an unreadable feed) showed the "can't pick an engine from its update list ... press Update Strata in Settings" card. It now has a card
of its own: "Strata couldn't read its download list, so it can't pick an engine yet. Press Try again, or choose another way below." (raw reason behind Details), with Try again,
Choose a downloaded file and Continue without an engine. The offline card gets Continue without an engine too (until now only the generic card had it, so an offline person
had no way on except connecting to another computer). The card for "the feed was read and nothing fits" keeps its wording. Ten languages through make-guic-locales.py.
TEXT-PENDING: the owner is asked about the one new English line.
Tests: tests/engine-first-run-card.test.mjs; tests/connect-only.test.mjs counts the new branch.
Draft layer (MTP) and MTP per request (label and hint), the groups Recovery and GPU & memory, the drafting hint (its drafter size is a {0} slot, so any size
matches, whether the host or Control writes it) and the Monitor lines "Last: {0} tokens at {1} tok/s" / "Last: {0} tokens" had no catalog entry and showed in
English in every other language. Nine strings, ten languages (make-guic-locales.py); English unchanged, no new English text. Translations are lane drafts for review.
Test: tests/engine-settings-locale.test.mjs (every such text in all nine languages, the size carried through, the Last line with its numbers).
Typed text (or a picture) with no model loaded left Send greyed with no sentence; the placeholder only shows in an empty box. A plain line now reads
"No model is loaded. Load one in Models to send this message." (role status, same place and style as the busy hint). It is not shown while an answer runs,
for the bare slash, or for /time-skip (which works without a model). Ten languages through make-guic-locales.py; the English is the coordinator's draft
(TEXT-PENDING: owner's yes).
Test: tests/composer-no-model-hint.test.mjs.
The chat's Message and the Markdown preview slices are memo() components that change no prop on a language switch, so they kept the words of the
language before until a reload (German with Japanese code labels and "thought for", Hebrew with Korean). They now read the language from the store.
The host writes an activity group's line in English from its counts ("Ran a command, edited a file"), and the saved chat keeps it, so that line and the
"code" label were English in every language. lib/group-line.ts reads the line back into its parts and says each in the person's language (ten languages,
make-guic-locales.py; Spanish, French, Portuguese and Russian join with a small letter after the first part, Japanese and Chinese with their own comma).
An unknown sentence stays as written. English is unchanged. New texts are drafts until the coordinator confirms them.
Test: tests/language-switch-live.test.mjs (memo components read the language; the line in all ten languages; no cache across switches).
Found by the visual walkthrough on 18526b879; the same in 0.2.15.
1) With the model's files already in the folder the Prepare page said "Downloading the model... 111.3 GB to download" and offered "Download model" while the plan
said the files were here (9 GB needed) and the next screen said nothing is downloaded. Control's plan (strata_mcp.install_plan) now also carries files_complete (every file of
the install whole at the size setup pins: no .part, the pinned size, the picture reader included; strata_mcp.files_here) and download_left_gb. The page uses them:
files complete = title "Preparing the model...", the counter says "Already on this computer" with a check mark and no GB, the footer says "Strata checks the files first." and the
button "Continue"; some files there = "Part of the model is already here" with "GB left to download" when Control gives the figure; nothing there = as before. Size alone
is the cheap check: setup still checks the files by their hashes (the "checking files" step), so "Continue" is not a promise that they are good.
2) In the file check the bar's figures ("16% . 8.4 / 49.4 GB . About 5 min left . Stop") sat under the last part row (Engine, Done) and read as that row's. The bar and its figures now
come first and the Model files / Picture reader / Engine rows below them; while the job is checking the files the title says "Checking the model files..." instead of "Downloading".
3) "A little tuning": the grid row under the artwork took the spare height of the taller tour card, leaving a gap: grid-template-rows auto 1fr.
4) "30d" and "7d" of the Usage periods had no catalog entry, so every language but English showed them as they are: translated in all ten (ja 30日 / 7日, he 30 ימים / 7 ימים, ...).
New English (approved by the coordinator): Preparing the model..., Checking the model files..., Already on this computer, Part of the model is already here, Strata checks the files
first. (the other words reuse existing strings); ten languages through make-guic-locales.py.
Tests: tests/first-run-prepare.test.mjs (7) and terminal tests/desktop/test_control_install.py files_here (sizes, .part, missing picture reader, unpinned file, GB left); Linux host suite 1953 passed / 0
failed, py-tests of test_control_install 25 passed on p1004; Windows host files 76 of 76. Live (throw-away host, headless Chrome at 1440 x 900, par/guie1117/live-firstrun3-head) with fake plans:
complete, partly, none, the check running (figures above the rows, title Checking...) and the tuning card (gap 0 px).
Rename detection carried the release-check fixes 1 to 3 (routerace, commitwarn, killtimeout) onto the moved paths: app/host/server/agent/agent-bridge.mjs, gateway-client.mjs, harness-runtime.mjs, control-runtime.mjs, app/host/server/index.mjs and terminal/serve/server.py merged by content; the six files those fixes ADDED (app/host/src/lib/commit-warning.ts, app/host/tests/agent-route-race.test.mjs, commit-warning.test.mjs, control-call-log.test.mjs, terminal/serve/commit_limit.py and test_commit_limit.py) were the six "file location" conflicts and are kept at the new paths. Path fix-ups of the added files follow in the next commit.
Made by tools/layout/move_0216.py (the commit before this one) on db8e0be9c, the final code head of 0.2.16:
- 75 git mv (renames, so `git log --follow` and blame keep working; packaging/acceptance_matrix.md shows as delete + add because its links
changed too) and 3 removals: SETUP.bat, UPDATE.bat and update.sh (setup.py --update pulls the code now);
- 1,425 path edits in 307 files: root-relative paths in CI, Docker, .gitignore and the release scripts; Markdown links; Python and
Node joins from a root that moved with its folder; explicit edits for code that computes a root or names a moved path; tables of
repository paths inside tests.
engine/ holds what CMake builds (src, include, cmake, metal, sycl, spark, third_party, the C++ tests and benches). app/ is the desktop
app and its host (was apps/). terminal/ is the Terminal in the layout of the installed one (strata.py, setup.py, strata_cli,
strata_control, serve, bin, data, ref, crates, the Python tools and tests). docs/ has the documentation, docs/lang/ the translated
READMEs, docs/history and docs/bench-results. tools/ has the repository's own checks, packaging, docker, research and nix.
tests/core/test_tqp_ref.py is a pytest file and stays with the Python tests (terminal/tests/core/).
AGENTS.md, README.md, LICENSE, setup.sh and START-HERE.bat stay at the root.
No behaviour change: the same command lines, the same sources. For this head a replay of the script gave the same numbers and the path
scan (tools/layout/checks/path_scan.py) reports no hit; the suites and the builds run on this commit next.