consciousness/src/hippocampus
ProofOfConcept 5d803441c9 cleanup: kill dead code, fix signal handler safety
- Remove unused now_secs(), parse_json_response, any_alive, Regex import
- Signal handler: replace Mutex with AtomicPtr<c_char> for signal safety
  (Mutex::lock in a signal handler can deadlock if main thread holds it)
- PidGuard Drop reclaims the leaked CString; signal handler just unlinks
- scan_pid_files moved to knowledge.rs as pub helper
- setup_agent_state calls scan_pid_files to clean stale pids on startup

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-26 15:58:59 -04:00
..
neuro restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
query tools: add memory_query for structured graph queries 2026-03-25 02:22:07 -04:00
store store: link_set upserts instead of erroring on missing link 2026-03-26 14:22:12 -04:00
counters.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
cursor.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
graph.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
lookups.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
memory.rs render: use backtick-quoted keys and tool call format in link footer 2026-03-26 14:22:21 -04:00
memory_search.rs cleanup: kill dead code, fix signal handler safety 2026-03-26 15:58:59 -04:00
migrate.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
mod.rs hippocampus: move MemoryNode + store ops to where they belong 2026-03-25 01:55:21 -04:00
similarity.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
spectral.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00
transcript.rs restructure: hippocampus/ for memory, subconscious/ for agents 2026-03-25 01:05:30 -04:00