Repository navigation
continuum-core's hand-built ~/.continuum paths resolve through the one owner (card 293d9645, line 7 slice 2) - #5421
Merged
Conversation
…e owner (card 293d9645, line 7 slice 2) 19 production sites joined .continuum onto dirs::home_dir() / $HOME by hand, bypassing $CONTINUUM_HOME and the per-process test home. Each now resolves through crate::paths::continuum_home() (or the ContinuumLayout accessor naming the same subpath: progress(), genome_models()), keeping its own error handling: avatar, cognition/observe, desktop, interface/capture, plasticity/compress, positron_presence, closing_modules (grid dir), pressure_broker_wiring (probe pool), main (embedding cache), auth (config.env x2), floor_fetch, forge_module (adapter_out), genome_fitness_sentinel (its local dirs_home() helper deleted), tailscale, sentinel checkpoint and global_sentinel, vdd. plasticity/compress refuses with no home instead of writing into a /tmp fallback. Left on purpose: the CLI binary's install/deploy/service paths (bin/continuum, its own home_dir() for the Windows SID and envelope checks, a security boundary), airc's scope home in daemon_supervisor, and a test helper's foreign user_home. The VDD writer in continuum-mind is card 15590135 (the mind slice). Mechanical edits by a Sonnet subagent, each site reviewed here; not compiled locally (CI). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…nuum-paths-one-owner
…no hard-coded root ahead of the home, the resolver's own error kept (card 293d9645) - closing_modules: the grid dir no longer falls back to ./.continuum on a resolver error, which would hide #5420's retired-root refusal behind a second grid state; boot stops with the home's own error (justified expect at boot registration). - tailscale: the status file is read under the one continuum home only; the hard-coded /root/.continuum entry (a container whose home is /root already resolves there) no longer outranks a configured home, and a resolver error is NotReady instead of a relative path. - avatar, desktop, capture: the resolver's error is carried in the message instead of replaced with no-home text. (1) the VDD reader/writer agreement is #5423, which integrates with this. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Oct 25, 2026
…e owner; the VDD writers now agree with core's reader (card 15590135, line 7) (#5423) Six production sites joined .continuum onto dirs::home_dir() or paths::home_dir() (which honours a test's native home but not $CONTINUUM_HOME): operator_avatar_seed, perception_feed (her mind dir), resting_seat, roster_hold, and both VDD writers (ArtifactWriter and the turn-replay writer). Each resolves through crate::paths::continuum_home(), keeping its own error handling. Core's VDD reader moved to the owner in line 7 slice 2 (#5421), so writer and reader now resolve one root under $CONTINUUM_HOME and in tests. Test-only joins onto temp dirs are untouched. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Why (plan line 7, one owner per fact; card 293d9645; follows #5420)
continuum-core built
~/.continuumby hand at 19 production sites (dirs::home_dir().join(".continuum"),$HOME+.continuum/...). That bypasses$CONTINUUM_HOMEand the per-process test home, the guard against a test writing operator state.Change
Each site resolves through
crate::paths::continuum_home(), or through theContinuumLayoutaccessor that names the same subpath (progress(),genome_models()). Each keeps its own error handling:?stays?,OptionstaysOption, and a boot-fatalexpectstays justified.Sites: avatar (×2), cognition/observe, desktop, interface/capture, plasticity/compress, positron_presence, start_server closing_modules (grid dir) and pressure_broker_wiring (probe pool), main (embedding cache), auth (config.env ×2), floor_fetch, forge_module (adapter_out), genome_fitness_sentinel, tailscale, sentinel checkpoint and global_sentinel, vdd.
genome_fitness_sentinel's localdirs_home()helper is deleted.plasticity/compressnow refuses when there is no home, instead of writing into a/tmp/.continuumfallback.Left on purpose:
bin/continuum). They use the CLI's ownhome_dir()for the Windows SID and envelope checks, which is a security boundary.daemon_supervisor. It isn't the continuum home.user_home.The VDD writer in continuum-mind is the other half of
vdd.rs's reader, and is card 15590135 (the mind slice).hand_built_homesfalls by the migrated count; the ratchet holds the base tree's count.Measured
No runtime number. In production these resolve the same
~/.continuumunless$CONTINUUM_HOMEis set, and now they honour it. The edits were mechanical and done by a Sonnet subagent; I reviewed every site here. CI is the compile.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE