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:
parent
35d925186d
commit
0d2bf81a50
5 changed files with 16 additions and 4 deletions
|
|
@ -44,8 +44,8 @@ pub async fn call_api_with_tools(
|
|||
// Set up a UI channel — we drain reasoning tokens into the log
|
||||
let (ui_tx, mut ui_rx) = crate::agent::ui_channel::channel();
|
||||
|
||||
// Build tool definitions — all shared tools (memory, files, bash, journal)
|
||||
let tool_defs = thought::all_definitions();
|
||||
// Subconscious agents only get memory tools — no filesystem access.
|
||||
let tool_defs = thought::memory_definitions();
|
||||
let tracker = ProcessTracker::new();
|
||||
// Provenance tracks which agent:phase is making writes.
|
||||
// Updated between steps by the bail function via set_provenance().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue