consciousness/src
Kent Overstreet a8c239f3de Cache Store in process — stop reloading on every tool call
Store::cached() returns a process-global Arc<tokio::sync::Mutex<Store>>
that loads once and reloads only when log files change (is_stale()
checks file sizes). All memory and journal tools use cached_store()
instead of Store::load() per invocation.

Fixes CPU saturation from HashMap hashing when multiple subconscious
agents make concurrent tool calls.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-07 03:35:08 -04:00
..
agent Cache Store in process — stop reloading on every tool call 2026-04-07 03:35:08 -04:00
bin split out src/mind 2026-04-04 02:46:32 -04:00
claude call_api_with_tools_sync() -> src/agent/oneshot.rs 2026-04-07 01:00:39 -04:00
cli Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
hippocampus Cache Store in process — stop reloading on every tool call 2026-04-07 03:35:08 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind Memory scores on entries, not a separate Vec 2026-04-07 03:14:24 -04:00
subconscious Split surface-observe into separate agents, add thalamus 2026-04-07 02:25:11 -04:00
thalamus supervisor: PID file to prevent duplicate daemon spawns 2026-04-05 13:30:56 -04:00
user Memory scores on entries, not a separate Vec 2026-04-07 03:14:24 -04:00
config.rs training: per-node scoring with graph weight updates 2026-04-05 01:18:47 -04:00
lib.rs user: InteractScreen extracted, all screens use ScreenView trait 2026-04-05 18:57:54 -04:00
main.rs deps: remove faer (224 transitive crates) 2026-04-05 06:39:47 -04:00
session.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00