consciousness/src
Kent Overstreet 5832e57970 store: convert more callers to use RELS index
Convert remaining Vec users to index-based access:
- memory.rs: MemoryNode::from_store uses Store::neighbors()
- graph.rs: orphan detection uses for_each_relation
- local.rs: normalize_strengths uses for_each_relation + set_link_strength

Add Store::neighbors() method and index::get_offsets_for_uuid().

Cleanup:
- for_each_relation: build both uuid↔key maps in one pass
- cap_degree: consolidate key/uuid/degree collection

Remaining Vec uses: admin.rs (fsck, dedup), capnp.rs (load path).

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-13 21:20:27 -04:00
..
agent store: remove visit tracking infrastructure 2026-04-13 18:57:12 -04:00
bin Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00
cli store: remove nodes and uuid_to_key HashMaps 2026-04-13 19:49:09 -04:00
hippocampus store: convert more callers to use RELS index 2026-04-13 21:20:27 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind store: remove visit tracking infrastructure 2026-04-13 18:57:12 -04:00
subconscious store: convert more callers to use RELS index 2026-04-13 21:20:27 -04:00
thalamus kill MIN_NUDGE_INTERVAL 2026-04-11 16:45:33 -04:00
user Remove Store::cached(), consolidate on access_local() 2026-04-13 18:11:58 -04:00
config.rs store: remove dead code and move params to config 2026-04-13 18:50:21 -04:00
lib.rs mcp_server: Unix socket server for external tool access 2026-04-12 21:45:10 -04:00
locks.rs locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -04:00
main.rs store: wire up redb updates on mutations 2026-04-13 19:03:09 -04:00
mcp_server.rs memory.rs: clean up store access and tool dispatch 2026-04-13 14:27:38 -04:00
session.rs delete claude code integration 2026-04-09 19:58:07 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00