Skip to content

The supervised core gets its desktop: the warm-build pass builds the web client and pins CONTINUUM_UI_DIST - #4403

Merged
joelteply merged 1 commit into
canaryfrom
fix/the-supervised-core-gets-its-desktop
Sep 26, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/the-supervised-core-gets-its-desktop

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The M5 has served no desktop since Sep 24; port 8975 refuses connections. The cause is the supervisor path, and it's the same class as #4090's bare direct launch, returning through launchd.

The chain:

  1. Under the launchd supervisor, continuum reboot runs start-server.sh with CONTINUUM_BUILD_ONLY=1, which exits at the build-only receipt, before the desktop block.
  2. It then kickstarts the slot binary bare, with only the plist's PATH and ORT_DYLIB_PATH.
  3. So the web client was never rebuilt (apps/web/dist froze at Sep 24), and the block's export CONTINUUM_UI_DIST could never reach a launchd-launched core.
  4. Every deploy booted desktop.dm.unconfigured while the CLI printed "the web build lands in the background" (eight consecutive deploys today).

Script (start-server.sh):

  • The desktop block runs before the build-only exit, so the warm-build pass also builds the web client, in the background, with output to ~/.continuum/logs/desktop-build.log instead of /dev/null.
  • It pins CONTINUUM_UI_DIST into ~/.continuum/config.env (replace-or-append, single-quoted, the same shape as bin/continuum's config_set). The core applies config.env to itself on every boot, so that file is the one durable home the supervisor path can reach. The plist deliberately doesn't carry source-tree values (feat(cli): macOS — launchd owns the launch; continuum install registers it in our own binary (card a1bd8b58, audit #4223 row D-mac) #4228 review), and the export still serves a direct launch.

CLI: the receipt is a pure function of what it observed. Answering prints the URL. A configured dist not yet answering is "a build in flight". No configured dist is named as such, with the verb that fixes it. It never promises a build the launch path isn't making.

Test: the receipt names the unconfigured case and reserves the promise for a configured dist.

Acceptance: after this deploys, config.env carries CONTINUUM_UI_DIST, ~/.continuum/logs/desktop-build.log shows a landed build, the core probes desktop.dm.online, and http://127.0.0.1:8975/ answers on the M5.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…web client and pins CONTINUUM_UI_DIST in config.env

The M5 has served no desktop since 2026-09-24. Under the launchd
supervisor, continuum reboot runs start-server.sh with
CONTINUUM_BUILD_ONLY=1, which exits before the desktop block, and then
kickstarts the slot binary bare. Two consequences: the web client was
never rebuilt (apps/web/dist froze at Sep 24), and the block's export of
CONTINUUM_UI_DIST could never reach a launchd-launched core. Every deploy
booted desktop.dm.unconfigured while the CLI printed 'the web build lands
in the background' (eight consecutive deploys on 2026-09-26). Port 8975
refused connections.

Script: the desktop block now runs before the build-only exit, so the
warm-build pass also builds the web client (in the background, output to
~/.continuum/logs/desktop-build.log instead of /dev/null). It pins
CONTINUUM_UI_DIST into ~/.continuum/config.env, replace-or-append,
single-quoted, the same shape as bin/continuum's config_set. The core
applies config.env to itself on every boot, so that file is the one
durable home the supervisor path can reach; the plist deliberately does
not carry source-tree values (#4228 review).

CLI: the start/reboot receipt is pure over what it observed. Answering
prints the URL; a configured dist not yet answering is a build in flight;
no configured dist is named as such with the verb that fixes it. It never
promises a build the launch path is not making.

Test: the receipt names the unconfigured case and reserves the promise for
a configured dist.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 45d36c3 into canary Sep 26, 2026
9 checks passed
@joelteply
joelteply deleted the fix/the-supervised-core-gets-its-desktop branch September 26, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant