1 Commits
Author SHA1 Message Date
Nick f944d7df38 feat(cache): close PARTIAL gaps — dichotomy wave
Port the eleven audit-named missing fns name-preserving 1:1 from
src/rune/cache.py (recordHit/_record_hit, recordMiss, flushStats,
getCache, putCache, invalidateScope, invalidateAll, nowTs, parseTs,
cacheStats, handleHook) with the in-memory hit/miss accumulation
(threshold 50 / interval 30s), INVALIDATION_MAP, full schema (both
indexes) and an oracle-byte-parity CLI (usage gates, --json indent=2,
rune-aware :20 padding and [:200] truncation, compact hook line,
PLUGIN manifest). Clock/monotonic/DB behind Env seams.

Frozen truth: 78 cases via the shared freeze_truth.py harness
(envelope, pinned clock, sandboxed RUNE_MEMORY_DIR), byte-identical
regen + --verify green. Go battery replays verbatim + flush-branch
seam pins + 16-case CLI live parity (100%). Python oracle battery 12
passed BOTH pins. Audit: cache 6/17 -> 17/17 FULL (GO).
2026-10-14 02:59:43 +01:00