consciousness/src/hippocampus
Kent Overstreet 7eb86656d4 store: read nodes via index instead of HashMap
- Add get_node() and contains_key() methods that read via redb index
- Migrate all store/ reads to use index lookup
- Remove HashMap cache updates from mutations (write-through to capnp+index only)
- Remove replay_nodes() - load no longer builds HashMap
- Update db_is_healthy to validate by spot-checking offsets
- Fix set_weight bug: now persists weight changes to capnp

Store.nodes HashMap still exists for code outside store/ module,
but store/ itself no longer uses it.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-13 19:31:28 -04:00
..
neuro Delete similarity module, rewrite module, and all text-similarity code 2026-04-10 15:44:10 -04:00
query store: remove visit tracking infrastructure 2026-04-13 18:57:12 -04:00
store store: read nodes via index instead of HashMap 2026-04-13 19:31:28 -04:00
counters.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00
graph.rs journal: remove all stringly-typed key patterns, use NodeType 2026-03-26 19:11:17 -04:00
local.rs centralize memory store interface in hippocampus/mod.rs 2026-04-13 17:44:41 -04:00
lookups.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00
memory.rs Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00
mod.rs Remove Store::cached(), consolidate on access_local() 2026-04-13 18:11:58 -04:00
spectral.rs Remove dead functions from spectral.rs and identity.rs 2026-04-07 13:33:45 -04:00
transcript.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00