Commit Graph

4 Commits

Author SHA1 Message Date
ruv 4e9a33ce2a feat(memory): #2061 ADR-125 Phase 1 — MemoryService canonical entry point + deprecate UnifiedMemoryService
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>
2026-05-19 17:13:46 -04:00
rUv 7c811c1c96 v3: Major cleanup, benchmarking, and documentation
## Cleanup (~1000KB removed)
- Remove /implementation/ planning docs (no longer needed)
- Remove duplicate /coordination/, /core/, /shared/, /types/ folders
- Remove stale status/tracking MDs from @claude-flow modules
- Remove /docs/reports/ status documents

## Performance Benchmarking
- Add scripts/quick-benchmark.mjs for fast performance validation
- Add __tests__/setup.ts (required by vitest config)
- Add @claude-flow/memory/framework/benchmark.ts utilities
- All benchmarks passing targets:
  - Event Bus: 6ms for 100k events (<50ms target)
  - Map Lookup: 16ms for 100k gets (<20ms target)
  - O(n) to O(1) optimization: 978x speedup confirmed

## Documentation
- Complete rewrite of v3/README.md with:
  - Architecture overview (10 ADRs)
  - Module architecture diagram
  - Full directory structure
  - Usage examples for all 10 modules
  - Performance targets and achievements
  - Installation and testing instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:00:34 +00:00
rUv 31f38f3723 checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-04 20:24:17 +00:00
rUv 10e72b7845 checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-04 19:37:48 +00:00