[GH-ISSUE #4022] [Docs] SAFETY.md says starting never downloads, but strata launch now updates the DeepSeek engine itself #1732

Closed
opened 2026-11-04 01:53:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @pschaub on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4022

Area

[Docs] (documentation)

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

I went through docs/SAFETY.md and compared it with the code on main. The page says starting a model never downloads anything and nothing checks for updates in the background:

github.com/Niko1221/Strata@7dd5cf18e6/docs/SAFETY.md (L13-L17)

github.com/Niko1221/Strata@7dd5cf18e6/docs/SAFETY.md (L61-L64)

Since 0.2.4.2, though, strata launch with a DeepSeek model updates an installed DeepSeek engine package by itself, as the release notes say. It first checks whether the feed can be reached, for at most 10 s (strata_control/dsv41_engine.py), then reads the signed feed, and when there is a newer package for the PC, it fetches and checks it, test-starts it and switches to it. --dsv41-package and STRATA_DSV41_EXE skip it:

github.com/Niko1221/Strata@7dd5cf18e6/strata_cli/launch/runner.py (L1896-L1915)

I'm not asking to remove the check, only for the page to say so. A suggested wording for docs/SAFETY.md, +10/-4:

diff --git a/docs/SAFETY.md b/docs/SAFETY.md
index 6145c448..c55a0096 100644
--- a/docs/SAFETY.md
+++ b/docs/SAFETY.md
@@ -10,11 +10,13 @@ you trust can check it. Where Strata does less than you might hope, the page say
   outside model service, you open the server to other devices or to the internet, or the agent searches the web or opens a page
   (see [What the agent can do](#what-the-coding-agent-can-do-on-your-pc)).
 - **There is no telemetry.** Strata sends no usage data, no crash reports and no analytics, and has no account to sign in to.
-- **Starting and running a model never downloads anything.** Downloads and updates are separate steps that you start.
+- **Starting and running a model never downloads anything**, except that `strata launch` updates an installed DeepSeek
+  engine package by itself when the signed feed has a newer one (below). Other downloads and updates are steps that you start.
 - **The server listens on your PC only.** Reaching it from another device needs an API key.
 - **Once a model is downloaded, Strata runs without internet.** Starting, loading, serving and chatting need no
   connection. Only things you ask for use it: the agent's web search and web pages, an outside model service, the tunnel,
-  and installs and updates (a first model install also fetches llama.cpp's preparation scripts).
+  and installs and updates (a first model install also fetches llama.cpp's preparation scripts), plus the DeepSeek engine
+  check of `strata launch` (without a connection it gives up after at most 10 s and the launch goes on).
 - **Downloads are checked.** Updates come from a signed feed. Every model file has a fixed SHA-256 and size, and an install
   stops if the pinned version of a file is gone (the details are [below](#how-downloads-are-checked)).
 - **In its default mode the coding agent asks before it changes anything**, and once per chat before its first web search or web page.
@@ -44,7 +46,7 @@ Like any download, each connection below shows the other side your IP address an
 | --- | --- | --- |
 | Model files, the picture reader, the speed-up layer (MTP) | huggingface.co, or the mirror in `HF_ENDPOINT` if you set one | When you install a model |
 | The same files from ModelScope, for PCs that cannot reach Hugging Face | modelscope.cn | Only if you ask for it (`--source modelscope`). Strata never switches to it by itself |
-| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine** or **Check for updates**, or run `strata update`. Opening **Settings, Engine** does not connect: it shows the result of your last check |
+| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine** or **Check for updates**, or run `strata update`; the DeepSeek engine also on `strata launch` (below). Opening **Settings, Engine** does not connect: it shows the result of your last check |
 | App updates | `latest.json` on the same GitHub Releases, through Tauri's updater | When you press **Check for updates** or **Update Strata** |
 | llama.cpp source code (a fixed commit) | github.com/ggml-org/llama.cpp | During a model install, if it is not on your PC yet. Strata uses only its model-preparation scripts |
 | Web search and web pages | DuckDuckGo, with Bing as the second source; or Exa, Perplexity or DeepSeek if you save a key for them. Any page the agent is asked to open goes to that page's site | When the agent uses its search or "open web pages" tool. In Manual mode it asks you first, once per chat |
@@ -61,7 +63,11 @@ That is the full list found in the code. Some details:
 - **Nothing checks for updates in the background.** The app does not check when it starts, and not when you open Settings,
   Engine either: that screen shows the result of your last check, or nothing if you have not checked. The checks in the table
   run when you press a button or run a command. With no connection, the check says so and nothing else happens. The Terminal fetches an engine by itself only when none is
-  installed, and `strata launch` asks first.
+  installed, and `strata launch` asks first. One exception: `strata launch` with a DeepSeek model first checks whether the
+  signed feed can be reached (at most 10 s; without a connection it says nothing and goes on), then reads it, and when it has
+  a newer DeepSeek engine package for this PC, fetches and checks it, starts it once (`--version`), switches to it and removes
+  the older one. On a failure the installed one keeps running. Not when the launch is given `--dsv41-package` or
+  `STRATA_DSV41_EXE` is set (`strata_cli/launch/runner.py`, `upgrade_dsv41_engine`).
 - **Starting and serving never download.** `strata serve` and the app's load button fetch nothing. The app sets
   `STRATA_PACKAGED=1` and `STRATA_NO_ACQUIRE=1` for its parts (`apps/desktop/src-tauri/src/main.rs`), and the downloaders
   refuse to run under them (`strata_control/acquisition.py`, `apps/host/server/acquisition.mjs`). That is why the app

I can open it as a PR if you prefer.

Smallest steps or command that reproduce it

Not a runtime failure: compare docs/SAFETY.md with docs/release-notes-0.2.4.2.md and strata_cli/launch/runner.py on main.

Reproduction status

Unconfirmed static analysis (I read code or ran a scanner; I did not see it fail)

Strata version

main 7dd5cf18 (0.2.4.2)

Graphics card, memory and system

Not hardware specific, this is about the documentation.

Model, size and settings

No response

Logs

No response

Originally created by @pschaub on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4022 ### Area [Docs] (documentation) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened I went through docs/SAFETY.md and compared it with the code on main. The page says starting a model never downloads anything and nothing checks for updates in the background: https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/docs/SAFETY.md?plain=1#L13-L17 https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/docs/SAFETY.md?plain=1#L61-L64 Since 0.2.4.2, though, `strata launch` with a DeepSeek model updates an installed DeepSeek engine package by itself, as the [release notes](https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/docs/release-notes-0.2.4.2.md) say. It first checks whether the feed can be reached, for at most 10 s ([strata_control/dsv41_engine.py](https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/strata_control/dsv41_engine.py#L164-L185)), then reads the signed feed, and when there is a newer package for the PC, it fetches and checks it, test-starts it and switches to it. `--dsv41-package` and `STRATA_DSV41_EXE` skip it: https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/strata_cli/launch/runner.py#L1896-L1915 I'm not asking to remove the check, only for the page to say so. A suggested wording for docs/SAFETY.md, +10/-4: ```diff diff --git a/docs/SAFETY.md b/docs/SAFETY.md index 6145c448..c55a0096 100644 --- a/docs/SAFETY.md +++ b/docs/SAFETY.md @@ -10,11 +10,13 @@ you trust can check it. Where Strata does less than you might hope, the page say outside model service, you open the server to other devices or to the internet, or the agent searches the web or opens a page (see [What the agent can do](#what-the-coding-agent-can-do-on-your-pc)). - **There is no telemetry.** Strata sends no usage data, no crash reports and no analytics, and has no account to sign in to. -- **Starting and running a model never downloads anything.** Downloads and updates are separate steps that you start. +- **Starting and running a model never downloads anything**, except that `strata launch` updates an installed DeepSeek + engine package by itself when the signed feed has a newer one (below). Other downloads and updates are steps that you start. - **The server listens on your PC only.** Reaching it from another device needs an API key. - **Once a model is downloaded, Strata runs without internet.** Starting, loading, serving and chatting need no connection. Only things you ask for use it: the agent's web search and web pages, an outside model service, the tunnel, - and installs and updates (a first model install also fetches llama.cpp's preparation scripts). + and installs and updates (a first model install also fetches llama.cpp's preparation scripts), plus the DeepSeek engine + check of `strata launch` (without a connection it gives up after at most 10 s and the launch goes on). - **Downloads are checked.** Updates come from a signed feed. Every model file has a fixed SHA-256 and size, and an install stops if the pinned version of a file is gone (the details are [below](#how-downloads-are-checked)). - **In its default mode the coding agent asks before it changes anything**, and once per chat before its first web search or web page. @@ -44,7 +46,7 @@ Like any download, each connection below shows the other side your IP address an | --- | --- | --- | | Model files, the picture reader, the speed-up layer (MTP) | huggingface.co, or the mirror in `HF_ENDPOINT` if you set one | When you install a model | | The same files from ModelScope, for PCs that cannot reach Hugging Face | modelscope.cn | Only if you ask for it (`--source modelscope`). Strata never switches to it by itself | -| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine** or **Check for updates**, or run `strata update`. Opening **Settings, Engine** does not connect: it shows the result of your last check | +| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine** or **Check for updates**, or run `strata update`; the DeepSeek engine also on `strata launch` (below). Opening **Settings, Engine** does not connect: it shows the result of your last check | | App updates | `latest.json` on the same GitHub Releases, through Tauri's updater | When you press **Check for updates** or **Update Strata** | | llama.cpp source code (a fixed commit) | github.com/ggml-org/llama.cpp | During a model install, if it is not on your PC yet. Strata uses only its model-preparation scripts | | Web search and web pages | DuckDuckGo, with Bing as the second source; or Exa, Perplexity or DeepSeek if you save a key for them. Any page the agent is asked to open goes to that page's site | When the agent uses its search or "open web pages" tool. In Manual mode it asks you first, once per chat | @@ -61,7 +63,11 @@ That is the full list found in the code. Some details: - **Nothing checks for updates in the background.** The app does not check when it starts, and not when you open Settings, Engine either: that screen shows the result of your last check, or nothing if you have not checked. The checks in the table run when you press a button or run a command. With no connection, the check says so and nothing else happens. The Terminal fetches an engine by itself only when none is - installed, and `strata launch` asks first. + installed, and `strata launch` asks first. One exception: `strata launch` with a DeepSeek model first checks whether the + signed feed can be reached (at most 10 s; without a connection it says nothing and goes on), then reads it, and when it has + a newer DeepSeek engine package for this PC, fetches and checks it, starts it once (`--version`), switches to it and removes + the older one. On a failure the installed one keeps running. Not when the launch is given `--dsv41-package` or + `STRATA_DSV41_EXE` is set (`strata_cli/launch/runner.py`, `upgrade_dsv41_engine`). - **Starting and serving never download.** `strata serve` and the app's load button fetch nothing. The app sets `STRATA_PACKAGED=1` and `STRATA_NO_ACQUIRE=1` for its parts (`apps/desktop/src-tauri/src/main.rs`), and the downloaders refuse to run under them (`strata_control/acquisition.py`, `apps/host/server/acquisition.mjs`). That is why the app ``` I can open it as a PR if you prefer. ### Smallest steps or command that reproduce it Not a runtime failure: compare docs/SAFETY.md with docs/release-notes-0.2.4.2.md and strata_cli/launch/runner.py on main. ### Reproduction status Unconfirmed static analysis (I read code or ran a scanner; I did not see it fail) ### Strata version main 7dd5cf18 (0.2.4.2) ### Graphics card, memory and system Not hardware specific, this is about the documentation. ### Model, size and settings _No response_ ### Logs _No response_
Author
Owner

@Niko1221 commented on GitHub (Oct 26, 2026):

Thanks, you are right: strata launch updates an installed DeepSeek engine package by itself (3157c38c6). The wording from your PR #4028 is ported to the 0.2.7 branch; this issue closes with it.

<!-- gh-comment-id:6423202066 --> @Niko1221 commented on GitHub (Oct 26, 2026): Thanks, you are right: strata launch updates an installed DeepSeek engine package by itself (3157c38c6). The wording from your PR #4028 is ported to the 0.2.7 branch; this issue closes with it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1732
No description provided.