Skip to content

fix(boot): reboot spares the live lane; desktop build leaves the front - #3370

Merged
joelteply merged 3 commits into
canaryfrom
fix/boot-audit-lane-murder-and-front-loading
Sep 2, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fix/boot-audit-lane-murder-and-front-loading

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The boot audit's two determinism killers:

1. The lane murder. stop_with(keep_lanes=true) ran reap_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_reap health-checks and keeps the warm weights.

2. Front-loading. The desktop web build ran 1–2 min serial before exec on 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

…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
joelteply enabled auto-merge (squash) September 2, 2026 13:03
joelteply and others added 2 commits September 2, 2026 08:10
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
@github-actions github-actions Bot added size: M and removed size: S labels Sep 2, 2026
@joelteply
joelteply merged commit 1a8e27b into canary Sep 2, 2026
5 checks passed
@joelteply
joelteply deleted the fix/boot-audit-lane-murder-and-front-loading branch September 2, 2026 13:35
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