Commit graph

2 commits

Author SHA1 Message Date
rUv
a4168cc8fc fix(ruvbot): resolve typecheck and test failures
- Create missing learning/memory/MemoryManager.ts with Embedder and VectorIndex interfaces
- Fix core/index.ts to re-export memory types from learning module instead of non-existent core/memory
- Fix HybridSearch to await async vectorIndex.add() call and handle empty queries
- Fix MockSlackWebClient name collisions (users, files, reactions private Maps shadowed by API objects)
- Fix MockRouter path matching to properly split method:path keys with param colons
- Fix SkillRegistry updateMetrics calculation for success rate
- Fix test mocks to match async interface signatures (VectorIndex, Embedder)
- Update skill test latency calculation to use performance.now() for sub-ms precision

Test results: 561 passing (previously 287), 10 remaining edge case failures

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 22:40:53 +00:00
Claude
a26c159e6e feat(ruvbot): Add remaining ADRs and test suites
Additional Architecture Decision Records:
- ADR-005: Integration Layer (Slack, webhooks, external services)
- ADR-006: WASM Integration (ruvector-wasm, ruvllm)
- ADR-007: Learning System (SONA, trajectory learning)

Additional Test Suites:
- Integration: Multi-tenancy isolation, Postgres persistence, Slack
- Unit: API endpoints, WASM bindings, background workers

https://claude.ai/code/session_01GGEDq3rjDELfBzhn9u5fTo
2026-01-27 04:32:34 +00:00