Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(verse): make the Unreal Verse an optional on-demand download (#1147)

Ruben Lütke61b6e4c77b21
diff --git a/docs/verse/unreal/README.md b/docs/verse/unreal/README.md
index 659b8082de..da0594bbfe 100644
--- a/docs/verse/unreal/README.md
+++ b/docs/verse/unreal/README.md
@@ -45,7 +45,7 @@ Unreal Verse reads this file first, then its work package in
| Bot | Full movement including finishers, shoots through walls only at heard or believed positions, breaches, uses Bulwark and gadgets, learns the player within a match. Fair perception, no wallhack. Tiers normal, hard, elite plus an adaptive mode. Higher skill wins more often, never always |
| Duel entry | Armoury station in the hangar plus a quick-start button in the Verse bar |
| Progression | Duel wins award commander XP; duel statistics (wins, K/D, headshots, finishers) in the service record |
-| Delivery | The Verse ships inside the normal installer; the updater's size cap is raised; Verse updates are delivered as delta packages |
+| Delivery | Optional download. The installer, a plain `git clone` and app updates never carry the Verse. Opening the Verse the first time shows a card with the download size and a "Download the Verse" button; the package (its own release asset per platform) downloads resumably, is signature- and hash-checked and installs into the user data folder. Settings can remove it again. Only an installed Verse receives delta updates. The source stays in this repo under `unreal/`; `.lfsconfig` keeps its binaries out of every default clone |
| Testing | Fully autonomous: builds, tests, headless bot-vs-bot runs, screenshots, performance. The user plays at the end of integration |
| Legal | No names of other games, studios or real firearm makes or models anywhere: code, assets, commits, PRs, docs |
diff --git a/docs/verse/unreal/architecture.md b/docs/verse/unreal/architecture.md
index 3d44078822..fd94201d92 100644
--- a/docs/verse/unreal/architecture.md
+++ b/docs/verse/unreal/architecture.md
@@ -466,5 +466,5 @@ lands the repo changes in one PR by the integration owner.
| RK12 | Self-hosted runner on a public repo | Untrusted code on the person's own machine | Fork PRs never reach it; dedicated user; no signing keys on the runner |
| RK13 | Disk | 106 GB free (2026-11-02); engine, DDC, LFS, two platform builds | DDC cap, `Intermediate` pruning in `build.py`, alert below 40 GB free |
| RK14 | Binary asset merges | `.uasset` cannot merge across parallel agents | One File Per Actor, zone ownership in `work-packages.md`, C++ and DataAssets as text-like surfaces, LFS locking for shared maps |
-| RK15 | Install size vs updater | 1.5 GB cap today (`installer_update.py:106`) | IoStore chunk per deck, delta packages, raise the cap (README) |
+| RK15 | Install size vs updater | 1.5 GB cap today (`installer_update.py:106`) | The Verse is never part of the installer or app update; it is an optional on-demand package (README Delivery), so the cap stays. IoStore chunk per deck, delta packages for installed Verses |
| RK16 | Gore and paired finisher animation | No rig with weapon/IK bones today, no clips with root motion | New rig early in the art track; finisher gated on motion warping working over the network |
diff --git a/docs/verse/unreal/work-packages.md b/docs/verse/unreal/work-packages.md
index 1280667939..c57a551d61 100644
--- a/docs/verse/unreal/work-packages.md
+++ b/docs/verse/unreal/work-packages.md
@@ -857,7 +857,7 @@ handler (the route answers close 1013 until it lands).
| 17.10 | Locale and settings in `welcome` and `settings.changed`; `settings.set`; `POST /api/verse/settings/import`; `companion` topic; `qa.exec` gate (BW10, BW12) | Relays and route |
| 17.11 | Unreal `VerseBridge`: WS client, JSON and binary codec, reconnect with `last_seq`, typed feed subsystems, command sender with replies | Client |
| 17.12 | Unreal lifecycle: Booting, Visible, Panel, Dormant, Exiting; return key; foreground hand-off both ways; single-instance mutex; `gpu.yield`; X11 and Wayland activation | Lifecycle |
-| 17.13 | Web launcher card (status, launch, quick-start duel) and desktop foreground hand-off; `npm run build` check | Frontend |
+| 17.13 | Web launcher card (status, launch, quick-start duel) and desktop foreground hand-off; for `not_installed` the card shows size and a "Download the Verse" button with progress and cancel (routes `POST/DELETE /api/verse/install`, `GET /api/verse/install/progress` calling WP22's `verse_host/install`); remove in Settings; `npm run build` check | Frontend |
| Id | Acceptance test | Pass |
|---|---|---|
@@ -1051,15 +1051,19 @@ same numbers.
### WP22 Packaging, installer, updater, Linux
-**Goal.** Windows and Linux builds packaged, chunked per deck, shipped inside
-the normal installer, updated by delta packages, with machines without a GPU
-unaffected.
+**Goal.** Windows and Linux builds packaged, chunked per deck, published as an
+optional per-platform release asset that the app downloads only when the user
+asks for it (README Delivery), updated by delta packages once installed, with
+machines without a GPU unaffected. The normal installer and app updates never
+carry the Verse.
**Owned.** `scripts/unreal/package.py`; `.github/workflows/unreal-package.yml`
(workflow policy of architecture 8.2); `unreal/Toolchain/**` (`toolchains.json`,
`ddc.json`); `unreal/Verse/Build/**` (engine-required platform resources);
`packaging/windows/verse/**`, `packaging/linux/verse/**`; the Verse download
-and delta logic in `dodaios/core/installer_update.py`; the
+and delta logic in `dodaios/core/installer_update.py`; the on-demand
+installer `dodaios/verse_host/install/**` (download, resume, signature and
+hash check, unpack, uninstall, delta apply; called by WP17's routes); the
`GIT_LFS_SKIP_SMUDGE=1` lines in `install/**`, `dodaios/core/main_follow.py`
and `dodaios/ui/web/update_routes.py`; `tests/unit/installer/test_verse_*.py`.
@@ -1077,8 +1081,8 @@ owner.
| 22.2 | BuildCookRun Win64 and Linux Shipping; Harness absent from Shipping | `package.py` |
| 22.3 | IoStore chunk per deck; shipped PSO cache | Chunk rules |
| 22.4 | Delta packages: chunk diff, apply, hash verify, rollback | Delta tool |
-| 22.5 | Updater: raised size cap for the Verse payload (today `MAX_INSTALLER_BYTES = 1_500_000_000`, `installer_update.py:106`), Verse channel, resumable download, signature hand-off | Updater |
-| 22.6 | Installer integration on Windows and Linux; `GIT_LFS_SKIP_SMUDGE=1` in clone paths | Installers |
+| 22.5 | On-demand install: Verse release asset per platform with manifest (version, size, hashes, signature), resumable download with progress, verify, unpack into the user data folder, uninstall; `MAX_INSTALLER_BYTES` stays unchanged | `verse_host/install` |
+| 22.6 | Installers and app updates on Windows and Linux carry no Verse payload; `GIT_LFS_SKIP_SMUDGE=1` in clone paths; installed Verses get a separate Verse update channel | Installers |
| 22.7 | Linux smoke: container or VM, `-nullrhi` server run, Vulkan first frame where a device exists, X11 and Wayland activation check | Nightly job |
| 22.8 | Signing hand-off to the existing signing workflow; no keys on the runner | Workflow step |
| 22.9 | Disk hygiene: DDC cap 40 GB, `Intermediate` pruning, alert below 40 GB free | Script |
@@ -1088,6 +1092,7 @@ owner.
| A22.1 | Size | Payload at most 2 GB compressed at parity; typical delta at most 300 MB |
| A22.2 | Cold start | At most 8 s to first frame on the reference box with the shipped PSO cache |
| A22.3 | No GPU | Install on a GPU-less VM: app runs, Verse status `unsupported`, 0 errors in the app log |
+| A22.7 | On demand | Fresh install: Verse status `not_installed`, installer size unchanged against the previous release; download from the card installs and launches; an interrupted download resumes; a tampered package is rejected; uninstall frees the folder and returns to `not_installed` |
| A22.4 | LFS | A fresh installer clone and an in-app update each download 0 bytes of `unreal/**` LFS objects; the release source archive contains no `unreal/` path |
| A22.5 | Update | Delta applies with 100 % hash match; a corrupted chunk rolls back to the previous version |
| A22.6 | Linux | Linux Game target builds in `unreal-build`; 60 s server smoke passes nightly |