consciousness: identity files load from ~/.consciousness/identity/

Separate identity files (loaded via source: "file" in context_groups)
from the memory store (data_dir). New identity_dir config field,
defaults to ~/.consciousness/identity/.

Also restrict subconscious agents to memory-only tools — no
filesystem write access. This prevents agents from creating stray
.md files in the memory directory.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-03-28 19:49:13 -04:00
parent 35d925186d
commit 0d2bf81a50
5 changed files with 16 additions and 4 deletions

View file

@ -78,7 +78,7 @@ fn load_memory_files(cwd: &Path, memory_project: Option<&Path>, context_groups:
};
// Primary config directory
let config_dir = home.join(".consciousness/config");
let config_dir = home.join(".consciousness/identity");
let global = home.join(".consciousness");
let project = memory_project
.map(PathBuf::from)