consciousness/src
Kent Overstreet 46f8fe662e store: strip .md suffix from all keys
Keys were a vestige of the file-based era. resolve_key() added .md
to lookups while upsert() used bare keys, creating phantom duplicate
nodes (the instructions bug: writes went to "instructions", reads
found "instructions.md").

- Remove .md normalization from resolve_key, strip instead
- Update all hardcoded key patterns (journal.md# → journal#, etc)
- Add strip_md_keys() migration to fsck: renames nodes and relations
- Add broken link detection to health report
- Delete redirect table (no longer needed)
- Update config defaults and config.jsonl

Migration: run `poc-memory fsck` to rename existing keys.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
2026-03-08 19:41:26 -04:00
..
bin tmux: remove Escape/C-c/C-u clear sequence from send_prompt 2026-03-08 18:49:30 -04:00
neuro neuro: split into scoring, prompts, and rewrite modules 2026-03-05 10:24:05 -05:00
store store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
audit.rs llm: full per-agent usage logging with prompts and responses 2026-03-05 22:52:08 -05:00
config.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
consolidate.rs llm: full per-agent usage logging with prompts and responses 2026-03-05 22:52:08 -05:00
daemon.rs fact-mine: progress callbacks, size-sorted queue, fix empty re-queue 2026-03-08 18:31:31 -04:00
digest.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
enrich.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
fact_mine.rs fact-mine: progress callbacks, size-sorted queue, fix empty re-queue 2026-03-08 18:31:31 -04:00
graph.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
knowledge.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
lib.rs Extract lib.rs, inline search in memory-search hook 2026-03-05 22:23:03 -05:00
llm.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
lookups.rs add daily lookup counter for memory retrieval tracking 2026-03-03 18:36:25 -05:00
main.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
migrate.rs types: unify all epoch timestamps to i64 2026-03-05 10:23:57 -05:00
query.rs store: strip .md suffix from all keys 2026-03-08 19:41:26 -04:00
search.rs Extract lib.rs, inline search in memory-search hook 2026-03-05 22:23:03 -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 Extract lib.rs, inline search in memory-search hook 2026-03-05 22:23:03 -05:00