Nine conflicts, one hunk each, all of the kind "ds-out removes DeepSeek next to a line that
main's fixes bundle (c1ff07f1a) or f-agent-turn changed". Resolved by keeping the other side's
addition and ds-out's removal (resolutions a-i accepted by the coordinator):
- apps/host/src/lib/native-fit.ts FitInput, apps/host/src/lib/native.ts NativeSize: ds-out's line
(no DeepSeek fields or note) plus main's context_fit field.
- apps/host/src/components/GuidedSetup.tsx, NativeModels.tsx imports: contextCacheGb kept,
deepseekContexts / OLD_DEEPSEEK_CONTEXT out.
- apps/host/tests/ui-r3.test.mjs: ds-out's first assert, main's second (context_fit).
- serve/server.py READY line: f-agent-turn's can_hold kept, the DeepSeek self.multi read out.
- strata_cli/launch/cmd.py: ds-out's suppressed --speed / --full-quality, main's new --gpu help.
- strata_cli/launch/screens.py: ds-out's STEP_LABELS, main's middle_shorten kept,
speed_choice_available out.
- data/settings-register.json: the 39 STRATA_DS4_* entries out.
The register's stale "line" values are not regenerated here.
Commit 5 cleared the remembered model with store.update(), which writes data/state.json. The product changes
nothing of the person's, so the rule moves into server/autostart.mjs: it reads the remembered model, and for a
DeepSeek one logs the approved refusal and returns nothing to start; the value stays in state.json as it was.
Test: tests/autostart-deepseek.test.mjs (the real store on a temporary STRATA_HOME: not started, the line logged,
state.json byte-identical; a Qwen model still starts).
plain-errors.ts: the DeepSeek refusal's sentences are marked [DRAFT] for translation (English in every language
until the owner has the wording list).
- apps/host: the DeepSeek card, note, Speed (DeepSeek) setting, context list, picture tower, engine options, the
"DeepSeek" engine family and its update line go (server/dsv41-context.mjs, server/native-ds-args.mjs,
src/lib/deepseek-context.ts, src/lib/deepseek-speed.ts deleted; native-control, native-settings, engine-library,
native-vision, GuidedSetup, NativeModels, NativeSettings, VersionPicker, EngineUpdateCard, PcFitCard, engine-list,
native-catalog, default-context, native.ts edited). withoutVisionFlag, used by the Qwen path, moves into
native-control.mjs unchanged.
- A model Control lists as retired (strata_control/models.py, commit 2) shows on the Models screen with its line
(the owner's D2) and cannot be loaded: loadEngine stops with Control's refusal (D1) before any fetch, file write or
start; the Manage list and Settings > Storage leave it out (their delete removes files). plain-errors.ts shows the
refusal as Control wrote it, with the approved next step (English; translations come with the owner's word).
The host's autostart clears a remembered DeepSeek model and logs the refusal instead of trying to load it.
- The "DeepSeek speed-ups" switch leaves strata_control/speed_switches.py (a DeepSeek config gets no switch);
app_policy.py loses the DeepSeek rows; policy-generated.mjs and tests/data/policy-vectors.json regenerated with
`python -m strata_control.app_policy`.
- Locales: the 16 DeepSeek-only keys leave all nine languages (fx62-fx69, fx72, fx75, fx77, fx78, fx80, fx81,
vp03). DeepSeek as a cloud provider / search key and the DeepSeek Harness are untouched (owner).
- Tests: the six DeepSeek-only app test files go; the DeepSeek cases of the shared ones become "listed as retired,
refused, nothing saved or started"; test_speed_switches.py loses the DeepSeek switch rows.
p1006 job p1006-20261111-0822-fc74: speed-switches.test.mjs + policy-generated.test.mjs 24 / 24 pass (the run before this fix, -0758-e745, failed the host-level lists; python 55 passed, tsc 0).
- one more switch in strata_control/speed_switches.py (picture_reader): llama.cpp's writes STRATA_VISION_TOWER=mtmd into the model's run config "env", the default writes nothing; the server hands that env to strata-vision, and an older reader ignores it
- shown for a Qwen run config that reads pictures (a "vision" section), never for DeepSeek (its pictures are read inside its own engine)
- a switch can name its group and its two options: the app shows this one inside the existing Image reading group with the two option names; the other switches stay in Speed with On / Off, unchanged
- label, options and help line approved by the owner 11-11 morning (par/OWNER-WORDING-1111.md); the help line is 275 characters, so the 260 limit of the switch texts is 300 for this one row
- [DRAFT] the Terminal row's frame "Picture reader (Strata's own by default; set mtmd to use llama.cpp's). <help line>" (not yet seen by the owner); its Default cell says auto
- policy-generated.mjs and policy-vectors.json regenerated (python -m strata_control.app_policy; vectors gain Qwen, Qwen3.6 and DeepSeek configs with pictures); English strings in fix-en.json; the other eight languages in the next commit
- tests: tests/terminal/test_speed_switches.py (PictureReader: where it shows, the group and words, one entry written and none by default, --set and off, the Terminal row), apps/host/tests/speed-switches.test.mjs and policy-generated.test.mjs
The Models page and the first-run page priced Qwen3.6's conversation
memory with the Flash-Next int8 formula: 1.9 GB at 128K where the engine
allocates 5.8 GB. On a 12 GB card the warning under the context chooser
never showed, and the This computer card counted too little.
- The catalog row of each Qwen3.6 size (tools/strata_mcp.py model_table)
carries `context_fit`: bytes per token and the card's fixed share, from
strata_control/own_path_fit.py, the rule setup's menu uses. Other models
have no such field and keep the Flash-Next figures.
- native-fit.ts: ContextFit, ownPathCacheGb, ownPathFits, contextCacheGb;
fitOn counts the real cache for such a row.
- default-context.ts contextIsTight: for such a row, "does not fit the card
by that rule"; otherwise unchanged.
- NativeModels.tsx / GuidedSetup.tsx pass the row's figures; the warning is
the existing translated sentence ("This much context takes about {0} GB
..."), now with the right number. No new text.
apps/host/tests/own-path-fit.test.mjs runs the Python rule and the app's on
8 to 32 GB cards and contexts from 8K to 256K and needs them to agree.
strata_control/own_path_fit.py holds the inputs of the context-fit rule for
Qwen3.6-35B-A3B, in one place:
- 47,104 bytes per token, derived from the engine's allocations (not
measured): each session's fp32 K and V of the 10 attention layers and the
MTP block (45,056 B, alloc_session; setup.py's kv_bytes_per_token) plus
the fp16 copy of K and V the engine keeps at the full context (2,048 B,
Engine::init k16 / v16), which setup's figure left out.
- base 8.55 GiB before the context: derived from the #5715 log (RTX 5070
12 GB, Windows, engine 0.1.59, UD-Q4_K_XL at 64K: 0.45 GiB free after the
session). One field log, the strict end against 7.2-7.65 GiB in the other
logs. A measured start replaces this one number.
- the hybrid mode's minimum after the session: UD-Q4_K_XL 1256 MiB (#5715
log), UD-Q6_K_XL 1760 MiB (#3687 log), Q8_0 taken as UD-Q6_K_XL.
The app's design catalog said 20 KB per token for Qwen3.6; it is 46.
Tests: tests/terminal/test_own_path_fit.py (the figure against the engine
source, the field logs) and apps/host/tests/own-path-fit.test.mjs.
While setup waits for a server (phase "waiting"), GuidedSetup shows the line "Waiting for <host> to answer (<n> s so far)" in place of the stage
text, in the same element and with no style change (download-eta.ts waitingText); the app translates it with the net01 string. A longer
language may wrap to a second line while it waits. Approved by the owner as option (a).
Tests: apps/host/tests/net-waiting.test.mjs (the screen takes the line only while setup waits).
setup.py's size request (HEAD) for a download used to run 5 times with a 60 s limit and a 5 s sleep, silently: about 320 s per file, and
launch printed nothing meanwhile. Now every setup request on the download path goes through strata_control/netpolicy.py:
- the connection phase (lookup, connect, TLS, proxy CONNECT, the server's headers) gets 12 s, then one retry with 30 s, 2 s apart;
no lookup answer, a refused port, an unreachable network, a refused certificate and HTTP 4xx fail at once;
- after 5 s a line " Waiting for <host> to answer (<n> s so far) ..." is printed, then every 10 s;
- a host that failed after the whole window is not asked again for 10 minutes in the same process (memory only, never on disk);
- the failure names the host and says what to check and what still works offline (W3/W4/W5); the proxy and ModelScope hints follow.
Launch: the heartbeat also runs in the download phase, the waiting line becomes the status sentence (phase "waiting", W2), a new sentence is
always printed by the non-terminal printer (a second download's first figure was hidden), and a cancelled or stopped launch writes
"(you stopped it: <status>)" to the setup log. The app string "Waiting for {0} to answer ({1} s so far)" is added in nine languages
(translations are first drafts). conftest.py: every test starts with an empty host memory.
Tests: tests/terminal/test_netpolicy.py, test_net_launch_waits.py (local black hole, refusing port, a normal server), test_tls_trust.py,
test_no_acquisition.py, tools/test_setup_*.py (the fakes now patch the netpolicy.urlopen seam), apps/host/tests/net-waiting.test.mjs.
af9b832fd made the load's MTP condition `(drafts.split===true||args.firstLoad===true)&&(config.drafting...)`; e481f3b6b updated the
first regex in drafting.test.mjs but not the one at line 252, which the full check on f-0214-app found. Test only.
Follow-up to 519c7e8c0 and af9b832fd, found by tools/check on Boston (compared with main there):
- drafting.apply took --mtp out itself for a model DFlash2 is not for when "mtp" is false, so serve/server.py's draft-layer step had
nothing left to remove and its line ("mtp": false - starting without the draft layer) was gone (serve/test_draft_layer). With
"mtp": false the server's step takes the layer out again; "drafting": "off" alone is still taken out in apply.
- apps/host/tests/drafting.test.mjs reads the load's MTP condition from the source; it now includes the first load after a setup.
- tools/conftest.py: on macOS only, setup.py sees platform 'linux' in its tests (they describe Linux and Windows PCs; setup.main() on
a Mac goes to the Metal installer). The rest of the process still sees darwin; test_setup_mac sets darwin itself as before.
- test_docker_entrypoint runs on Linux only: the container entry point needs GNU tools.
- model-directory and request-flow start their host with ROOMY_HOST (STRATA_TEST_HARDWARE): on a 7 GB runner the demo model did not load.
- test_setup_download Resume keeps the runner's stderr and exit state and names them when the piece list is missing (failed once on
Linux and macOS in CI run 42699343686).
Found by the item 1 gate on l620 (0.2.13 TEST app -> 0.2.14 TEST app): the app came back by itself in 9 s, but
- the update job read "cancelled": the old host's close() marks running jobs cancelled when its shell stops it, and the new host
settled only "running" records. A job with appUpdateFrom saved as cancelled is now settled the same way ("Strata is updated to
<v>", or the "did not finish" error when the same version came back), and this host's close() leaves such a job running.
- each restarted AppImage runtime inherited an fd (1023) into the previous /tmp/.mount_*, so the old runtime and mount stayed until
the app quit. The restarter now closes inherited fds before it starts Strata again.
Owner 11-09: only the first sentence is replaced; the dialog reads "{0} runs on engine {1} from its next start. Your models and settings
stay as they are. You can switch back at any time." The two sentences are the existing translations, taken word for word from the Strata
engine's Use sentence by the generator, so only the first sentence is new text in every language.
Owner decision 11-09: {model} is the group's title (the model's own catalog name, the shape's name without one), e.g. "Qwen4 runs on
engine 0.1.60 from its next start." The Strata and DeepSeek groups keep "Models you start from now on run on engine {0}. ...".
One new string (engine catalog et44, nine languages).
An Arc user who had just installed the AppImage needed Control 0.1.59.1 and had to find Settings > Updates (ARCFIX 0213). The card's
size line says " (with the Strata setup update)" when the download includes the Control; the job updates the engine, then the
Control, then switches the host to it at once while nothing else runs (no model, job or Control call). Any failure keeps today's
behaviour (it takes effect at the next start). Wording owner-approved 11-09.
The install used the host's own rule (DFlash2 wherever it is served), so on a card where Auto means the MTP (a 12 GB CUDA card
streaming IQ3_S, gfx1201) setup skipped the MTP layer and the first load ran undrafted (QAGUI 0213). One decider now: Control's
drafting plan, at the install and the load; the load right after a setup fetches a still-missing layer. Tests pin that the setup,
the first load and the start agree on 12 GB (MTP) and 24 GB (DFlash2).
Control reports failed-before for a version that failed its test start here (held back a day); the app showed "The engine is up to
date." Now: "Engine <v> didn't start correctly on this computer, so Strata kept engine <old>. Press Update engine to try again."
(the reason behind Details), and the app's Update engine passes --force. Wording owner-approved 11-09.
Setup writes the bundled Control's absolute paths (cwd, --expert-profile) into the run config; the AppImage mounts its Control at a new
/tmp/.mount_<random> at every start. The host repaired them only at a status read, so the engine update's test start ran first with a
dead path, failed, and marked the new engine failed (QAGUI-LIN 0213). The host now repairs before every component job and every load,
and Control's update test start repoints such paths to its own folder (strata_control/control_paths.py).
Control exits 7 both when an engine serves and when another update or check holds the update lock; the app read every exit 7 as
"A model is running" (QAGUI 0213 finding 3: the first-run Download met the app's own start-up check). The lock is now told by its text
(code update_busy), and a component job waits up to 60 s for the lock ("Waiting for the update check to finish…") before it says so.
Control's consent refusal says "the update needs it stopped" instead of "an engine update" (only Control may be pending, ARCFIX E5).
Wording owner-approved 11-09.
Item 6 (owner 11-08, after 0.2.13). engine_library.list_engines adds one family per installed shape engine (shape:<shape>, an id never
shown; title None), after the Qwen and DeepSeek families; a PC without one lists what it did before. use_engine pins within the shape's
own folder (engine.pinned in its .updates/state.json, which every start of that shape's model reads), the newest unpinned;
delete_engine refuses the one in use and one a running program uses with the existing lines and drops a stale pin. The Strata engine's
files and state are untouched. The app titles the group with the model's catalog title (qwen4exp_<shape>), the shape's name without
one; the Terminal prints the shape's name. --family takes shape:<shape> (help and errors unchanged). No new words.
ecccc359d left no reserve on a uma card whose config had none of setup's. On Windows the engine then applies its own 2560 MiB floor,
which hung UD-Q4_K_XL on Strix Halo (G16). The hardware report (tools/strata_mcp.py) now carries setup_reserve_mib on a Windows gfx1151
unified-memory chip, from strata_control/setup_config.UMA_WIN_RESERVE_MIB under setup's own condition; the app uses it on a one-card
run, and without it (Linux, an older Control) keeps 1024 / 2048 with pictures as before (#3510 host test back to 2048).
QAGUI-STRIX 11-09: the app's resource profiles rewrote setup's --vram-reserve-mib 700 to 1024 (2048 with pictures): the display-card
floor (#2065, a card whose driver pages its memory to RAM) was applied to a chip whose memory is the RAM. On a uma card the reserve
is now the one setup wrote (the profile baseline), on both profiles and with pictures on or off; none when setup wrote none (the
engine's default). --pool-workers stays with "Leave room for my work".
tests/snapshot/test_strix_app_reserve.py: the Models-screen Load (work and performance) and strata launch start the same engine line
on Windows Strix Halo from setup's config, apart from --pool-workers. app_driver.mjs takes STRATA_SNAPSHOT_APP_ARGS for it (goldens unchanged).
Display only (the PcFitCard numbers and the loaded models' rows): on Strix Halo it counted carve-out + shared (95.8 GB) beside the
63.6 GB RAM and said Q8_0 all fits while the label says it may run slower. The context warning (contextIsTight) keeps the GPU's
whole pool: the cache does live there.
QAGUI-STRIX 11-09 finding 4: the off was saved (ui_vision_enabled false), but the page honoured a saved off only when the picture
files were prepared (the guard for the off 0.2.9 saved while the engine had no reader), so the box came back ticked and Load
fetched the 866 MB picture reader. A load with a picture choice now also writes ui_vision_chosen (not when the engine has no
reader); the host reports it as visionChosen; openingVision() honours an off when the files are prepared or the marker is there.
A file without the marker behaves exactly as before. server/native-control.mjs: two short edits (visionPreferences, installedInfo),
run-config-check.mjs: the key.
QAGUI-STRIX 11-09: Q8_0 (133.8 GB without the table) said nothing on Strix Halo: the app added the chip's carve-out + shared pool
(64 + 31.8 = 95.8 GB) to the 63.6 GB RAM, while the catalog and the Terminal (fit_label.card_room_gb) count the carve-out only
(127.6 GB): "may run slower". cardRoomGb() is that rule; the Models page and the first-run page give it to the label.
tests/fit-label-rule.test.mjs runs the Python rule and the app's on Strix, an APU, a 12 GB card, two cards and no card.
Lane 3 finding 6 (11-09): the shown check was the one from before the update, and its cache is keyed to the Control version that runs
until a restart. updateFinishedAfter(): a done update-strata/update-engine job that ended after the shown check's checkedAt; About
runs the check once per such job. No check without a shown one, so opening Settings still touches no network.
QAGUI-STRIX 11-09 finding 2: the first-run card's "A model is running, so nothing was changed. Unload the model in Models, then press
Continue." stayed under About after Continue installed the engine and after restarts (jobs persist in native-jobs.json).
currentUpdateFailure(): per component, the last failed update with no later finished one; the record stays in Diagnostics.
QAGUI-STRIX 11-09: on WebView2 122 the sidebar More menu opened off the window (y 915-1022 in a 920 px window) at 125/150/175%.
Chromium before 128 reports rectangles in the page's own pixels under a zoomed root while innerWidth/innerHeight stay screen pixels,
so the room below an anchor looked a zoom too large. measureFrame() returns the scale and the window in the rectangles' units;
FloatingMenu, Select, Popover, the sidebar tooltip, the version tooltip and the quote button use it.
Real engine check (Edge with --disable-blink-features=StandardizedBrowserZoom = the old model): base 14/20, fix 20/20
(phaseA-tests/par/appwin/menus.mjs).
- ui-do.test.mjs reads the sources with CRLF turned into LF (an autocrlf checkout)
- conftest.py and the host test runner drop PowerShell 7's folders from PSModulePath, so the Windows PowerShell 5.1 children
that tests start (fetch-node.ps1, install.ps1, Get-Acl) can load their own modules
- tests/terminal draws the full look by default on Windows when no modern-terminal marker is set (STRATA_GLYPHS=unicode)
- PresetStore, bench_standard and the image-model rescan no longer depend on two events landing on different ~15.6 ms ticks
- test_runtime retries removing its temp folder while the stopped host lets go of its log
The app's install job ran setup.py with no --backend, so on an Arc PC it
stopped with "no NVIDIA GPU found (nvidia-smi did not answer)" while the
Terminal worked. tools/strata_mcp.py knew only cuda and hip.
- strata_mcp: the hardware report lists an Intel Arc when the PC has no
usable NVIDIA or AMD card and Control's own engine choice is SYCL;
recommend() and install_plan() pick sycl, pass --backend sycl, force
pictures off, send no --drafter, and refuse (plain words) when the model's
files are not on the computer, as Intel cards do not download models;
the tool schema enum gains sycl.
- setup.py: --backend sycl in CONTROL mode (the app and the Terminal's
installer mode) prepares the pack and writes the run config the way
strata launch does (strata_cli/launch/adopt.py). A checkout keeps the
from-source sycl_setup.
- strata_control/intel_app.py: the shared card rule and the wording.
- Tests: tests/terminal/test_intel_app_install.py (vendor choice, args,
NVIDIA/AMD requests unchanged, the setup path, the dispatch) and
apps/host/tests/arcfix-updated-control.test.mjs (the app runs a
feed-updated Control for model setup).
Owner's answers of 11-08 evening:
- size = the model's download minus the n-gram / PLE / Engram table's file (28.8 GB for most sets, 54.4 GB for UD-Q5_K_XL / UD-Q6_K_XL / Q8_0, 51.2 GB for NVFP4, the stated
memory figure for Gyro, the plan's Engram file for DeepSeek), against VRAM + RAM. UD-IQ4_XS and UD-IQ4_XS-v31 are 64.9 GB.
- the Terminal's "Needs" column and the app's version line show that same figure (DeepSeek: the whole size, not the CPU's share).
- no graphics card, or a Mac with too little memory: "may run slower" instead of "too big" / "Doesn't fit"; the app's "Doesn't fit" state and its "Uses SSD N GB" figure are gone.
DeepSeek's "tight: needs more disk space" and the feed's "not available on this engine" rows are unchanged.
- docs/UNSLOTH_Q4.md names the rule instead of a 48 GB minimum.
On a Tesla V100-PCIE-32GB with 31 GB of RAM every Unsloth set said "too big (can still try)" while IQ3_S, with the same 50 GB of experts, said "fits, a bit slower". The
catalog compared an Unsloth set's 48 GB RAM floor with the RAM alone and never counted the card. Not a hardware limit: UD-IQ4_XS is measured on that card.
Owner's rule (11-08): the model's weight files WITHOUT the n-gram / PLE lookup table (the "Needs (RAM + VRAM)" figure) against the graphics memory plus the RAM, nothing
taken off either side: "fits", else "may run slower". strata_control/fit_label.py holds it; the Terminal model menu, `setup.py --check`, the catalog's `on_this_pc` (tools/strata_mcp.py),
the install plan's RAM line, setup's size menus and the app's version list use it. Replaced: "fits, a bit slower", "too big (can still try)", "does not fit", the SSD-GB suffix,
the RAM-floor menu line ("<- needs 48 GB RAM, you have 31") and the install's RAM-floor warning where the set fits. Kept: "(recommended)" / "(installed)", DeepSeek's
"tight: needs more disk space" and "needs one or more graphics cards", a Mac's "too little memory", the feed's "not available on this engine", NVFP4's AMD notes in --check.
/run/media/<user>/<drive> (udisks) sat inside /run, which was refused whole, so the AppImage, the Terminal and the AI-tool installer all said "is a system folder" for a
drive the person plugged in. A path strictly inside /run/media is not a system folder now (strata_control/folders.py, tools/strata_mcp.py, the chat project folder in
apps/host/server/chat-files.mjs); whether the drive is theirs is the existing write test. /run, /run/media itself, /run/user, /run/systemd, /usr, /etc, /var/lib and the
rest are still refused, /media/<user> and /mnt stay allowed when writable.
The refusal from setup's data folder said "Nothing was downloaded or changed." twice (the folder words end with it and setup added its own sentence); the first is dropped
for that caller only.
On macOS (Node 24.12) child.kill() on a child whose spawn failed (no pid, the 'error' event not yet delivered) sends the signal to pid 0, which is the
caller's whole process group. folder-dialog.test.mjs's Linux case let the real portalFolder spawn a missing gdbus and end it, so on a Mac the SIGTERM
reached the test runner and every file after it was cancelled ('Promise resolution is still pending'). Linux and Windows do nothing for such a child.
- process-tree.endTree only calls child.kill() when the child has a pid; a new test runs a never-started child through endTree/endTreeThenKill in a
group of its own and checks the caller survives (fails on the Mac without the fix, passes with it).
- folder-dialog.test.mjs: the Linux cases pass portal: async () => null like external-env.test.mjs does, so no real gdbus is started.
- load-pictures, packaged-control and the native fixture build their temp folders under the resolved temp path (/private/var on a Mac), as chat-files
already does; the host reports resolved paths.
m1001 (M4 Mini, macOS 27.2, Node 24.12.0): npm test went from killed after 2 s (722 of 1632 run, 172 cancelled) to 1632 tests, 1522 pass, 0 fail, 110 skipped.
The time-skip tests (timeskip-real, time-skip, timeskip-fork, timeskip-compare-server, tune-and-timeskip-routes, process-tree) passed 20 of 20 runs
before the change and 20 of 20 after.
English stays in the main file (the English text is the key of every string). Each of the other eight languages is its own file (src/lib/catalog-<lang>.ts: the same 14 locale files merged in the same order as before).
The saved language is fetched while the rest of the code loads and the first screen is drawn once it is in; picking another language in Settings or on the first screen switches everything together once its file is here.
The 17 tests that read translations right after setTranslationLanguage now load the catalogs first (loadCatalog); no test expectation changed.
Main JS file 2,736,232 -> 844,062 bytes (gzip 875 -> 278 kB). Screens are pixel-identical in all nine languages apart from the preview's live telemetry.