22
33## Scope
44
5- Ulysses adds one service-management surface to the existing Odysseus UI. It is
6- Arcane-inspired in workflow, but manages more than Docker:
5+ Ulysses adds one service-management surface in the existing Odysseus UI and
6+ manages more than Docker:
77
88- Docker Compose projects and containers;
99- native and tmux-hosted processes;
1010- systemd user services;
1111- Bun/Sandwich tools and MCP servers;
1212- Python/uv environments;
13- - model endpoints such as vLLM and, later, Colibri;
13+ - model endpoints such as vLLM, Colibri GLM, and Colibri Hy3 ;
1414- Chroma and other persistent services.
1515
1616It is intentionally not a scheduler, Kubernetes replacement, or arbitrary
@@ -96,11 +96,15 @@ starts with a sanitized environment, then applies its declared configuration:
9696
9797## Configuration
9898
99- The UI can centralize configuration without immediately moving values:
99+ The UI edits each project's own registered configuration file without
100+ centralizing unrelated values:
100101
101102- existing ` .env ` files remain authoritative during observation;
102- - imports show a redacted source-to-target diff;
103- - secrets are encrypted/referenced and never returned to normal API/UI reads;
103+ - normal reads redact sensitive values and disable Save while placeholders are
104+ present;
105+ - an explicit ** Unredact & edit** action fetches the real registered document
106+ for an authorized local administrator;
107+ - the backend refuses to persist literal ` <redacted> ` placeholders;
104108- one typed configuration set can materialize to Compose, systemd, native,
105109 tmux, or MCP launch adapters;
106110- all writes are previewable, backed up, atomic, and reversible.
@@ -117,8 +121,10 @@ Add a Services window/tool using the current Odysseus visual language:
117121- Activity: durable queued/running/completed/failed actions with cancellation.
118122- Recovery: backups, Chroma persistence, Python/CUDA doctor, rollback.
119123
120- Cookbook Dependencies remains the Python/system package catalog. Its
121- JavaScript-related links deep-link into the Sandwich view.
124+ Cookbook Dependencies keeps its Python/system package catalog and adds an
125+ Extras group for separately installed Sandwich, Hermes, Colibri GLM, and
126+ Colibri Hy3 runtimes. Sandwich detection/install/doctor is available there;
127+ service and package operations live in the Services JavaScript view.
122128
123129The existing Cookbook Active view is the implementation precedent: it already
124130tracks the vLLM task, readiness, PID, and tmux output. Ulysses generalizes that
@@ -139,13 +145,12 @@ The overview does not concatenate every terminal into one unreadable stream.
139145It shows compact status/port/resource cards; selecting a service opens its own
140146bounded logs and, where registered, its tmux console.
141147
142- The first implemented UI slice is read-only and uses the existing Odysseus
143- window manager, icon rail, sidebar, theme variables, resizing, docking, and
144- minimize behavior. Its Overview, Services, JavaScript, and Chroma views consume
145- only ` GET /api/ulysses/topology ` and
146- ` GET /api/ulysses/chroma/persistence ` . No lifecycle button is rendered until
147- the corresponding runtime has an adoption record, typed action plan, durable
148- job runner, and rollback contract.
148+ The Services UI uses the existing Odysseus window manager, icon rail, sidebar,
149+ theme variables, resizing, docking, and minimize behavior. Overview, Services,
150+ JavaScript, Chroma, Activity, and Recovery combine read-only observations with
151+ allowlisted lifecycle plans. A lifecycle button is enabled only when the
152+ runtime has an adoption record, typed action plan, durable job runner, and the
153+ required safety contract.
149154
150155## Browser and search capabilities
151156
@@ -182,8 +187,21 @@ job runner, and rollback contract.
182187| SearXNG | Docker Compose | external |
183188| Bifrost | Sandwich/native | external |
184189| signal-cli | native service | external |
185- | Sandwich | native user runtime | observed, then managed |
186- | Colibri | native CUDA model endpoint | not installed; final integration |
190+ | Sandwich | native user runtime | managed exact component |
191+ | Colibri GLM | native CUDA model endpoint | source present; build/model verification gated |
192+ | Colibri Hy3 | separate native CUDA endpoint | source present; build/model verification gated |
193+
194+ ## Runtime update invariants
195+
196+ - Git-backed runtimes have a registered official origin and branch.
197+ - Dirty worktrees, origin/branch mismatches, and non-fast-forward updates fail
198+ closed.
199+ - JavaScript/native source sync is refused while the runtime is active.
200+ - Docker updates preserve the prior stopped/running state.
201+ - Dependencies start first and prevent unsafe dependent/dependency stops.
202+ - Firecrawl depends on SearXNG; Camofox MCP depends on Camofox.
203+ - All job directories are private (` 0700 ` ) and job records/logs are ` 0600 ` .
204+ - Job success may require a declared output oracle, not merely exit code zero.
187205
188206## Chroma persistence gate
189207
0 commit comments