Repository navigation
The core refuses to boot without its one continuum home, instead of quietly switching features off (card e7c258a5) - #5430
Conversation
…d 67bf5d81) (#5431) * PR CI compiles a declared binary whose own source the PR touches (card 67bf5d81) Every crate job builds the lib or lib tests, so a PR editing core/continuum-core/src/main.rs (continuum-core-server) or a src/bin file reached canary with no compile of that binary; the first compile was the hourly core-binaries publication, after merge (found on #5430). The selector (ci-change-scope.cjs, the one owner of check selection) now reads each crate's [[bin]] targets and returns the touched ones per tested crate: the bin's file, and for src/bin/<x>.rs its module directory. The crate's existing job then runs one cargo check with those --bin flags. No new job; a PR that touches no binary runs nothing more. The CLI binary stays with the handoff job, which already compiles it; pushes keep their full lib net, and the hourly publication still compiles every bin. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The bin check runs --locked, and a crate's Cargo.toml change checks every bin it declares (Codex on #5431) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…uietly switching features off (card e7c258a5) continuum_home() refuses a retired $CONTINUUM_ROOT (#5420), but the core booted anyway, and each later `continuum_home().ok()` read that refusal as "no home" and turned its feature off: in main alone, the embedding cache's persistence and every disk-tracked cache class. main now resolves the home once, after config.env is applied and before tokio starts, refuses the boot with the reason, and hands that one path to async_main. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
439e988 to
770249d
Compare
|
Binary compile receipt at 770249d (rebased onto #5431, a2e59ef):
Still owed after deploy: the live refusal with a retired |
|
Source and selected-CI PASS at exact head 770249d. Rebased diff preserves the reviewed behavior: resolve continuum home after config.env, refuse invalid home before creating Tokio, then reuse that resolved path for embedding persistence and disk tracking. Independently verified run 40242532223/job 121317274063: the new binary-check step succeeded 23:03:41–23:06:55Z, closing the main.rs compilation gap. Aggregate 121319464230, bindings 121319485612 and hygiene 121317215483 also succeeded. Native Windows lifecycle/custody and CLI handoff were skipped. Clear for owner integration; live invalid-CONTINUUM_ROOT refusal before serving and configured-home identity retention remain deployment acceptance, not established by CI. |
|
Live receipt on enrico, 9e303fb (handed off 2026-10-26T01:10:22Z,
|
Why (plan line 7, one owner per fact; card e7c258a5; follows #5420)
#5420 made
continuum_home()refuse a retired$CONTINUUM_ROOTthat names another tree. But the core still booted, and every latercontinuum_home().ok()read the refusal as "no home" and switched its feature off without a word. Inmain.rsalone that was:A resident's memory and her disk safety shouldn't depend on an env var nobody notices.
Change
mainresolves the home once: afterconfig.envis applied (it may setCONTINUUM_HOME), and before tokio, tracing or any socket exists. Without a home it refuses the boot withcontinuum_home's own reason, for example: "$CONTINUUM_ROOT=… is no longer read … Set CONTINUUM_HOME=… to keep that tree, or unset CONTINUUM_ROOT".async_maintakes that one path, and the twomain.rsre-resolutions (with their silent-skip branches) are gone. The diff is +17 / −21.Left on purpose: the other
continuum_home().ok()sites are in library code that also runs in other processes and tests. In the core process they can no longer see a refusal, because the boot already refused it.Deploy safety: on enrico,
CONTINUUM_ROOTis set in no LaunchAgent plist, not inlaunchctl getenv, and not inconfig.env. A node that sets it equal to its home still passes, sinceretired_rootonly refuses a different path.Measured
There is no runtime number: the boot path is unchanged when no
CONTINUUM_ROOTis set. CI is the compile, since IntelMac serves.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE