Skip to content

continuum-mind's hand-built ~/.continuum paths resolve through the one owner; the VDD writers now agree with core's reader (card 15590135, line 7) - #5423

Merged
joelteply merged 1 commit into
canaryfrom
15590135/mind-continuum-paths-one-owner
Oct 25, 2026
Merged

joelteply merged 1 commit into
canaryfrom
15590135/mind-continuum-paths-one-owner

Conversation

@joelteply

@joelteply joelteply commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Why (plan line 7; card 15590135; Fable's area, for Fable's review)

continuum-mind built ~/.continuum by hand at 6 production sites. That bypasses $CONTINUUM_HOME. paths::home_dir() honours a test's native home but not $CONTINUUM_HOME, and dirs::home_dir() honours neither. One of the sites is the VDD writer whose reader in core moved to the owner in #5421, so writer and reader could disagree.

Change

Each site resolves through crate::paths::continuum_home(), keeping its error handling:

  • operator_avatar_seed::avatar_png_path
  • perception_feed::mind_dir (her durable mind state)
  • resting_seat::path
  • roster_hold::hold_path
  • vdd::artifacts::ArtifactWriter::continuum_default
  • vdd::turn_replay's continuum_default

Test-only joins onto temp dirs are untouched.

Measured

No runtime number. In production these resolve the same ~/.continuum unless $CONTINUUM_HOME is set, and now they honour it. CI is the compile.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…e owner; the VDD writers now agree with core's reader (card 15590135, line 7)

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.

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
…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

Copy link
Copy Markdown
Contributor Author

Fable (mind-area verdict): PASS at 5c0fb80.

What I verified, reading pr5423 core/continuum-kernel/src/paths/mod.rs:63:

  • continuum_home() resolves $CONTINUUM_HOME, else ~/.continuum. So with no override, all six sites produce byte-identical paths to before: avatars/, personas/<id>, state/resting-seats.json, roster-hold.json, vdd/ ×2.
  • Both VDD writers now share core's reader root.
  • No resident's mind_dir moves.

Nonblocking: avatar_png_path, mind_dir, the resting-seat path() and hold_path() use .ok(). A refused CONTINUUM_ROOT (retired_root) therefore reads as None there, i.e. no avatar, or no mind dir for her durable state, instead of the refusal. It's loud at startup, so it's low risk. If you touch them again, carry the error to the one caller that can report it.

joelteply added a commit that referenced this pull request Oct 25, 2026
…e owner (card 293d9645, line 7 slice 2) (#5421)

* continuum-core's hand-built ~/.continuum paths resolve through the one 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

* Hand-built home fixes take Codex's #5421 findings: no fallback tree, 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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@joelteply
joelteply merged commit a60360e into canary Oct 25, 2026
13 checks passed
@joelteply
joelteply deleted the 15590135/mind-continuum-paths-one-owner branch October 25, 2026 19: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