Repository navigation
The supervised core gets its desktop: the warm-build pass builds the web client and pins CONTINUUM_UI_DIST - #4403
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
continuum rebootrunsstart-server.shwithCONTINUUM_BUILD_ONLY=1, which exits at the build-only receipt, before the desktop block.PATHandORT_DYLIB_PATH.apps/web/distfroze at Sep 24), and the block'sexport CONTINUUM_UI_DISTcould never reach a launchd-launched core.desktop.dm.unconfiguredwhile the CLI printed "the web build lands in the background" (eight consecutive deploys today).Script (
start-server.sh):~/.continuum/logs/desktop-build.loginstead of/dev/null.CONTINUUM_UI_DISTinto~/.continuum/config.env(replace-or-append, single-quoted, the same shape asbin/continuum'sconfig_set). The core appliesconfig.envto 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 installregisters it in our own binary (card a1bd8b58, audit #4223 row D-mac) #4228 review), and theexportstill 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.envcarriesCONTINUUM_UI_DIST,~/.continuum/logs/desktop-build.logshows a landed build, the core probesdesktop.dm.online, andhttp://127.0.0.1:8975/answers on the M5.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo