This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryUpdates Tests, Out of scope, and query across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
Adds entity matching arm to `hybridSearch` alongside dense and sparse arms. Adds entity matching arm to `hybridSearch` alongside dense and sparse arms. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Feature | Medium |
Introduces `entity-tagger.ts` for extracting emails, URLs, file paths, quoted phrases, and proper‑noun 2‑grams. Introduces `entity-tagger.ts` for extracting emails, URLs, file paths, quoted phrases, and proper‑noun 2‑grams. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Feature | Medium |
Adds `signals` array (`'vector' | 'bm25' | 'entity'`) to each fused search result for provenance. Adds `signals` array (`'vector' | 'bm25' | 'entity'`) to each fused search result for provenance. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Feature | Medium |
Pins `@claude-flow/cli` dependency on `@claude-flow/memory` to `^3.0.0-alpha.20` for automatic entity arm inclusion. Pins `@claude-flow/cli` dependency on `@claude-flow/memory` to `^3.0.0-alpha.20` for automatic entity arm inclusion. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Feature | Medium |
Adds 12 new tests in `entity-tagger.test.ts` covering regex extraction edge cases. Adds 12 new tests in `entity-tagger.test.ts` covering regex extraction edge cases. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Feature | Medium |
Adds 2 new tests in `graceful-retrieval.test.ts` for signal provenance assertions. Adds 2 new tests in `graceful-retrieval.test.ts` for signal provenance assertions. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Dependency | Low |
Updates `@claude-flow/memory` from 3.0.0-alpha.19 to 3.0.0-alpha.20. Updates `@claude-flow/memory` from 3.0.0-alpha.19 to 3.0.0-alpha.20. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Dependency | Low |
Updates `@claude-flow/cli`, `claude-flow`, and `ruflo` to version 3.10.39. Updates `@claude-flow/cli`, `claude-flow`, and `ruflo` to version 3.10.39. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Performance | Medium |
Entity signal yields ~47% RRF score boost for entity‑matching queries. Entity signal yields ~47% RRF score boost for entity‑matching queries. Source: llm_adapter@2026-06-08 Confidence: high |
— |
| Bugfix | Low |
Regenerates `v3/pnpm-lock.yaml` after dependency bump to avoid frozen‑lockfile failures. Regenerates `v3/pnpm-lock.yaml` after dependency bump to avoid frozen‑lockfile failures. Source: llm_adapter@2026-06-08 Confidence: high |
— |
Full changelog
First implementation landed from the dream-cycle research cluster (#2316-#2324). Adds entity matching as a third RRF arm in hybridSearch alongside dense (HNSW/RaBitQ) and sparse (FTS5/BM25), plus per-result signal provenance.
What's new
@claude-flow/memory 3.0.0-alpha.20 — entity arm + signal provenance in the hybridSearch controller:
entity-tagger.ts— regex extractor for emails, URLs, file paths (POSIX + Windows), quoted phrases, proper-noun 2-grams. Deliberately conservative: false negatives OK, false positives would dilute RRF.hybridSearchnow runs three arms in parallel: dense + sparse + entity (per-token keyword scan, gated onextractEntities(query).length > 0). Empty entity set drops the arm rather than passing[]to dilute fusion.signals: ('vector' | 'bm25' | 'entity')[]on every fused result. Computed by pre-fusion set membership; lets callers debug which arms surfaced an entry without re-running the search.
Capability smoke (end-to-end against built dist)
Corpus: 30 generic "authentication" entries + 1 "Alice Smith" needle. Query: "Alice Smith authentication":
score=0.0477 signals=["vector","bm25","entity"] key=alice-needle ← #1
score=0.0323 signals=["vector","bm25"] key=generic-1
score=0.0323 signals=["vector","bm25"] key=generic-0
score=0.0313 signals=["vector","bm25"] key=generic-3
score=0.0301 signals=["vector","bm25"] key=generic-2
Alice ranks #1 with full triplet provenance — runners-up only fire on vector + sparse. ~47% RRF score boost from the entity signal.
Packages
| Package | Old | New | Tags |
|---|---|---|---|
| @claude-flow/memory | 3.0.0-alpha.19 | 3.0.0-alpha.20 | latest, alpha, v3alpha |
| @claude-flow/cli | 3.10.38 | 3.10.39 | latest, alpha, v3alpha |
| claude-flow | 3.10.38 | 3.10.39 | latest, alpha, v3alpha |
| ruflo | 3.10.38 | 3.10.39 | latest, alpha, v3alpha |
@claude-flow/cli's @claude-flow/memory dep pinned to ^3.0.0-alpha.20 so wrapper users get the entity arm automatically. v3/pnpm-lock.yaml regen included (lesson from #2311 — bumping a workspace dep without lockfile regen breaks pnpm install --frozen-lockfile).
What this implements vs the dream-cycle ADR
ADR-147 (#2317) split the work as P1 "wire FTS5 + RRF fusion" and P2 "entity arm + provenance". The investigation found P1 was already shipped in controller-registry.ts:713 before the ADR was filed — applyRRF(k=60) + applyMMR(λ=0.7) over dense + sparse was already in. This release lands the actual gap, P2.
Tracking note for the dream-cycle process posted on #2324.
Tests
- 12 new
entity-tagger.test.ts(regex pinning — generic prose returns empty,and/or→ empty,"a" over "b"→ empty, single capitalized words → empty) - 2 new
graceful-retrieval.test.tsADR-147 assertions (signal provenance on every fused result; needle-in-haystack) - Full memory suite: 416/420 (4 pre-existing Windows-env failures in
agent-memory-scope,auto-memory-bridge,benchmark— untouched files)
Out of scope (follow-ups)
- Dedicated SQL entity index — current per-entity
searchKeywordcalls are fine for typical query entity counts (1-3); unbounded if a query mentions 20+. A future ADR can add anentity_indextable for hard-bound latency. - Async writes by default (ADR-147 P3) — orthogonal; consolidator already handles HNSW background rebuild.
- LoCoMo benchmark publication (ADR-147 P4) — needs harness wiring + dataset access; separate workstream.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Related tools
Beta — feedback welcome: [email protected]