consciousness/src
Kent Overstreet ca0c8cfac6 add daily lookup counter for memory retrieval tracking
Mmap'd open-addressing hash table (~49KB/day) records which memory
keys get retrieved. FNV-1a hash, linear probing, 4096 slots.

- lookups::bump()/bump_many(): fast path, no store loading needed
- Automatically wired into cmd_search (top 15 results bumped)
- lookup-bump subcommand for external callers
- lookups [DATE] subcommand shows resolved counts

This gives the knowledge loop a signal for which graph neighborhoods
are actively used, enabling targeted extraction.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
2026-03-03 18:36:25 -05:00
..
bin spectral decomposition, search improvements, char boundary fix 2026-03-03 01:33:31 -05:00
store replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00
audit.rs digest: split into focused modules, externalize prompts 2026-03-03 17:18:18 -05:00
consolidate.rs replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00
digest.rs digest: inline label_dates closures into DigestLevel definitions 2026-03-03 18:09:40 -05:00
enrich.rs replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00
graph.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
llm.rs digest: split into focused modules, externalize prompts 2026-03-03 17:18:18 -05:00
lookups.rs add daily lookup counter for memory retrieval tracking 2026-03-03 18:36:25 -05:00
main.rs add daily lookup counter for memory retrieval tracking 2026-03-03 18:36:25 -05:00
migrate.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
neuro.rs digest: split into focused modules, externalize prompts 2026-03-03 17:18:18 -05:00
query.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
search.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
similarity.rs query: rich QueryResult + toolkit cleanup 2026-03-03 12:07:04 -05:00
spectral.rs spectral decomposition, search improvements, char boundary fix 2026-03-03 01:33:31 -05:00
util.rs replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00