* fix(memory): adapt real AgentDB HNSWIndex with safe fallback
Verify actual native search, mutation lifecycle, concurrency and exact fallback.
Include source-bound regression and bounded benchmark evidence for #4249.
No persistence or package-release claim.
* fix(memory): preserve expiry and vector ownership across native search
Keep TTL-bearing semantic queries exact and detach stored/returned vectors.
Snapshot query vectors before awaits. Add three real-native regressions and
refresh the verification receipt: 645 tests pass; disclose transient timing miss.
* fix(memory): bump @claude-flow/memory to 3.0.8 for the real HNSW adapter
#4249's leaf-package-publish audit correctly flagged that
agentdb-backend.ts/agentdb-hnsw-adapter.ts changed source but the
package version was still 3.0.7. Bumps the leaf, the CLI's exact pin,
and the pnpm-lock.yaml specifier together so the fix actually ships.
Co-Authored-By: RuFlo <ruv@ruv.net>
---------
Co-authored-by: r <r@x>
Land Phase 1 of ADR-125. Public API now exports `MemoryService` as the
canonical entry point, with `UnifiedMemoryService` preserved as an
`@deprecated` alias (same class) until 3.0.0-rc.
Removed from the public surface:
- `HnswLite` — internal to RvfBackend; reachable via explicit module path.
- `RvfBackend` — selected through `createDatabase({ provider: 'rvf' })`.
Updates:
- `prepublishOnly` now requires `MemoryService` + `UnifiedMemoryService`
AND fails if `HnswLite` / `RvfBackend` re-appear on the top-level surface.
- New `src/index.test.ts` (7 tests) asserts the canonical surface.
- New `docs/migration-3.0.0-alpha.18.md` documents rename + deprecation.
No runtime behavior change. All 367 existing tests still pass; +7 new.
Refs: ADR-125 Phase 1, ADR-006, ADR-009
Closes: part of #2061
Co-Authored-By: RuFlo <ruv@ruv.net>