consciousness/src/hippocampus
Kent Overstreet f56fc3a7c7 locks: add process-wide lock hold time tracking
TrackedMutex and TrackedRwLock wrappers that record hold durations
by source location using #[track_caller]. Stats written to
~/.consciousness/lock-stats.json every second, sorted by max hold time.

Re-exported as crate::Mutex so all locks are instrumented. To disable,
swap the re-export back to tokio::sync::Mutex.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-12 20:27:42 -04:00
..
neuro Delete similarity module, rewrite module, and all text-similarity code 2026-04-10 15:44:10 -04:00
query query: MCP tool uses execute_query, add double-quote strings 2026-04-12 13:30:00 -04:00
store locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -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
lookups.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00
memory.rs surface: tag recent nodes as (new) instead of hiding them 2026-03-26 21:19:19 -04:00
mod.rs more dead code deletion 2026-04-12 02:27:05 -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