Skip to content

continuum-core's hand-built ~/.continuum paths resolve through the one owner (card 293d9645, line 7 slice 2) - #5421

Merged
joelteply merged 3 commits into
canaryfrom
293d9645/core-continuum-paths-one-owner
Oct 25, 2026
Merged

joelteply merged 3 commits into
canaryfrom
293d9645/core-continuum-paths-one-owner

Conversation

@joelteply

@joelteply joelteply commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Why (plan line 7, one owner per fact; card 293d9645; follows #5420)

continuum-core built ~/.continuum by hand at 19 production sites (dirs::home_dir().join(".continuum"), $HOME + .continuum/...). That bypasses $CONTINUUM_HOME and the per-process test home, the guard against a test writing operator state.

Change

Each site resolves through crate::paths::continuum_home(), or through the ContinuumLayout accessor that names the same subpath (progress(), genome_models()). Each keeps its own error handling: ? stays ?, Option stays Option, and a boot-fatal expect stays 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 local dirs_home() helper is deleted.
  • plasticity/compress now refuses when there is no home, instead of writing into a /tmp/.continuum fallback.

Left on purpose:

  • The CLI binary's install, deploy and service paths (bin/continuum). They use the CLI's own home_dir() for the Windows SID and envelope checks, which is a security boundary.
  • airc's scope home in daemon_supervisor. It isn't the continuum home.
  • A test helper's foreign 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_homes falls by the migrated count; the ratchet holds the base tree's count.

Measured

No runtime number. In production these resolve the same ~/.continuum unless $CONTINUUM_HOME is 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

…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
joelteply and others added 2 commits October 25, 2026 12:46
…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
joelteply merged commit d749f5e into canary Oct 25, 2026
12 checks passed
@joelteply
joelteply deleted the 293d9645/core-continuum-paths-one-owner branch October 25, 2026 19:35
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]>
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