Files
rose-ash/lib/persist/compaction.sx
giles aff7d1e84f
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m0s
persist: compaction — drop snapshotted prefix, monotonic seq + 11 tests
Backend now tracks last-seq as a monotonic high-water mark (survives
truncation) and exposes :truncate-through. compaction.sx: persist/compact
checkpoints then drops events with seq <= snapshot seq; should-compact?/
maybe-compact give an explicit every-N policy. Determinism: post-compaction
replay value == uncompacted full replay. Phase 3 complete, 76/76.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 18:42:06 +00:00

1.6 KiB