Files
ruflo/v3/@claude-flow/memory/src
rUv b099b705f8 feat(memory): ADR-147 entity arm + signal provenance in hybridSearch (#2327)
Adds entity matching as a third RRF arm alongside dense + sparse, plus per-result signal provenance (#2317).

What this lands:
- `entity-tagger.ts` — regex extractor for emails, URLs, file paths, quoted phrases, proper-noun 2-grams (12 unit tests)
- `hybridSearch` controller — entity arm wired into the existing RRF+MMR fusion at `controller-registry.ts`
- `signals: ('vector' | 'bm25' | 'entity')[]` on every fused result

End-to-end capability smoke against built dist (not just TS source):
- Corpus: 30 generic "authentication" entries + 1 "Alice Smith" needle
- Query: `"Alice Smith authentication"`
- Result: **Alice ranks #1** with `signals=["vector","bm25","entity"]`; runners-up only have `["vector","bm25"]`
- RRF score gap: 0.0477 vs 0.0323 = **47% boost** from the entity signal

16/16 tests in touched modules. Full memory suite 416/420 (4 pre-existing Windows-env failures in unrelated files).

Closes part of #2317. The ADR's stated P1 ("wire FTS5 + RRF") was already shipped before this PR; this lands the actual P2 (entity arm + provenance) that the dream-cycle author missed when surveying the tree.
2026-06-08 19:31:23 +02:00
..
2026-01-04 23:50:45 +00:00
2026-01-04 23:50:45 +00:00
2026-01-05 16:42:40 +00:00
2026-01-04 19:57:32 +00:00
2026-02-08 17:11:18 +00:00
2026-01-05 17:28:09 +00:00
2026-02-08 03:36:33 +00:00
2026-02-08 03:37:26 +00:00
2026-02-08 03:36:39 +00:00
2026-02-08 03:38:14 +00:00
2026-01-05 17:28:09 +00:00
2026-01-05 17:28:09 +00:00
2026-02-08 03:41:11 +00:00