consciousness/poc-memory/src
ProofOfConcept 06df66cf4c memory-search: add fuzzy key matching and content-based seed extraction
match_seeds() previously only found nodes whose keys exactly matched
search terms. This meant searches like "formal verification" or
"bcachefs plan" returned nothing — no nodes are keyed with those
exact strings.

Three-tier matching strategy:
1. Exact key match (full weight) — unchanged
2. Key component match (0.5× weight) — split keys on -/_/./#,
   match individual words. "plan" now finds "the-plan", "verification"
   finds "c-to-rust-verification-workflow", etc.
3. Content match (0.2× weight, capped at 50 hits) — search node
   content for terms that didn't match any key. Catches nodes whose
   keys are opaque but whose content is relevant.

Also adds prompt-based seeding to the hook pipeline: extract_query_terms
from the user's prompt and merge into the term set. Previously the hook
only seeded from transcript scanning (finding node keys as substrings
in conversation history), which meant fresh sessions or queries about
new topics produced no search results at all.
2026-03-10 00:41:08 -04:00
..
agents daemon: rework consolidation pipeline and add graph health metrics 2026-03-09 17:02:01 -04:00
bin memory-search: add fuzzy key matching and content-based seed extraction 2026-03-10 00:41:08 -04:00
neuro daemon: rework consolidation pipeline and add graph health metrics 2026-03-09 17:02:01 -04:00
store store: handle DST gaps in epoch_to_local 2026-03-09 17:02:29 -04:00
config.rs consolidate hardcoded paths into config, refactor apply_agent 2026-03-08 21:16:52 -04:00
graph.rs use HashSet for orphan edge dedup, fix redundant type qualification 2026-03-08 21:43:58 -04:00
lib.rs transcript: extract JSONL backward scanner and compaction detection into library 2026-03-09 17:06:32 -04:00
lookups.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
main.rs daemon: rework consolidation pipeline and add graph health metrics 2026-03-09 17:02:01 -04:00
migrate.rs remove dead code: unused imports, functions, and fields 2026-03-08 20:51:56 -04:00
query.rs extract truncation helpers, fix clippy warnings, dedup batching loop 2026-03-08 21:13:02 -04:00
search.rs memory-search: add fuzzy key matching and content-based seed extraction 2026-03-10 00:41:08 -04:00
similarity.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
spectral.rs search: composable algorithm pipeline 2026-03-09 01:19:04 -04:00
transcript.rs transcript: extract JSONL backward scanner and compaction detection into library 2026-03-09 17:06:32 -04:00
util.rs fix unwrap-on-partial_cmp, dedup helpers, O(1) relation dedup 2026-03-08 21:22:05 -04:00