Skip to content

Measure durable disclosure completion with bounded receipts - #410

Merged
ctfbruce merged 1 commit into
mainfrom
feat/disclosure-completion-health
Oct 7, 2026
Merged

ctfbruce merged 1 commit into
mainfrom
feat/disclosure-completion-health

Conversation

@ctfbruce

@ctfbruce ctfbruce commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

A successful heartbeat previously did not establish whether its disclosed TESLA keys had been verified and stored. Heartbeat replies now acknowledge a bounded prefix only after verified durable completion. A failed write produces no receipt, and a retired chain remains available for retry until its final prefix is acknowledged. Older peers continue without receipts.

The executor measures the oldest newly acknowledged disclosure from its current schedule’s monotonic due time through receipt arrival. The operator metrics expose this completion bound separately from dispatcher backlog. Missing receipts, stale sessions, invalidated clocks, recovered schedules and expired samples remain unavailable; duplicate replies cannot refresh the sample. Sender and receiver use the same one-minute expiry. The bound includes the return path and does not establish independently calibrated one-way latency or extend archive retention.

Validation: pinned protocol generation and focused race checks across storage, executor/control transport and metrics. A real leased control connection to the production dispatcher and SQLite verifies that a held transaction delays acknowledgment, an injected write failure produces no receipt, and a lost reply followed by a duplicate preserves the original due time. Source and generated files match the tested snapshot. All 17 candidate checks passed on 8755920, including installed local flow, released compatibility and complete test/race/kernel suites. Normal merge 47bb370 preserves the exact reviewed and tested tree.

Related: #116.

A successful heartbeat can contain a rejected or unrecorded disclosure.
Return bounded receipts only for verified durable key coverage, retain retired
keys until their final coverage is acknowledged, and measure current-generation
schedule-to-acknowledgment duration on the sender clock. Export the fresh
completion bound separately from dispatcher backlog, leaving invalid clocks,
recovered generations, missing receipts and expired samples unavailable.

GitHub issue #116.
@ctfbruce
ctfbruce merged commit 47bb370 into main Oct 7, 2026
17 checks passed
@vincent10400094
vincent10400094 deleted the feat/disclosure-completion-health branch October 8, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant