/** * Phase 4 — MemoryConsolidator (ADR-125) * * Verifies: * - `sweepExpired()` after 1000 entries with `expiresAt` in the past → * `entries.size === 0` AND `hnsw.size === 0` (Acceptance Criterion #4). * - `dedup('keep-newest')` collapses content-hash duplicates and keeps the * newest by `updatedAt`. * - `dedup('keep-oldest')` keeps the oldest by `createdAt`. * - `dedup('merge-tags')` unions tags and keeps the newest. * - `compactHnsw` rebuilds the index so size matches `entries.size`. * - Auto-run timer with a small interval calls `runAll()` at least once. * - `nightlyLearner` controller delegates to `MemoryConsolidator.runAll()` * when a `MemoryService` is registered. */ export {}; //# sourceMappingURL=consolidator.test.d.ts.map