Repository navigation
fix(boot): reboot spares the live lane; desktop build leaves the front - #3370
Merged
Merged
Conversation
…ve lane; desktop build leaves the front Joel: 'Slooow… too much chaos in front, zero work on reduction of shit that doesn't need to run at all and certainly before the system loads. Can't break the problem down — it's random chance it works.' THE AUDIT found the boot path's promise and its murder in the same function: stop_with(keep_lanes=true) ran reap_owned_orphans(&[]) — killing the warm llama lane — and printed 'leaving serving lane(s) up for adoption' eleven lines later, over the corpse. The old comment claimed lanes were invisible to the ownership sweep; that rotted when llama-server moved under ~/.continuum/bin. Cost: ~15-minute model reload on EVERY reboot, and whether adoption 'worked' was literally random (process ancestry). Now the identity-verified live lane (pidfile + is_llama_server, never a reused pid) is passed as the sweep's keep-list on the reboot path; the start rail's adopt_or_reap health-checks and adopts the warm weights. FRONT-LOADING: the desktop web build ran 1–2 min SERIAL before exec on every boot while a good dist from the previous generation sat on disk. The core now serves the existing dist immediately and rebuilds in the background; only a fresh clone with NO dist waits (#291 stays honest). Remaining audit rows filed (VIRAL-LAUNCH-PLAN follow-up): reboot's early stop converts the whole core build into downtime — the start script already stops the old core right before exec, so the early stop can retire once the build-beside-resident-model RAM envelope is measured. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
September 2, 2026 13:03
Joel: 'Desktop is optional… depends on core being up of course so must initiate if necessary.' The first-boot branch still put a web build in front of exec; now the core boots headless immediately in every case and the dist lands in the background (desktop.dm.dist_missing probes the window). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…eliable disjoint steps'
The audit fixed instances; this fixes the constraint: boot becomes a typed,
ordered, receipted DAG executed by the Rust CLI (BootStep {needs, required,
phase} + one boot.step receipt per row), the same ServiceModule discipline
the runtime already applies to everything after boot. The lane-murder class
becomes unrepresentable (seams are typed edges); optional means Beside
(desktop/bridge/eye-node land behind a core that answers in seconds); the
script strangler-migrates to 10 lines, one row at a time.
Co-Authored-By: Claude Fable 5 <[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 boot audit's two determinism killers:
1. The lane murder.
stop_with(keep_lanes=true)ranreap_owned_orphans(&[])— killing the warm llama lane — then printed "leaving serving lane(s) up for adoption" eleven lines later, over the corpse. The old comment claimed lanes were invisible to the ownership sweep; that rotted when llama-server moved under~/.continuum/bin. Cost: ~15-minute model reload on every reboot, and adoption success was literally random (process ancestry). The identity-verified live lane is now the sweep's keep-list on the reboot path;adopt_or_reaphealth-checks and keeps the warm weights.2. Front-loading. The desktop web build ran 1–2 min serial before
execon every boot while a good previous dist sat on disk. The core now serves the existing dist immediately and rebuilds in the background; only a fresh clone with no dist waits (#291 stays honest).Full audit table + remaining rows (reboot's early stop = build-time downtime) in the session; acceptance = next reboot's serving-ready in seconds, not 15 minutes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo