/** * Pruning Mask Tests — Core Package * * Direct unit tests for the pruning mask module: * - buildMaskedPrincipleSet() — pure LWW (Last Write Wins) function * - getCachedMaskedPrincipleSet() — TTL-cached wrapper * - clearPruningMaskCache() — cache invalidation * * Tests verify: * - Empty/null input → empty set * - Single review → correct masking * - Multiple reviews for same principle → LWW semantics * - Corrupt records → skipped silently * - Archive-candidate → masked; keep/defer → not masked * - TTL cache: returns cached value within TTL, re-reads after expiry * - Cache keyed by workspaceDir * - clearPruningMaskCache resets cache state * * ERR checklist: * - ERR-002 / EP-03: corrupt records skipped (fail-safe) * - ERR-007 / EP-02: single source for LWW decision * - EP-07: cache keyed by workspaceDir prevents cross-workspace leakage */ export {}; //# sourceMappingURL=pruning-mask.test.d.ts.map