@ours.network/install 1.2.1-nightly.9 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/GATEWAY_SETUP.md +178 -0
  2. package/README.md +564 -11
  3. package/ROOTLESS_PODMAN_VALIDATION.md +210 -0
  4. package/assets/Dockerfile +18 -15
  5. package/assets/Dockerfile.gateway +5 -0
  6. package/assets/docker-compose.yaml +8 -1
  7. package/assets/fleet-settings.example.json +48 -0
  8. package/assets/gateway-entrypoint.sh +37 -0
  9. package/assets/release-lock.json +1263 -4538
  10. package/assets/release.json +32 -24
  11. package/assets/scripts/build/build-common.mjs +10 -1
  12. package/assets/scripts/build/build-sdk.mjs +6 -1
  13. package/assets/scripts/maintenance/build-context.mjs +1 -1
  14. package/assets/scripts/maintenance/daemon-owner.mjs +15 -0
  15. package/assets/scripts/maintenance/docker-layout-conversion.mjs +22 -7
  16. package/assets/scripts/maintenance/recover-notifications.mjs +36 -0
  17. package/assets/scripts/maintenance/release-graph.mjs +1 -1
  18. package/assets/scripts/maintenance/state-operation.mjs +76 -8
  19. package/assets/scripts/runtime/README.md +7 -0
  20. package/assets/scripts/runtime/client-setup.mjs +105 -20
  21. package/assets/scripts/runtime/daemon-client-prefix.mjs +115 -0
  22. package/assets/scripts/runtime/dependency-ready.mjs +13 -0
  23. package/assets/scripts/runtime/diagnostics.mjs +72 -0
  24. package/assets/scripts/runtime/entrypoint.sh +5 -1
  25. package/assets/scripts/runtime/health-messenger.mjs +7 -6
  26. package/assets/scripts/runtime/healthcheck.mjs +49 -15
  27. package/assets/scripts/runtime/notifications-gateway.mjs +90 -0
  28. package/assets/scripts/runtime/recover.mjs +202 -0
  29. package/assets/scripts/runtime/start-cowork.sh +5 -0
  30. package/assets/scripts/runtime/start-messenger.sh +29 -4
  31. package/assets/scripts/runtime/start-telegram.sh +5 -0
  32. package/assets/scripts/runtime/supervise.mjs +35 -0
  33. package/assets/sources.json +49 -33
  34. package/install.mjs +12 -2
  35. package/install.sh +5 -2
  36. package/lib/boot-readiness.mjs +96 -0
  37. package/lib/build-transition.mjs +16 -0
  38. package/lib/client-cli.mjs +12 -2
  39. package/lib/container-engine.mjs +127 -0
  40. package/lib/diagnostics.mjs +1 -0
  41. package/lib/docker-conversion-runtime.mjs +7 -4
  42. package/lib/docker-layout-installation.mjs +2 -1
  43. package/lib/docker-recovery.mjs +60 -0
  44. package/lib/docker-runtime-repair.mjs +49 -14
  45. package/lib/effects.mjs +462 -136
  46. package/lib/gateway-transition.mjs +87 -0
  47. package/lib/gateway.mjs +227 -0
  48. package/lib/legacy-migration.mjs +13 -2
  49. package/lib/orchestrate-uninstall.mjs +23 -6
  50. package/lib/orchestrate.mjs +282 -38
  51. package/lib/ownership.mjs +63 -0
  52. package/lib/plan.mjs +37 -11
  53. package/lib/podman-preflight.mjs +40 -0
  54. package/lib/product.mjs +69 -0
  55. package/lib/removal-plan.mjs +437 -0
  56. package/lib/removal.mjs +749 -0
  57. package/lib/security-versions.mjs +38 -0
  58. package/lib/server-onboarding.mjs +182 -16
  59. package/lib/server-ports.mjs +17 -0
  60. package/lib/setup-options.mjs +119 -29
  61. package/lib/setup.mjs +86 -15
  62. package/lib/target.mjs +24 -8
  63. package/lib/uninstall.mjs +2 -2
  64. package/lib/usage.mjs +35 -9
  65. package/lib/welcome.mjs +219 -0
  66. package/lib/workspace-setup.mjs +164 -0
  67. package/package.json +5 -3
package/README.md CHANGED
@@ -1,6 +1,127 @@
1
+ ## Start here: choose what you want
2
+
3
+ Run `ours-install` with no options. It asks what you would like to do, in terms of goals:
4
+
5
+ ```
6
+ What would you like to do?
7
+ > (●) Add collaboration tools to my agent apps (Claude Code, Codex or another app)
8
+ ( ) Install the complete Ours workspace
9
+ ( ) Connect my agent apps to an Ours workspace that runs on another computer
10
+ ( ) Other setups (server only, custom ports or packages)
11
+ ```
12
+
13
+ Your existing agent configuration, skills, plugins and custom settings stay as they are. Ours adds its own tools next to them; it does not replace or reconfigure your setup.
14
+
15
+ **Collaboration tools** (`--plugin-only`) give the agent apps you already use their own secure Ours identity, so they can message other agents and people, share files and be woken when mail arrives. They install:
16
+
17
+ - one container: the Ours daemon, published only on `127.0.0.1` (port 3050 by default); nothing else runs;
18
+ - the Ours plugin in each selected app that was found on this computer: Claude Code and/or Codex;
19
+ - the Ours command-line tools and the saved connection in `~/.ours-client`.
20
+
21
+ No Cowork, Messenger, Telegram, Fleet or gateway containers are installed. Clients reach the daemon through a small prefix inside the daemon container that serves only `/daemon/…`, passes requests through unchanged (the daemon still checks every credential) and refuses every other path.
22
+
23
+ ```sh
24
+ ours-install --plugin-only --state-dir ~/.ours-install --identity-name "Your Name" --integrations claude-code,codex
25
+ ```
26
+
27
+ **The complete workspace** adds rooms per task where you invite other agents and people, task and progress tracking, access from your phone through the Ours App, persistent agents that keep working (Fleet), and orchestration of agents from several vendors.
28
+
29
+ **Another agent app.** Choose "Another agent app" in the list. At the end the installer prints exact instructions for the version it installed: the prepared plugin folder, the MCP server command (`node <folder>/bin/proxy.mjs`, stdio), the skill file, and the npm package `@ours.network/claude-code@<version>`. The app must be able to run a local stdio MCP server and must set `CLAUDE_CODE_SESSION_ID` to a value unique to each agent session in that server's environment; without it the Ours tools refuse to act. Apps that cannot run MCP servers cannot use Ours this way. Do not use the public GitHub marketplace `adapt-toolkit/ours-claude-marketplace` with this release: it currently selects an older, incompatible plugin.
30
+
31
+ ### Updating
32
+
33
+ When Ours is already installed, `ours-install` shows the installation and offers:
34
+
35
+ ```
36
+ ◆ Ours is already set up on this computer
37
+ • The complete Ours workspace — folder /home/me/.ours-install, running in Docker
38
+ What would you like to do?
39
+ > (●) Update Ours (recommended)
40
+ ( ) Repair: run setup again with the same choices
41
+ ( ) Remove Ours from this computer
42
+ ( ) Cancel
43
+ ```
44
+
45
+ An update keeps the installation's product (collaboration tools or workspace), runtime, folder, identities, data, connected apps and their settings. It never adds workspace parts to a collaboration-tools installation; to switch, remove it first. An unfinished update or setup is offered as "Finish the earlier update or setup". Running the same setup again is safe: it keeps existing identities, and if the server's access credentials were replaced (`ours-install server access-replace`), it issues a fresh client credential.
46
+
47
+ ### Removing Ours completely
48
+
49
+ ```sh
50
+ ours-install remove # everything Ours created on this computer
51
+ ours-install remove --dry-run # only show the list
52
+ ours-install remove --state-dir ~/.ours-install # one installation
53
+ ```
54
+
55
+ The command lists everything it found, grouped (services and containers; identities, keys, messages and settings; connections in your agent apps; persistent agents; programs and downloads; earlier installations), and what it keeps and why. Then it asks you to type `remove ours`. It runs only in a terminal; identities and their private keys exist nowhere else, so they are never deleted without a person confirming. Make a backup first if you may need them: `ours-install server backup server <label> --state-dir <folder>`.
56
+
57
+ What it removes, and how it proves each item is Ours:
58
+
59
+ | Item | Proof required |
60
+ | --- | --- |
61
+ | Containers | Compose project of the installation **and** a Compose project folder inside the installation folder (containers inherit image labels, so a label alone is not proof), or the installer's own helper names on its own image |
62
+ | Images | the image ID recorded when this installer built it, or the image an owned container was created from; a name alone is never proof; only the name is removed (`docker image rm <tag>`, never by ID or with force) |
63
+ | Volumes, network | the installation's Compose project label |
64
+ | Build cache | only the record whose description is the installer's own npm cache mount (`id=/ours-dist-2-npm`), pruned by its record ID (`docker buildx prune --filter id=…`); kept while another Ours installation uses the engine |
65
+ | Installation and connection folders | their own record (`installation.json` / `profile.json`) still names the installation; the folder is renamed aside, then deleted |
66
+ | Downloaded programs | the owner record of each download folder; a damaged record keeps the folder |
67
+ | Claude Code / Codex | the Ours plugin and plugin source (through their own CLIs), their Ours entries in `settings.json` / `config.toml`, and their cached copy of the Ours plugin, only when the source points into Ours downloads |
68
+ | Ours tool records `~/.ours-mcp` | only the rows and session folders of the removed installation |
69
+ | Persistent agents (Fleet) | services that reference this Ours connection, Fleet configuration and state set up by this client |
70
+ | Earlier installations | old daemon and connector services, verified stopped first; marked plugin sections and old skills |
71
+
72
+ It keeps Docker, Node.js, npm, Claude Code and Codex, your other settings, skills and plugins, shared images such as `node:24`, other build cache records, containers and images it cannot prove, and the temporary session guards in `/tmp/ours-<uid>` that every Ours tool session of your user shares.
73
+
74
+ If something cannot be removed, the summary says exactly what and why, the command exits with status 1 and keeps a small retry record (`~/.ours-removal.json`, identities only). Fix the reason and run `ours-install remove` again; it continues where it stopped:
75
+
76
+ ```
77
+ ◆ Removal summary
78
+ ! Some Ours items could not be removed yet:
79
+ ! - Container images of ours-235c4591528dc8a6 — ours-235c4591528dc8a6:runtime is still used by container user-made, which Ours did not create; remove that container if you no longer need it
80
+ • Fix the reason shown, then run ours-install remove again; it continues from where it stopped.
81
+ ```
82
+
83
+ Running it when nothing is left changes nothing and says so.
84
+
85
+ ## Security versions
86
+
87
+ Use stable Node.js 22.23.4+, 24.22.1+ or 26.12.1+ within those reviewed lines ([advisory](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases)). Earlier patches, EOL, prerelease and unreviewed lines are refused before installation; new lines need an updated floor.
88
+
89
+ Workspace setup checks the PATH-selected `cloudflared --version` before grant redemption or setup writes. Requires 2026.10.2+ ([incident](https://blog.cloudflare.com/emudhra-certificate-compromise/), [update instructions](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads/update-cloudflared/)); missing, failed, timed-out or unrecognized output refuses setup.
90
+
91
+ New images use Node.js 24.22.1. Existing images, retained Dockerfiles, running processes and native service-manager settings are not migrated or audited: update/rebuild and restart them separately. Native service-manager settings and future starts are outside these checks. Fleet tunnel guards require the separate Fleet release and installer manifest update.
92
+
93
+ ## Install first, connect the App afterwards
94
+
95
+ ```sh
96
+ ours-install --username alex --name Alex --surname Taylor --disable-fleet-agents-setup
97
+ ```
98
+
99
+ This permanent command contains no tunnel credentials or enrollment expiry. On a terminal it asks for the remaining installation choices, including Docker, Podman or native packages. The username is local and has no global uniqueness check. A fresh root is named `<username>@<hostname>`; the optional `--hostname` defaults to the machine name. Messenger stores Name and Surname through its supported profile API. Retried setup retains root identities and existing Messenger profiles.
100
+
101
+ `--disable-fleet-agents-setup` installs the Fleet CLI and saves the choice without opening its agent/model wizard or rewriting existing Fleet configuration. Configure agents in the App after device linking. Complete presets still work unattended; partial presets require a terminal and cannot use `OURS_ASSUME_YES`.
102
+
103
+ ### Fleet task commands from a harness command sandbox
104
+
105
+ After Fleet configuration, and again on update, the installer asks the exact Fleet it installed to run `ours-fleet managed-cli setup`. Fleet owns that policy; the installer writes no Codex rule or Claude setting itself, and the step starts no agent session and no model. It runs only when the installed Fleet declares the `managed-cli.setup-v1` capability; the Fleet release this installer pins does. With an earlier Fleet (a retained or development installation) it is skipped (and `--fleet-task-workflow` reports that it was not applied), and it never fails an installation: an unsupported combination is printed with Fleet's reason and left exactly as sandboxed as before.
106
+
107
+ Nothing is prepared unless an Agent declares `managed_cli: [task-workflow]`. To opt agents in from the installer, name them:
108
+
109
+ ```sh
110
+ ours-install client --config /private/profile.json --integrations codex,fleet \
111
+ --fleet-settings /private/fleet-settings.json --fleet-task-workflow FleetCoordinator
112
+ ```
113
+
114
+ `--fleet-task-workflow` takes a comma-separated list of Fleet agent names, requires the Fleet integration and conflicts with `--disable-fleet-agents-setup`. It adds that one key to each named Agent and changes no permission. The prepared scope is the packaged Coordinator task workflow (`task create|start|finish|block|unblock|review|list|show`, `room show|members`, template/plan/help inspection) for one pinned Fleet configuration; `task start` and `task finish` provision and retire rooms and agents, which is real authority, and the installer prints that scope. The result is generated configuration only. It is not evidence that a command reached a supervisor: `ours-fleet managed-cli status` and `ours-fleet doctor` report what running agents actually observed. Fleet's `docs/validation/managed-cli-permissions.md` lists the qualified harnesses and platforms.
115
+
116
+ The separate `ours-fleet setup-tunnel <encoded-v2-grant>` step is supported by the pinned Fleet release. Its private App payload remains scoped, signed-root-bound and expiring. Fleet prints its QR and private single-use connection code immediately after successful setup; scan or paste it into the App. `ours-fleet link-device` remains available for additional devices or expired codes. Do not put the expiring tunnel payload in the permanent installer command.
117
+
118
+ Native packages currently provide server-only installation; full Fleet/App onboarding requires the supported gateway (Docker or Podman). The installer refuses unsupported native full-stack setup before changing anything. This flow does not add a native gateway.
119
+
120
+ See [one-connection setup, localhost:4050 and systemd migration](GATEWAY_SETUP.md) for the gateway-only client workflow.
121
+
1
122
  # @ours.network/install — one installer for the whole stack
2
123
 
3
- Requires Node.js 22+ and npm. Install the selected release channel:
124
+ Requires a patched Node.js release (see Security versions) and npm. Install the selected release channel:
4
125
 
5
126
  ```sh
6
127
  npm install -g @ours.network/install@nightly
@@ -10,8 +131,8 @@ ours-install
10
131
  With no arguments, the wizard explains each step and offers keyboard choices.
11
132
  Use arrow keys and Enter to choose, and Space to select integrations. Recommended
12
133
  settings keep advanced ports and package overrides out of the usual flow. Text
13
- input is used for your name and explicitly customized paths or ports. Linux x64
14
- recommends native mode; macOS and Windows recommend Docker. On Windows run the
134
+ input is used for your name and explicitly customized paths or ports. Docker is recommended for the integrated full-stack gateway on every platform;
135
+ native packages remain available for server-only setup. On Windows run the
15
136
  installer inside WSL with Docker Desktop integration. This recommendation concerns
16
137
  packaging and isolation, not a guarantee that emulated x64 is faster on ARM Macs.
17
138
 
@@ -45,7 +166,7 @@ installers. `--integrations none` explicitly skips client integrations. Use
45
166
  Fleet's own wizard is available only in interactive setup; CLI Fleet setup requires
46
167
  its JSON settings file. Fleet stays stopped until you review and activate it.
47
168
 
48
- The server installs the daemon/SDK/CLI, main MCP, Telegram, Cowork and Messenger.
169
+ The server installs the daemon/SDK/CLI, Telegram, Cowork and Messenger.
49
170
  It starts the daemon, preserves the existing Human identity (or creates it once),
50
171
  then starts its applications. Full-stack setup issues a separate local client
51
172
  credential and configures the selected Codex, Claude Code and Fleet integrations.
@@ -56,6 +177,29 @@ The installer embeds exact component versions and SHA-512 values for its release
56
177
  An existing server's retained release selects matching local clients. Secrets are
57
178
  read from protected files, and client setup never copies the daemon API master.
58
179
 
180
+ ## Runtime and client packages
181
+
182
+ Server selections include `@ours.network/daemon`, whose `ours-daemon` binary owns
183
+ runtime startup and service administration. Docker runs `ours-daemon serve`;
184
+ native installations install its systemd/launchd service. Existing retained
185
+ installations can still stop and restore their older CLI-owned runtime.
186
+
187
+ Client selections contain the thin SDK and CLI, plus MCP when a harness needs
188
+ it. They exclude the daemon and its native database/ADAPT dependencies. Fleet
189
+ runs beside the harnesses on the client machine and calls the daemon HTTP API.
190
+ Client commands report an unavailable server and never start one automatically.
191
+
192
+ The checked-in source policy and packed installer retain the existing server
193
+ release set (SDK `4.1.1-nightly.4`, CLI `3.1.1-nightly.4`, daemon
194
+ `4.1.1-nightly.4`). The isolated host CLI uses published SDK
195
+ `4.1.1-nightly.4` and CLI `3.1.1-nightly.4`, including the shared gateway
196
+ profile resolver. `releases/nightly.json` binds both selections to verified
197
+ SHA512 integrities. Fleet and the MCP harness packages are selected on the
198
+ same SDK/CLI graph; installer publication and rollout are separate steps, see
199
+ [GATEWAY_SETUP.md](GATEWAY_SETUP.md). Mixed or unselected nested ours
200
+ versions remain rejected within each selected graph. The same nightly set selects Cowork `1.3.4-nightly.20261019.b0d73c0`, Telegram `1.0.1-nightly.16`, Messenger `1.0.31-nightly.25`, Notifications `0.3.1-nightly.7`, and the MCP/Codex/Claude Code suite `1.2.0-nightly.18`. An explicit `--sources`
201
+ override remains available for development.
202
+
59
203
  ## Migrate an existing global installation
60
204
 
61
205
  The wizard detects the old `~/.ours/config.json` and offers to keep its identities,
@@ -121,7 +265,7 @@ diagnostic artifact under the root's `runtime` directory; all installer calls us
121
265
  an explicit project directory, Compose file, project name and selected environment.
122
266
  Assets resolve from the installed package, independently of the working directory.
123
267
 
124
- Package mode requires Node.js 22+, npm and a working systemd user manager on
268
+ Package mode requires a patched Node.js release, npm and a working systemd user manager on
125
269
  Linux/WSL or a launchd GUI user domain on macOS. Source builds also require Git,
126
270
  Python 3, a C/C++ toolchain, make, and the selected repositories' own prerequisites.
127
271
  Docker mode requires a working Docker engine and Compose 2.35+; its build image
@@ -137,8 +281,8 @@ native package acquisition, and reports completion only after service readiness.
137
281
  If a Docker service fails, the error includes its last 50 log lines (bounded in
138
282
  size) and a command to inspect the logs. A failed daemon prevents consumers from
139
283
  starting; a failed consumer does not prevent checks of unrelated consumers.
140
- Server runtime installation selects SDK/CLI, main MCP, Telegram, Cowork and
141
- Messenger. Main MCP is injected into the daemon, not started as a second daemon.
284
+ Server runtime installation selects SDK/CLI, Telegram, Cowork and
285
+ Messenger. MCP runs locally with the Codex and Claude Code plugins and calls the daemon API through the SDK.
142
286
  The daemon starts first; consumers are checked through their owning readiness
143
287
  interfaces. Messenger uses its existing identity prerequisite and never creates an
144
288
  identity. Its failure is reported after attempting unrelated consumers. Package
@@ -195,9 +339,9 @@ relative to the profile file. Select any nonempty subset of integrations; Fleet
195
339
  When Fleet settings are supplied, the installer passes them to Fleet's strict
196
340
  noninteractive `init --settings`; otherwise it opens Fleet's existing wizard.
197
341
  Fleet validates and publishes its own configuration. Client setup verifies the selected
198
- daemon and packaged OURS MCP before registering native integrations. It acquires
342
+ authenticated daemon API before registering native integrations. It acquires
199
343
  only selected integration packages and their actual client dependencies. It does
200
- not install main MCP, administer daemon state or invoke Docker. Exact npm client
344
+ not administer daemon state or invoke Docker. Codex and Claude Code include the local stdio MCP server as a dependency. Exact npm client
201
345
  installation needs no Python; Git source builds use the supplied source recipes
202
346
  and their build prerequisites. Normal native clients need neither Docker nor
203
347
  server maintenance tools.
@@ -213,7 +357,8 @@ an existing override and does not edit shell configuration or running sessions.
213
357
  Repeat with `ours-install client install` to reuse imported inputs and installed
214
358
  package records. Existing settings and Fleet-generated files are preserved. A
215
359
  prepared profile for the same endpoint/instance may supply a valid replacement
216
- issued token; another server is refused without changing the default. Invalid
360
+ issued token; a different server instance is refused without changing the default. A verified
361
+ new gateway address for the same instance updates the shared profile for new clients. Invalid
217
362
  server access is rejected before import. An acquisition or component failure
218
363
  reports incomplete setup and keeps the saved configuration for retry. Selected
219
364
  native integrations whose executable is unavailable are incomplete, not installed.
@@ -224,7 +369,7 @@ Interactive no-argument installation asks for package/Docker server mode, a
224
369
  prepared client profile, or `client`. Client setup offers the saved server when
225
370
  present. On first setup it asks for the server HTTP endpoint, issued-token file,
226
371
  source manifest and integration choices, obtains the instance UUID from
227
- `/selection`, displays it, then checks authenticated daemon and MCP access before
372
+ `/.well-known/ours` at the gateway, displays it, then checks authenticated daemon API access before
228
373
  saving anything. No UUID must be entered manually. The 2.0 HTTP flow assumes the
229
374
  approved trusted same-host deployment; selection metadata is not cryptographic
230
375
  server authentication. Fleet collects missing setup answers through its own wizard.
@@ -262,6 +407,24 @@ build. `server status` reports the pending phase; `server stop` remains availabl
262
407
  Other mutations refuse until activation completes. There is no automatic rollback
263
408
  of application state after publication.
264
409
 
410
+ For Docker updates interrupted by the Notifications provenance omission in older
411
+ installers, use an installer containing the recovery helper and resume with
412
+ `ours-install server update --mode docker --state-dir /path/to/installation --compatible`.
413
+ Retain any original `--sources` input; do not substitute a newer candidate.
414
+ This uses the compatibility attestation saved in the pending update. Passing the
415
+ flag again cannot authorize a transition that did not originally record it.
416
+ The helper requires the four core markers to match the retained candidate and
417
+ Notifications to match its retained previous build, including every recorded
418
+ context, lockfile and dependency-tree byte. It preserves a Notifications-only
419
+ backup with the original provenance, repairs that marker atomically with the
420
+ complete state tree, and resumes preparation and the original running subset.
421
+ It also recognizes a completed state exchange whose journal still says `prepared`;
422
+ untouched source state continues through normal migration. Missing retained
423
+ evidence, arbitrary mixed generations, unsafe files and unclean service exits
424
+ remain errors. Keep the installation, candidate and backups intact on refusal.
425
+ An `all update` requires a running daemon for client verification, so complete
426
+ this server recovery first, then repeat `all update` to refresh clients.
427
+
265
428
 
266
429
  New builds retain `build-context.json` alongside their original lockfile and dependency
267
430
  tree. The context binds the original record bytes to verified vendor tar names,
@@ -314,3 +477,393 @@ origin directly. UUID/capability checks still precede credential-bearing calls.
314
477
  This adds client HTTPS support, not an HTTPS daemon listener, certificate
315
478
  provisioning or automatic reverse-proxy configuration. Existing local HTTP and
316
479
  SSH-tunnel profiles continue to work.
480
+
481
+ ## One-URL Docker gateway
482
+
483
+ New Docker installations use one loopback-published nginx port (default 3050).
484
+ Clients import one `serverUrl`; their daemon endpoint is `<serverUrl>/daemon` and
485
+ Fleet derives `<serverUrl>/cowork/management/rpc`. Cowork, Messenger and Telegram
486
+ backend ports are internal only. Existing installations retain their prior layout
487
+ on ordinary install/update. Select compatible releases before explicitly migrating:
488
+
489
+ ```sh
490
+ ours-install server gateway-enable --state-dir /private/ours
491
+ ```
492
+
493
+ Migration checks the installed Cowork, Messenger and Telegram capabilities before
494
+ stopping services, verifies authenticated daemon and read-only Cowork management,
495
+ and preserves the existing credential and client integration settings. Failure
496
+ restores routing, client profile and prior service selection. An interrupted
497
+ migration blocks other mutations: repeat `gateway-enable` to finish rollback,
498
+ then run it again to attempt migration. The private `gateway-transition.json`
499
+ retains recovery state until rollback or migration completes. Back up the whole
500
+ installation using the normal server backup procedure before maintenance.
501
+
502
+ For a nested external URL, pass `--server-url https://ours.example/base` during
503
+ Docker install or `gateway-enable`. This sets browser origin and path configuration;
504
+ it does **not** publish a public listener, provide TLS, or install external
505
+ credentials. Configure the authenticated entry first and retain the `/base` path
506
+ when proxying. A compatible release must contain these capabilities:
507
+ `cowork.http-management-v1`, `messenger.gateway-prefix-v1`, and
508
+ `telegram.gateway-listener-v1`. Older releases are rejected without enabling the
509
+ new listener; no package version is silently substituted.
510
+
511
+ ### Notifications
512
+
513
+ When the selected release includes `@ours.network/notifications`, gateway
514
+ installations run it inside the Messenger container, under one supervisor with
515
+ Messenger: a signal stops both, and either one exiting stops the container so
516
+ its normal restart recovers both. It publishes no host port. The gateway routes
517
+ `<serverUrl>/notifications/` to it after the same daemon credential check as
518
+ Telegram, and the service's adapter checks that credential again before acting
519
+ as the installation owner. Browser cookies, origins and fetch metadata are
520
+ removed. Messenger produces message notifications over loopback.
521
+
522
+ `prepare` creates the private configuration once in
523
+ `storage/state/notifications/config.json`: the owner token, separate Fleet and
524
+ Messenger producer tokens, and VAPID keys. Later runs only validate it; rotating
525
+ the owner token or VAPID keys would orphan every browser subscription, so a
526
+ differing configuration is refused rather than rewritten. Back it up with the
527
+ rest of the server state. A local client setup binds the Fleet producer token
528
+ to this server in `~/.ours-client/notifications-producer.json`; Fleet then sends
529
+ agent completions through `<serverUrl>/notifications/`. Remote clients and
530
+ native installations do not produce notifications. The gateway discovery
531
+ document is unchanged, so existing clients keep accepting the server. A
532
+ retained source policy without the package keeps working without notifications.
533
+
534
+ An existing complete installation gains them with its normal update, which
535
+ prepares the credentials after activating the new runtime and hands the Fleet
536
+ producer credential to the local client, then a web-only Fleet restart (agents
537
+ keep running):
538
+
539
+ ```sh
540
+ ours-install all update --mode docker --state-dir /private/ours --identity-name "Your Name" --integrations codex,fleet --fleet-settings /private/fleet.json --compatible
541
+ ours-fleet web restart
542
+ ```
543
+
544
+ ### Authenticated external entry
545
+
546
+ Messenger has no application authentication. Loopback access trusts local users;
547
+ never forward this gateway publicly without authentication. All applications on
548
+ this origin share one trust boundary: scripts or XSS in any application can make
549
+ requests to the others. Cowork's entered server credential grants operator room
550
+ administration and stays in memory until reload. Path prefixes do not isolate
551
+ applications. Only expose this origin to trusted operators.
552
+
553
+ A supported external entry is nginx TLS plus HTTP Basic authentication for browser
554
+ paths, with machine paths left to their existing server-token checks. Create the
555
+ password file using an interactive `htpasswd` prompt and make it readable by the
556
+ proxy worker. Use real certificates and the matching `--server-url`. The inner
557
+ gateway remains bound to `127.0.0.1:3050`; neither backend ports nor the inner
558
+ listener should be externally forwarded. Example for `/base`:
559
+
560
+ ```nginx
561
+ # In http {}:
562
+ map $http_upgrade $ours_connection { default upgrade; '' close; }
563
+ server {
564
+ listen 443 ssl;
565
+ server_name ours.example;
566
+ ssl_certificate /private/tls/fullchain.pem;
567
+ ssl_certificate_key /private/tls/key.pem;
568
+ auth_basic "ours operators";
569
+ auth_basic_user_file /private/ours-users;
570
+ access_log off;
571
+ proxy_set_header Host $http_host;
572
+ proxy_set_header Upgrade $http_upgrade;
573
+ proxy_set_header Connection $ours_connection;
574
+ proxy_http_version 1.1;
575
+ proxy_read_timeout 300s;
576
+ proxy_buffering off;
577
+ location = /base/.well-known/ours { auth_basic off; proxy_pass http://127.0.0.1:3050; }
578
+ location /base/daemon/ { auth_basic off; proxy_pass http://127.0.0.1:3050; }
579
+ location = /base/cowork/management/rpc { auth_basic off; proxy_pass http://127.0.0.1:3050; }
580
+ location /base/tg-connector/ { auth_basic off; proxy_pass http://127.0.0.1:3050; }
581
+ location /base/ { proxy_pass http://127.0.0.1:3050; }
582
+ location / { return 404; }
583
+ }
584
+ ```
585
+
586
+ Browser requests include same-origin proxy credentials. Fleet/SDK use the issued
587
+ `X-Ours-Api-Token`, require no browser login, and reject redirects. An SSH tunnel
588
+ to the loopback gateway is another private transport option, but every client must
589
+ establish its own tunnel and use a URL/origin matching that tunnel; it is not
590
+ automatic remote access. Do not treat a token entered in Cowork as Messenger auth.
591
+
592
+ Publish compatible Cowork, Messenger, Telegram and Fleet artifacts before enabling
593
+ gateway defaults in a qualified installer release. Gateway client setup acquires
594
+ and checks Fleet before activating the managed profile or publishing native
595
+ commands. Migration also checks the installed `ours-fleet version --json`
596
+ capability before stopping services when the selected managed profile includes
597
+ Fleet. Upgrade that executable first. The gate does not inventory differently pinned
598
+ running Fleet instances or remote clients: upgrade every client using this server
599
+ to a compatible Fleet release before cutover.
600
+
601
+ ### Cross-repository gateway qualification
602
+
603
+ Build Cowork, Fleet, Messenger and Telegram checkouts with their locked dependencies.
604
+ The real-service test uses disposable local daemon state, a local test broker,
605
+ nginx Docker containers and Chromium; it never uses installed identities or tokens.
606
+ It requires Linux Docker host networking and `openssl`. Set:
607
+
608
+ ```sh
609
+ OURS_TEST_GATEWAY_SERVICES=1 \
610
+ OURS_TEST_COWORK_ROOT=/checkouts/ours-cowork \
611
+ OURS_TEST_FLEET_ROOT=/checkouts/ours-fleet \
612
+ OURS_TEST_MESSENGER_ROOT=/checkouts/ours-messenger-server \
613
+ OURS_TEST_TELEGRAM_ROOT=/checkouts/ours-tg-connector \
614
+ OURS_TEST_BROWSER=/opt/google/chrome/chrome \
615
+ node --test packages/installer/test/gateway-services.test.mjs
616
+ ```
617
+
618
+ Run `OURS_TEST_DOCKER=1 node --test packages/installer/test/gateway-docker.test.mjs`
619
+ separately for Compose port isolation with a client container. That routing test
620
+ uses echo upstreams; the real-service test covers Fleet room operations, browser
621
+ paths, external authentication and Messenger WebSocket access. Neither test is
622
+ cross-platform Docker Desktop qualification or a live deployment test.
623
+
624
+ ### Rootless Podman (qualification in progress)
625
+
626
+ Container installations can select a local Linux rootless backend explicitly:
627
+
628
+ ```sh
629
+ export PODMAN_COMPOSE_PROVIDER=/absolute/path/to/docker-compose
630
+ ours-install server install --mode docker --container-engine podman \
631
+ --state-dir "$HOME/.ours-server-podman" --identity-name "Your Name"
632
+ ```
633
+
634
+ `mode: docker` remains the legacy container-layout name. `containerEngine` and
635
+ `containerBinding` retain Podman, the invoking UID, native storage paths, socket
636
+ and standalone Compose provider, plus the UID/GID mapping fingerprint. Records without `containerEngine` continue to
637
+ use Docker. Package/client installs reject the engine option. Existing records
638
+ cannot change engines through a flag or ambient connection change; automatic
639
+ Docker-to-Podman data migration is not provided. Legacy local-daemon migration
640
+ (`--migrate-from`) to Podman is also unsupported and is refused before source
641
+ shutdown or managed CLI publication, including migration retries. Use a fresh
642
+ Podman installation, or migrate the legacy daemon with Docker/packages.
643
+
644
+ Podman uses its native build command, with the same resolved Compose build
645
+ context, target, architecture, arguments and secret references, followed by
646
+ Compose `--no-build` startup. It does not require the Docker CLI or daemon.
647
+ The selected standalone Docker Compose provider must be version 2.35 or newer;
648
+ version checks do not replace the behavioral capability probe. `podman-compose`
649
+ is not an interchangeable provider for this implementation. Secrets sourced
650
+ from environment variables use Podman's native build-secret mechanism, never
651
+ build arguments or temporary copies.
652
+
653
+ Prerequisites include a working rootless API socket, sufficient subordinate
654
+ UID/GID mappings, and native volume-subpath isolation. Before setup/start, an
655
+ isolated disposable project tests Compose `!reset`, health waiting, JSON status,
656
+ service DNS, private UID-1000 storage and subpath isolation. A failed check stops
657
+ installation rather than substituting the whole volume. Existing volumes must
658
+ have this installation's project and volume labels. Docker contexts, unrelated
659
+ containers and host directory ownership are not changed.
660
+
661
+ Server boot recovery requires an enabled user `podman.socket`, an enabled
662
+ `podman-restart.service` using `--filter should-start-on-boot=true`, and user
663
+ linger. The standard user-service environment/default socket must select the
664
+ same storage; custom XDG paths and sockets are rejected for server startup.
665
+ The installer diagnoses missing prerequisites and never runs hidden sudo or
666
+ rewrites the vendor unit. Long-running Podman services get `unless-stopped`;
667
+ administration jobs do not. Stop/status remain available when boot prerequisites
668
+ are missing, provided the retained backend is accessible. Runtime-only test
669
+ harnesses may select a separate local socket with `OURS_PODMAN_SOCKET`; its
670
+ storage must match native Podman and the selection cannot change afterward.
671
+
672
+ Gateway images read and validate IPv4/IPv6 nameservers from their container at
673
+ startup. Only the resolver placeholder is replaced; nginx variables and existing
674
+ authentication/routes remain intact. UID 101, read-only rootfs, dropped
675
+ capabilities and tmpfs are retained. Setup and start verify authenticated
676
+ upstream requests in addition to liveness.
677
+
678
+ This change is **not yet a fully qualified server-support release**. Debian's
679
+ Podman 5.4.2 with Compose 5.5.1 failed subpath isolation and has incompatible boot
680
+ recovery semantics. Podman 6.1.2 passed the isolated capability probe on native
681
+ Linux amd64; production and prerelease-source builds, service lifecycle, rebuild and scoped maintenance also passed. See [validation evidence](ROOTLESS_PODMAN_VALIDATION.md). The full public installer/maintenance matrix,
682
+ SELinux Enforcing, logout/reboot, explicit-stop recovery, and Docker regression
683
+ matrix must all be recorded before declaring a supported engine/provider pair.
684
+ The supplied ARM VM results are historical feasibility evidence, not this
685
+ release's qualification.
686
+
687
+ Opt-in gateway fixture (isolated project, only owned resources removed):
688
+
689
+ ```sh
690
+ OURS_TEST_DOCKER=1 node --test test/gateway-docker.test.mjs
691
+ PODMAN_COMPOSE_PROVIDER=/absolute/path/to/docker-compose \
692
+ OURS_TEST_PODMAN=1 node --test test/gateway-docker.test.mjs
693
+ ```
694
+
695
+ ## Account workspace enrollment (task build)
696
+
697
+ The unmerged account onboarding feature requires matching reviewed installer,
698
+ Fleet and Messenger task builds. Do not advertise it as available in `@latest`.
699
+ Use an owned private directory and a 0600 downloaded payload:
700
+
701
+ ```sh
702
+ OURS_ACCOUNT_ORIGIN=https://accounts.example.com \
703
+ OURS_WORKSPACE_HOST=alice-home.workspaces.example.com \
704
+ node /absolute/task-ours-network/packages/installer/install.mjs \
705
+ --setup-workspace-file /absolute/private/workspace.payload \
706
+ --workspace-fleet-bin /absolute/task-ours-fleet/dist/cli.js \
707
+ --sources /absolute/private/task-sources.json
708
+ ```
709
+
710
+ The wrapper defaults fresh hosts to the full Docker stack and retains existing
711
+ Human roots through the installed SDK with exact instance/private credential
712
+ selection. For an existing supported gateway add `--scope client --config` with
713
+ its private profile. It clears competing inherited daemon selectors before Fleet
714
+ initialization and enrollment; it never copies a browser device bearer to the
715
+ account server. A private stdin payload is also accepted by `--setup-workspace -`.
716
+ Encoding is not encryption; command arguments can enter history/process listings.
717
+ Cloudflare management tokens are forbidden in these payloads.
718
+
719
+ Docker and `cloudflared` are required for the fresh workflow. Supply a complete
720
+ `--fleet-settings` JSON for noninteractive Fleet initialization, or answer its
721
+ terminal prompts. Dry-run never initializes or enrolls Fleet. A one-use App setup
722
+ grant is redeemed only after argument and host-state checks, the read-only
723
+ setup plan (environment overrides, platform, source policy) and `--fleet-settings`
724
+ validation, and Fleet/`cloudflared` availability pass; dry-run and these rejections
725
+ leave the command usable until it expires. Checks that need the private envelope (resumed-workspace match,
726
+ optional-profile Fleet capability) follow redemption, so their failure requires a
727
+ fresh command. Ambiguous redemption is never retried automatically. Read the matching
728
+ ours-app `server/DEPLOYMENT.md` for exact task source-policy generation, external
729
+ Google/Cloudflare prerequisites and account-server setup. On uncertain enrollment
730
+ check account status before requesting a new payload; do not reset identities or
731
+ replay a consumed invitation.
732
+
733
+ Workspace setup requires the trusted invocation configuration `OURS_ACCOUNT_ORIGIN`
734
+ to name the exact HTTPS account origin. The generated App command also carries
735
+ `OURS_WORKSPACE_HOST`, the exact account-record hostname; it takes precedence over
736
+ `OURS_WORKSPACE_DOMAIN`. An operator bootstrap without an exact host may instead
737
+ configure `OURS_WORKSPACE_DOMAIN`, accepting one DNS label under that suffix. A
738
+ missing configuration has no historical-domain fallback. Never obtain these trust
739
+ values from a grant, redeemed envelope, or query. Grant origins are checked before
740
+ redemption; envelope origins and hosts are checked before setup/enrollment, and
741
+ the same trusted configuration is forwarded to Fleet. A v2 grant has no hostname.
742
+
743
+ To move an existing same workspace to another configured origin, obtain a fresh
744
+ payload from the moved account server, select that trusted origin explicitly, and add
745
+ `--workspace-migrate-app-origin`. Fleet verifies the signed binding receipt before
746
+ changing local origin trust, preserves identities/config/device records, and
747
+ restarts the runtime. An implicit origin change is rejected. Browser account
748
+ cookies/device IndexedDB must be linked anew on the new origin. See the app
749
+ server/DEPLOYMENT.md switching procedure.
750
+
751
+ Workspace setup automatically reuses the saved managed gateway profile (or explicit `--config`/`OURS_CONFIG`), including a host with a non-default server state directory. It does not reinstall server/client state, create a root, or initialize an existing Fleet configuration. It requires Fleet capability `workspace.enroll.preserve-profile-v1` and passes `--preserve-profile`; Fleet requires the matching Messenger capability before posting signed enrollment. Hosts running older Messenger must first update that host service through its supported installer lifecycle; this wrapper never guesses or replaces its server directory. After Owner releases Messenger/Fleet/installer, app bootstrap pins must be updated before removing the preview guard.
752
+
753
+ ### Private-context Docker script permissions
754
+
755
+ Fresh image builds explicitly make non-secret maintenance/runtime scripts readable by the container user even when the host build context was copied under umask077. Host scripts, selected source policy and state retain their private permissions.
756
+
757
+ For a pending installation using an older image, run the corrected installer against the same pending workspace. It recognizes older shipped script COPY instructions combined with private host script modes, updates those image COPY modes and rebuilds the daemon image from the retained source selection. It leaves host data and enrollment state intact and qualifies the rebuilt image before preparing services. A private retry marker retains the rebuild requirement after interruption; it is removed only after verification succeeds. This rebuild resolves third-party transitive dependencies using the existing testing-delivery rules; selected Ours versions and integrity remain release-checked. It is not a byte-identical image permission-layer repair.
758
+
759
+ Fresh server setup checks its loopback daemon, Cowork and Messenger ports before
760
+ writing the installation configuration. Occupied implicit defaults advance to a
761
+ free port, skipping reserved sibling ports; the selected values are saved in the
762
+ installation record and used by native/container services, gateway and client
763
+ profile generation. An explicitly requested occupied port fails with a diagnostic.
764
+ Existing installation records keep their ports and identities. A listener acquired
765
+ by another process after preflight still causes startup to fail safely; no foreign
766
+ process is stopped and no retained installation is silently moved.
767
+
768
+ Workspace setup pins Fleet `1.2.0-nightly.84` with its recorded registry integrity. This release includes first-time Fleet setup through the host API for the account App, direct App access to the workspace services with the device credential, v2 positional one-use grants and automatic QR/connection-code output from `ours-fleet setup-tunnel`, optional private file/stdin inputs for legacy v1 payloads, a separate `ours-fleet link-device` command for additional devices, host prerequisite checks before the one-time workspace proof (`setup-tunnel --check`), `setup-tunnel --resume` to finish a setup that stopped after the host saved its private pending setup record (not when the proof's answer was lost, or after the setup window expired with an unconfirmed non-default port), and persists the available Fleet loopback port used by the workspace tunnel. It also accepts a setup-generated configuration left behind after the host enrollment state was removed, runs the host Codex when it is at least as new as the packaged one, offers only the Codex models the signed-in account can use, and removes the temporary setup contact after confirmation. Fleet serves no pages and opens no browser: every screen is in the App. Fleet also serves the workspace notification routes, produces notifications through the server gateway with the imported producer credential, accepts the App's device credential on the notification presence socket so an open App receives no push, and defaults agent wakes to `monitor.interrupt: after_tool` (Hermes: no interrupt; role snapshots saved before this default keep no interrupt). Existing installation identities and configured ports remain retained; a retained-port collision fails safely.
769
+
770
+ ### App tunnel setup prerelease sequencing
771
+
772
+ The simplified App flow shows one copyable `ours-fleet setup-tunnel <encoded-v2-grant>`
773
+ command for the installed host, including an SSH session on a VPS. Its argument
774
+ contains only the existing v2 single-use grant (`version`, `appOrigin`, `code`,
775
+ `expiresAt`), never a connector token or broad provider credential. The command can
776
+ appear in shell history and process listings: keep it private and remove it from
777
+ history after use. Base64 is encoding, not encryption. Server-side expiry and
778
+ one-time redemption remain enforced. Fleet checks prerequisites before HTTPS POST
779
+ redemption; it never prints the grant or puts it in a URL, and retains existing
780
+ signed-root binding and scoped connector token-file controls. It prints the QR and
781
+ connection code automatically; the App checks readiness and opens the code field.
782
+ Private `--file`/`--stdin` transports remain optional and are the only transports
783
+ for legacy v1 payloads with long-lived credentials.
784
+
785
+ The nightly installer release manifest selects published Fleet `1.2.0-nightly.84`
786
+ and its actual registry integrity through the normal release manifest/source-policy
787
+ generators. This release includes v2 argument and private-input support. The former
788
+ nightly.41 selection predates this capability. Merge and publish the repinned
789
+ installer before deploying the App; the pin change alone is not an installer
790
+ publication. Existing v1 private-file enrollment remains compatible. The legacy
791
+ App wrapper refuses an older Fleet before reading or redeeming its grant.
792
+
793
+ The notification gateway permits daemon-authenticated producer selection only on
794
+ POST `/api/v1/send` and `/api/v1/delete-target`. The latter retires a removed
795
+ conversation using the credential's fixed user/source scope. Browser inbox
796
+ `/api/v1/delete` continues to require the user credential. The notification
797
+ service must support the scoped lifecycle route; this change does not repin or
798
+ publish an installer release.
799
+
800
+ ## Boot and failure recovery
801
+
802
+ Docker long-running daemon, Telegram, Cowork, Messenger/Notifications and gateway
803
+ containers use `unless-stopped`. They resume when the selected Docker Engine
804
+ starts, and Docker restarts a failed container with its built-in backoff. A manual
805
+ `docker stop`, `ours-install server stop`, or uninstall stays stopped across
806
+ Engine restarts. Administrative/maintenance jobs have no automatic restart.
807
+ Docker health status alone does not restart a container.
808
+
809
+ The four application containers also supervise their locked entrypoints. After
810
+ 90 seconds of startup grace, probes run every 5 seconds with a 15-second timeout.
811
+ Three consecutive local health failures or a child exit stop its entire process
812
+ group (TERM, then KILL within 20 seconds) before restarting. Cowork's detached
813
+ workers carry an explicit supervisor-PID marker; recovery also kills those
814
+ owned groups and waits for them to stop before launching a replacement. Each container start
815
+ allows three automatic child recovery attempts, separated by exponential backoff
816
+ (5 seconds doubling, at most 5 minutes). Ten minutes of continuous readiness
817
+ restores that budget; any failed or timed-out probe, including one during a
818
+ daemon outage, restarts the interval. Exhaustion stops the children and exits the
819
+ container with status 75, so `unless-stopped` restarts it with Docker's own
820
+ backoff and `docker inspect` reports the restart count and exit code. The
821
+ container is never left running without its service. Each failed probe is logged
822
+ with a fixed classification only (`timeout`, `exit:N`, `spawn`, or a daemon
823
+ `liveness:`/`readiness:` class such as `liveness:unreachable` or
824
+ `readiness:auth`), never probe output. The daemon probe separates anonymous
825
+ liveness (`/selection` answers) from authenticated readiness.
826
+ Consumers wait for authenticated readiness of their pinned daemon instance and
827
+ do not spend their recovery budget on a daemon outage. The gateway uses Docker
828
+ process recovery only; a gateway hang requires operator restart.
829
+
830
+ Re-run `server install` to deliver recovery to an existing installation without
831
+ changing its retained exact packages, identity, credentials, volumes or config.
832
+ This explicit install starts its selected services, as before. `server update`
833
+ with reviewed storage compatibility delivers the new selected release and
834
+ restores only previously running services. Retained runtime scripts are refreshed
835
+ and rebuilt on install; an interrupted refresh retains a rebuild marker. The
836
+ restart policy overlay also covers retained Compose files. Reconciliation updates
837
+ only this project's recorded long-running containers and does not start or
838
+ recreate a deliberately stopped container. `server start` can reconcile policies
839
+ but does not retrofit health supervision into an old image: run install/update.
840
+ Backup, migration and update still stop writers before maintenance, and a failed
841
+ maintenance operation keeps them stopped. `server uninstall` (also `ours-uninstall --state-dir PATH` for a managed
842
+ schema-2 installation) stops and removes managed services, retaining volumes,
843
+ identity and credentials. It refuses unfinished transitions and data purge.
844
+ Recovery introduces no host watchdog or service.
845
+
846
+ Host boot is a separate prerequisite. On Linux, enable the selected Docker
847
+ Engine system service; rootless Docker additionally needs its user service and
848
+ user linger. The installer reports read-only boot diagnostics and does not enable
849
+ or restart host services. It reads the persistent `docker.service` unit-file
850
+ state, not whether Docker is running now: when Docker is running but not enabled,
851
+ it says that ours components depending on Docker will not start automatically
852
+ after a reboot and prints the optional command (`sudo systemctl enable
853
+ docker.service`, or `systemctl --user enable docker.service` plus
854
+ `sudo loginctl enable-linger USER` for rootless Docker). A masked unit, or a host
855
+ not booted with systemd or with no `docker.service` (WSL with Docker Desktop integration, snap,
856
+ OpenRC and similar), gets the same warning without a systemctl command. A reachable remote Engine or Docker Desktop context
857
+ cannot prove boot recovery on this machine. A custom Unix socket also has an
858
+ unverified boot-service binding; a host unit cannot establish its startup. On macOS/Windows with WSL, enable Docker
859
+ Desktop startup at sign-in; this does not provide pre-login startup. Rootless
860
+ Podman's existing enabled socket/restart-service and linger preflight remains.
861
+ Native package mode retains its package-owned systemd user/launchd services:
862
+ Linux needs user linger for pre-login startup, macOS needs a GUI login session,
863
+ and native hung-process recovery is not supplied by this Docker supervisor.
864
+ Fleet stays on the host with Fleet-owned lifecycle and crash protection. Installing
865
+ the exact Fleet nightly binary does not upgrade or restart an existing supervisor.
866
+ The published no-policy core delivery is a verified recovery omission that
867
+ reproduces the reported symptom. The original incident cause remains unconfirmed:
868
+ actual host Engine availability, installed policies and pre-reboot stopped state
869
+ still require Owner confirmation.