You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the daemon's settings file follow NODESPACE_HOME #3605
SettingsServiceImpl::with_default_path (packages/daemon/src/services/settings_service.rs:527) builds its daemon.toml path from $HOME and ignores NODESPACE_HOME. An isolated daemon (tests, smoke runs, eval homes) therefore reads and writes the real user's settings file, and that file holds API keys. An isolated run can read real keys, or overwrite real settings.
Found while fixing #2781 Part A (PR #3601), which makes the embedding-model path follow NODESPACE_HOME through crate::nodespace_dir().
The default settings path comes from the daemon's existing home resolver (crate::nodespace_dir()), so NODESPACE_HOME isolates it.
A test with HOME pointing at a temp "real" home and NODESPACE_HOME at an empty one shows the isolated daemon never reads or writes the "real" settings file. Mutation-checked.
Picking this up now. It follows the same pattern as #3601: the default settings path comes from the daemon's existing nodespace_dir(), so NODESPACE_HOME isolates it. Any workflow that relied on sharing the real settings gets an explicit opt-in.
Activity
mstomar125 commentedon Oct 5, 2026
Picking this up now. It follows the same pattern as #3601: the default settings path comes from the daemon's existing
nodespace_dir(), soNODESPACE_HOMEisolates it. Any workflow that relied on sharing the real settings gets an explicit opt-in.🤖 Generated with Claude Code