An Immutable Audit Can Still Be Incomplete
Use witnessed checkpoints to detect missing records, reconcile configuration changes against destination journals, and account for permanent evidence loss.
Merkle consistency proofs show that a later checkpoint preserves a previously committed prefix. An executor can preserve every byte in that prefix and still omit the outcome of a production change. To audit defensive automation, compare the collector's records with the witness's commitment to the log, then reconcile the executor's intents with the destination's journal of effects.
In a fictional configuration service, the executor writes record 41, the intent for action a-7, at 11:59:04 UTC. It writes a dispatch marker for the same action at position 42 at 11:59:05. Two unrelated actions supply positions 43 and 44 at 11:59:07 and 11:59:09. The destination journal records the a-7 change at 11:59:11 under transaction cfg-east/582. The executor signs a tree head covering 44 entries at 11:59:15, and an independent witness accepts it at 11:59:16. Positions start at 1, so position 44 maps to Merkle leaf index 43 in the tree of size 44. Executor telemetry records a crash at 11:59:20. The executor never appends the outcome of a-7. At 11:59:30 an administrator changes the worker limit through the destination console.
Two absences in the same prefix
At 11:59:17 the collector receives record 43, exposing a hole at 42. At 11:59:18 it reads the witness's accepted head, which covers 44 entries, and finds that the collector also lacks position 44. The collector opens an incident one minute after it first detects each gap, at 12:00:17 for position 42 and 12:00:18 for position 44. Both incidents remain open at the 12:05 review. The accepted head binds all four positions from 41 through 44. The collector holds 41 and 43. The commitment establishes that positions 42 and 44 exist. The reviewer must recover and verify the corresponding bytes before attributing either entry to an action.
Figure 1 — Position 43 exposes the gap at 42. The accepted head exposes the gap at 44 even though the collector has received no later entry. “Bound” marks positions covered by the cryptographic commitment. Illustrative delivery snapshot, not measured data.
Gap detection depends on allocating positions in the same transaction that appends records. Separate allocation leaves holes after rollbacks and makes them indistinguishable from delivery failures. Writer lease changes preserve the stream's numbering and tree. The append store checks the current lease generation in the append transaction so a superseded writer cannot extend the stream after handover. Otherwise a collector could mistake a fork for duplicate delivery. The collector retains conflicting payloads at the same position as evidence. In a handover drill, deliver 42 before its grace expires and leave 44 absent. Clearing 42 must leave the timer for 44 intact across the lease change.
The witness's remaining blind interval
The checkpoint protocol borrows signed tree heads from Certificate Transparency (RFC 9162, §4.10) and Merkle consistency proofs from §2.1.4. The executor signs its stream identifier, writer generation, tree size, root and issuance time. It submits a consistency proof with each advance from the last accepted head. The witness verifies the signature and proof, then atomically saves the head and proof in a store outside the executor's write authority. After the crash, the collector can fetch the accepted heads and stored proof from the witness without record 42. A consistency proof authenticates the extension between roots. To verify delivery, the collector still needs every record in the review range and authenticates each at its position against the accepted root, or recomputes that root from the full prefix.
The executor takes each checkpoint from the committed append store so an old replica cannot report a stalled stream as idle. The witness accepts a same-size checkpoint only with the same root and a fresh signed issuance time. It rejects timestamps that fail to advance, arrive outside the delivery window, or exceed allowed clock skew. A delayed head inside the delivery window can still reset the acceptance clock while leaving newer appends uncovered. Track accepted tree size separately from the time since acceptance. In a verification drill, submit a correctly signed larger head with an altered prefix and check that the witness rejects it. Replay the last valid idle head and check that the freshness clock stays put. Collectors need a common witness or a way to compare accepted histories. Independent witnesses that never compare commitments can each accept a different fork.
The fictional service schedules checkpoints every 15 seconds, including when idle. Its paging policy adds 60 seconds of delivery grace to that interval, so the witness monitor pages after 75 seconds without a fresh acceptance. With the last acceptance at 11:59:16, the page fires at 12:00:31, independently of the collector's two gap incidents.
In a separate illustrative sizing model, start at an acceptance that covers every append so far and hold the rate at 50 appends per second. With prompt acceptance, a 15-second cadence puts up to 750 appends beyond the last accepted head just before the next acceptance. Cadences of 30, 60 and 120 seconds put up to 1,500, 3,000 and 6,000 appends beyond it, respectively. If the witness goes silent while appends continue, 75 seconds allow 3,750 unwitnessed appends by the time the page fires. Any preexisting backlog adds to that count.
Figure 2 — At 50 appends per second, witness silence allows 3,750 records to accumulate by the page, five times the 750 between prompt acceptances on the 15-second schedule. The bar marked “page” represents the alarm threshold. Illustrative rate model, not measured data.
The 15-second schedule divides modeled exposure by eight and multiplies scheduled submissions by eight compared with the 120-second schedule. An append-count trigger can request an early checkpoint during bursts. During witness congestion, even frequent submissions leave a growing run of appended records beyond the last accepted head. The alarm threshold sets the bound on how long silence can go unreported. A hard cap on unwitnessed records requires admission control. Charge each append beyond the accepted tree size and reserve space for mandatory records from work in flight. Make the cap check and reservation atomic so concurrent dispatches cannot spend the same capacity. As records arrive, convert their reservations to append charges. Release those charges as the witness covers more entries. A budget on production effects needs its own reservations at the destination, where console changes and other paths can bypass the executor.
A receipt can close an action while its record stays missing
The executor persists each intent before sending, in a durable store the reconciler reads independently of log delivery. If the store fails, the executor holds new dispatches. The destination writes its journal in the same transaction as each governed change, including changes through the console. Join intents to destination receipts using the durable operation identity. Use the attempt ID to tie individual dispatch markers to specific sends under that identity. Track overdue outcome records from the intents even when the collector has every committed position. An omitted append consumes no position.
The reverse join starts with every committed change in the destination's scope, including rows with an absent operation key. Equal totals cannot clear the review. A missing governed effect and an extra console edit can cancel in the counts. At 12:05, the receipt for cfg-east/582 lets the reviewer record the committed disposition of a-7. The console edit stays unmatched and goes to the destination owner even if the executor's entire prefix verifies. Exercise that path with a committed console edit and verify the reconciliation query emits it. An inner join on operation keys would lose precisely the row this test needs to surface.
In the same fictional review, a-11 has been open for 47 minutes, since the executor recorded its intent at 11:18. The service paged the on-call operator at 11:48 under its 30-minute policy. The partition that served the operation before migration has left the live lookup path. Its journal archive exists, but the live lookup lacks verified coverage of that partition's transaction range. The operator can settle the operation with a matching receipt. To close it as having produced no effect, the operator must first establish that no outstanding dispatch under that key can still commit, for example by fencing the key at every destination that could apply it. Then the operator checks complete journal coverage through the resulting transaction bounds on every affected partition. A pre-apply rejection settles only the attempt it names. A current-value read leaves the history open because a subsequent write can conceal an earlier commit.
The bounds of a signed review
A reconciled cut records the executor positions and destination transaction bounds already checked, together with evidence references and any open items carried forward. Bounds must use comparable ordering within each source and preserve per-partition coverage. A single wall-clock cutoff lets late records and skewed timestamps slide across review windows. Capture a stable journal watermark per partition and carry intents that can still produce later commits into the next review. Retain the journal and corresponding intents through the oldest cut that might reopen, allowing time for detection, archive restoration and comparison. Test restore against transaction bounds as well as object checksums. A valid archive object can still omit a partition.
Recover missing executor entries from a replica or archive and verify their positions against the accepted head before backfilling. If records are lost, preserve the head and attest to the affected stream, positions, sources searched and any known cause. A later record can document a recovered business outcome with its own evidence reference. The missing positions remain in the loss ledger. If evidence near the loss cannot bound its impact, reopen from the last independently reconciled cut and compare both directions across the affected destinations. A qualified sign-off carries forward each unresolved effect with an owner and an escalation deadline.
Evidence the 12:05 review can close
At 12:05 the destination receipt settles the outcome of a-7. The reviewer still owes an account of positions 42 and 44, the console edit, and the unresolved a-11 dispatches. A complete sign-off needs verified records for the committed range and an independent account of every governed effect within the journal bounds. If evidence recovery fails, the loss stays on the signed review.