Preprint
Article

This version is not peer-reviewed.

Post-Quantum Ratchet Messaging Under Application Stalls: An SPQR Study of Acknowledgment Policies and Receiver Buffer Limits

Submitted:

17 November 2026

Posted:

19 November 2026

You are already at the latest version

Abstract
Application stalls can delay a messaging ratchet even when the receiving endpoint can authenticate and store ciphertexts. We study this interaction in a wrapper around a pinned Signal Sparse Post-Quantum Ratchet implementation. Acceptance-gated acknowledgments follow local application acceptance; durable-reception acknowledgments follow committed receiver custody. These are different delivery contracts. The wrapper combines immutable ciphertext retries, bounded sender outboxes and finite receiver pending storage. We measure communication to a declared conditional recovery witness separately from delivery and workload completion. Four distinct completed settings use fewer bytes to the witness under durable reception but 0.038–0.303% more whole-workload bytes. A separate adverse case attains a witness before rejecting a delayed ciphertext outside the receiver’s retention window. At the primary cut, a recorded capacity classification matches 53/54 constrained observations, with one exception at a shifted stall phase. A phase-specific occupancy diagnostic matches 54/54 retrospectively, as consistency and adjacent-capacity evidence. These deterministic observations support an implementation-specific account of receipt, retry, storage and ratchet interactions. They establish neither earliest recovery nor a universal storage bound, physical power-loss durability or an end-to-end post-compromise-security theorem. The witness remains conditional on one-time committed-state disclosure followed by passive observation.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

A messaging ratchet must process fresh protocol information to recover from disclosed state. Post-quantum key agreement makes the communication supporting that progress a practical design consideration, particularly when key exchanges are distributed across multiple messages [1,2,3,4]. Applications introduce a separate source of delay. A receiver can remain online and continue authenticating traffic while its application temporarily stops accepting messages. Whether that condition also delays new ratchet-bearing traffic depends on the surrounding acknowledgment, admission and retry rules.
Consider a sender that retains each ciphertext until it receives an authenticated acknowledgment. If acknowledgment release waits for application acceptance, an application stall can keep sender outbox entries occupied. Once that outbox is full, the sender cannot generate fresh DATA records. Repeating an existing ciphertext preserves its original ratchet information; it does not create another ratchet step. A receipt released after committed receiver storage can free the sender earlier, but receiver storage must then absorb records awaiting acceptance. When that storage is finite, refusal and later retries can restore a coupling between application service and ratchet progress.
This causal chain is a property of the integration studied here, rather than a property established for every post-quantum messaging system (Supplementary Material S2). We investigate how acknowledgment release and finite receiver pending capacity affect ratchet progress and communication cost during application stalls. The comparison distinguishes three events: authenticated commitment at the receiver, local application acceptance, and retirement of the sender’s stored obligation. An external command or physical action is outside the experiment. Acceptance-gated and durable-reception acknowledgments provide different information to the sender, even when both workloads eventually accept every offered record. Any performance comparison must preserve that semantic difference.
The paper addresses three questions. First, how do acknowledgment policy and receiver capacity change the time, authenticated-message count and serialized bytes required to reach a declared SPQR milestone? Second, do costs measured to that milestone agree with whole-workload outcomes and communication costs? Third, does a capacity prediction derived at one stall phase retain its observed classification at two shifted phases? The third question distinguishes a recorded prediction from a diagnostic calculated after observing phase-specific occupancy.
The contribution is an implemented and measured interaction among acknowledgment release, immutable retries, bounded sender outboxes, finite receiver pending storage and a declared conditional recovery witness. The results preserve both favorable and adverse policy comparisons. The principal findings are:
  • Policy-ranking reversals. Four completed settings use fewer bytes to the conditional recovery witness under durable reception but more bytes over the full workload.
  • Delivery rejection after witness attainment. A delayed ciphertext is rejected after witness attainment because its required epoch is no longer retained by the receiver.
  • A phase-dependent capacity exception. The frozen capacity classification has one exception at a shifted stall phase; the retrospective occupancy diagnostic is reported separately.
These findings provide concrete limits on what a ratchet-progress metric can say about communication efficiency and delivery.
Figure 1 summarizes the acknowledgment paths and the distinct progress, delivery and communication outcomes measured in this study.
The study uses a fixed SPQR revision and finite deterministic workloads. Its security interpretation concerns a one-time disclosure of committed endpoint checkpoints followed by passive observation. It neither changes the underlying ratchet nor estimates an adversary’s distinguishing advantage. Section 3, Section 4 and Section 5 define the integration, conditional witness and methods; Section 6 organizes the saved results; Section 7 and Section 8 discuss their implications and limits.

3. Messaging System and Delivery Contracts

3.1. Endpoint and Message Model

The implementation uses Signal SPQR 1.7.0 at commit 3a69df8f01179fce970693f072b710a8ab8dc6c2. Two Rust workers, A and B, use complementary SPQR directions. The research wrapper adds application framing, AES-256-GCM encryption [12], durable checkpoint operations, sender outboxes, receiver pending records and authenticated receipts. SPQR supplies message keys. This fixture does not implement the complete deployed Signal messaging stack, an identity handshake or the Triple Ratchet [13] (Supplementary Material S2).
FIPS 203 specifies the underlying ML-KEM primitive [14]; the incremental exchange used here is described by ML-KEM Braid [2]. The primitive specification does not establish security of the complete wrapper.
Each workload begins with a fresh 16-byte session identifier and a 32-byte shared fixture authentication secret supplied locally to both workers. A fresh application record invokes SPQR send. A wrapper HKDF-SHA-256 derivation binds the session, origin and record identity and produces separate data and receipt keys [15]. The complete fixture header is authenticated associated data for AES-256-GCM; a fresh 12-byte nonce is sampled for the new encryption. The application payload is 64 bytes, formed by repeating the SHA-256 digest of the record’s deterministic origin/​identity string. This permits receiver-side equality checks without retaining arbitrary application content in the analysis (Supplementary Material S2).
A DATA frame contains a 49-byte fixed header, a variable-length SPQR message, a 16-byte authentication tag and the 64-byte payload. Its serialized length is therefore 129 bytes plus the SPQR-message length. A receipt occupies 93 bytes. Rates in this paper apply to those complete serialized frames, including receipts and retransmissions. They are not SPQR chunk-size parameters (Supplementary Material S2).

3.2. Commitment and Acknowledgment Release

Before a successful MAKE operation is exposed to the controller, the sender commits both its advanced ratchet state and the complete ciphertext to the outbox. The outbox retains a receipt-verification key and the obligation to retry. Retransmission uses the stored frame unchanged; it does not reencrypt the payload or invoke SPQR send again. Fresh generation requires an offered record and an available outbox slot (Supplementary Material S2).
For an admissible new frame, the receiver runs SPQR receive, authenticates the ciphertext, and commits the advanced ratchet state, pending plaintext and cached receipt together. Authentication failure does not commit the candidate ratchet state. ACCEPT is a separate durable transition that removes pending plaintext while retaining receipt metadata. The controller can release the same cached receipt according to either policy in Table 1. On receipt verification, the sender durably retires the corresponding outbox entry (Supplementary Material S2).
The V8–V11 SPF8 receipt contains a marker, session identifier, origin, record identity, ciphertext hash and HMAC; it contains no SPQR message. Its bytes are generated at authenticated reception and remain unchanged through ACCEPT. The inherited MAC domain contains the word accepted, but that string does not encode a changing acceptance state. Under trusted release ordering, an acceptance-gated receipt implies prior local ACCEPT, whereas a durable-reception receipt establishes custody without that implication. The durable arm adds no separate later application-acceptance acknowledgment. Neither receipt proves external command execution. V7 uses the earlier acceptance-gated SPA4 receipt and CONFIRM operation, also with 93-byte receipts (Supplementary Material S2).
In V9–V11, a new unstored frame arriving at a full pending inbox is refused before SPQR receive or persistence. No receipt is released and no hidden receiver queue accepts it. The sender retains its immutable obligation. A byte-identical duplicate already in receiver custody is recognized before the capacity check and can receive its cached receipt when release policy permits, even while the inbox is full. After a slot becomes available, the same ciphertext can be admitted on a later scheduled attempt (Supplementary Material S2).

3.3. Persistence and Epoch Retention

Each committed mutation rewrites a complete checkpoint through a temporary file, file synchronization, rename and synchronization of the containing directory before returning success. Restart loading uses the committed checkpoint. This defines the successful commit contract exercised by the fixture; the reported interruption controls concern process-crash visibility, not physical power-loss durability or external exactly-once execution (Supplementary Material S2). Crash-consistent application updates depend on filesystem persistence properties, including ordering and directory-entry persistence [16].
SPQR is initialized with version V1, minimum version V1 and its default chain parameters. At the pinned revision, max_jump is 25,000 and max_​ooo_​keys is 2,000. The implementation retains one epoch preceding the local send epoch, in addition to that send epoch and any newer installed epochs. Thus the retained state need not contain exactly two epochs at every instant. The experiment does not tune this retention rule. A ciphertext can remain a valid sender obligation while its message-key epoch later leaves the receiver’s retained history; Section 6.4 examines such an outcome [13] (Supplementary Material S2).

4. Exposure Model and Conditional Recovery Witness

4.1. Disclosure and Adversary Assumptions

At a selected cut c, a hypothetical adversary learns both endpoints’ complete committed checkpoints. Disclosure includes current roots, retained directional chains and skipped message keys, retained KEM decapsulation or encapsulation state, authenticators, and initialization secrets still present. It also includes wrapper outboxes and inboxes: stored receipt keys, ciphertexts, metadata, pending plaintext and retained receipt records. Plaintext already exposed at the cut is outside any subsequent confidentiality claim. An empty KEM exposure set does not make a checkpoint uncompromised [13] (Supplementary Material S2).
The adversary observes the public transcript before and after the cut but subsequently remains passive. Continuing state access, active injection or alteration, rollback, controller compromise and influence over future randomness are excluded. Cuts occur between completed synchronous worker commands; live stack contents, RNG state and partially completed operations are excluded. Alternative cuts are separate hypothetical disclosures over one execution, rather than cumulative compromises of that execution. Prescribed network loss in the earlier V7 workloads is a controller condition, not an adversarial capability (Supplementary Material S2). The transcript comprises protocol traffic. Controller-only diagnostics are excluded from the modeled adversary view; diagnostic values stored in disclosed checkpoints remain exposed.
The intended post-quantum interpretation assumes a computational adversary that may use quantum computation, subject to the security assumptions for the pinned incremental KEM and the symmetric derivation and encryption components. No concrete quantum security level or adversarial advantage is measured. Because committed checkpoints disclose authenticators, extending the claim to continuing active attacks would require a materially different argument. The model’s passive restriction and trusted future entropy are therefore substantive [1,2,5,13].

4.2. Epochs and the Exposed Frontier

Three epoch quantities must be separated: the SCKA epoch carried in the SPQR preamble, the latest epoch incorporated into the symmetric chain, and the epoch of the payload message key. In the pinned production API, both send and receive select the payload key using wire epoch minus one. An operation may also install a newly emitted SCKA output. In particular, sending from HeaderReceived(e) can emit and install secret e while the accompanying payload still uses epoch e−1. The observer therefore reads the committed chain epoch rather than inferring it from a state name or a wire label [13; Appendix A].
Let CX(c) be endpoint X’s committed Chain.​current_​epoch, using zero for an initially absent chain. Let VX(c) be the set returned by the pinned eleven-state exposure mapping. The mapping returns {e} for KeysSampled, HeaderSent, Ct1Received, Ek​Sent​Ct1​Received, Ct1Sampled, Ek​Received​Ct1​Sampled, Ct1Acknowledged, and Ct2Sampled at SCKA epoch e; it returns the empty set for KeysUnsampled, No​Header​Received, and HeaderReceived. We define the joint frontier as
F ( c ) = max ( { C A ( c ) ,   C B ( c ) }   ∪   V A ( c )   ∪   V B ( c ) ) .
This maximum accounts for both an already incorporated root and KEM state whose output may not yet have been incorporated at the other endpoint. It is an upper frontier for the conditional argument, not an assertion that every earlier message key is recoverable. Retained old chain keys and skipped keys remain disclosed, but their epochs do not extend the frontier beyond the current chain epoch in reachable production states. The wrapper records CX from the serialized Chain, rather than estimating it from SCKA state labels [13; Appendix A].
The eleven-state mapping is reproduced in Appendix A. The upstream helper is analytical test bookkeeping, not a key-recovery attacker. Its eight marked states should be described as oracle-marked states rather than eight states retaining raw KEM secrets. Ct2Sampled is conservatively marked although the earlier encapsulation-state field has been consumed; the production chain already contains that epoch. The wrapper additionally fingerprints the serialized Chain.​next_​root field and records Chain.​current_​epoch. These are diagnostics of recorded state agreement under the observation and hash assumptions [13] (Supplementary Material S2).

4.3. Reachable-State Argument for Post-Cut Sampling

The source-level argument concerns honestly reachable committed states. For a KEM epoch e, the key generator retains its decapsulation key in marked states until successful decapsulation emits secret e, which production receive immediately incorporates into the chain. The ciphertext generator emits secret e when sampling its first ciphertext component, and production send incorporates that output immediately. Later consumption of encapsulation state cannot remove the fact that e has already entered the committed chain. Transition to a later epoch retains an authenticator but does not reuse the preceding epoch’s decapsulation key or encapsulation state. New KEM coins enter through key generation and the first encapsulation stage [13; Appendix A].
Suppose e exceeds F(c). If either endpoint had completed and committed key generation or encapsulation for e before c, retained relevant KEM state would mark e as exposed, or advancement after consumption would place e at or below a committed chain epoch. Either condition conflicts with e>F(c). A cut between completed commands excludes an unfinished pre-cut operation that might later commit previously sampled coins. Subject to these reachability and command-boundary assumptions, exchanges above the frontier use post-cut KEM sampling. This reasoning identifies when coins are sampled; unpredictability additionally depends on the trusted randomness assumption. Inherited authenticators and other state components need not be newly sampled.
Deserialization and the observer do not establish every relation between arbitrary serialized SCKA and chain fields. The argument applies to the specified initialization and successful worker transitions, without state injection or rollback. Consecutive chain updates and internally consistent JSON do not by themselves prove that an arbitrary checkpoint is a reachable execution. This is a source invariant supporting the interpretation, not a complete compositional cryptographic theorem [13].

4.4. Frozen Operational Criterion

For each cut, the frozen classifier requires both endpoints to show post-cut consecutive root installations at F(c)+1 and F(c)+2. Each installation advances the chain epoch by one and changes its root fingerprint; endpoint root fingerprints agree at each required epoch. A lazily initialized epoch-zero chain does not count as a fresh KEM mix. The last of the four required installations defines the mixing milestone (Supplementary Material S2).
The classifier then requires a newly generated post-cut payload in each direction with payload-key epoch p at least F(c)+2. Matching root-installation observations for p must exist at both endpoints; the sender’s installation precedes generation and both installations precede authentication. The receiver reports successful authentication, the expected payload, and the same data-key fingerprint as the sender. The directions may qualify at different epochs. The witness is the later of their first qualifying authenticated events. Repeated transmission of an earlier ciphertext does not generate a fresh payload witness. Local acceptance and sender retirement remain separate milestones (Supplementary Material S2).
Trace ordering refers to successful commands with committed outcomes. MAKE encrypts before committing the new send state and outbox entry; RECV authenticates before committing its candidate ratchet state and pending plaintext. The controller records the returned state before the generated or authenticated event. Consequently, an authenticated trace event represents a successful receive command with a committed result, rather than the exact processor instant at which an AEAD check finished. Missing qualifying evidence yields NOT_​OBSERVED; workload completion cannot substitute for the criterion (Supplementary Material S2).

4.5. Conditional Cryptographic Interpretation

The derivation path supplies the link that fingerprint agreement alone cannot provide. Chain.​add_​epoch uses the previous root as HKDF salt and an emitted SCKA secret as input key material, producing the next root and directional chain seeds. Chain steps produce message keys; the wrapper derives separate data and receipt keys with session, direction and record context. If a qualifying post-frontier KEM secret remains unknown to the passive adversary and the derivation preserves the required secrecy under the disclosed-state correlations, it supplies fresh secret input even though the previous root was exposed. This interpretation assumes the pinned incremental ML-KEM construction, HKDF-SHA-256, authenticators, hash diagnostics and AES-GCM behave securely in the stated model, with faithful execution, fresh unpredictable OS randomness, correct commitment and no further leakage [6,12,13,15].
The records establish neither those computational assumptions nor adversary ignorance. Known deterministic test payloads, nonrepeated data-key fingerprints and successful decryption support functional consistency. The conditional confidentiality interpretation concerns qualifying new message keys; it does not retroactively protect disclosed pending plaintext, old retained keys or previously generated ciphertexts. Stronger cryptographic claims require an explicit justification of the source invariant and its complete cryptographic composition; an assessment by AI does not by itself discharge that obligation.
Signal describes ML-KEM Braid healing after two SCKA output keys are incorporated [1, Section 8.8]. The study waits for two outputs beyond the combined exposure frontier and then observes bidirectional payload use. This is deliberately a later operational endpoint than counting arbitrary post-cut outputs. The upstream test orchestrator instead uses a selected endpoint’s last vulnerable epoch plus one and an abstraction that includes buffered outputs. The combined production frontier and F+2 endpoint are not an arithmetic translation of that oracle. The necessity of the extra epoch has not been proved, and the criterion does not identify earliest recovery or declare earlier messages insecure [13] (Supplementary Material S2).
The pinned upstream extracted ProVerif analysis supplies bounded evidence for unchunked CKA with symbolic primitives and a reported four-epoch bound. Its status excludes chunking, message-key ratcheting and version negotiation, and separates KEM-secret from authenticator disclosures. The handwritten symmetric-ratchet model defines compromise processes but comments out their invocations in the final process. These analyses do not establish security of the complete wrapper, simultaneous full-checkpoint disclosure or the frozen classifier [13; Appendix A].
The local source review reports that all 1,608 cut snapshots across 402 trajectories decode consistently with logged observations and that all 804 saved classifications reproduce. Only nine state variants occur at cuts: HeaderReceived and Ek​Received​Ct1​Sampled lack saved cut-level coverage. Their presence elsewhere in traces and synthetic observer checks do not supply valid exposure evidence at those cuts. Later root derivations and AEAD operations are not independently replayed from full saved inputs. The terms conditional recovery witness and NOT_​OBSERVED preserve these assurance boundaries (Supplementary Material S1).

5. Experimental Methods

5.1. Deterministic Workload and Communication Model

A synchronous controller schedules two endpoint workers and a full-duplex virtual link. Each direction has a 4,096-byte FIFO admission limit and a serializer at 128, 256 or 512 bytes per tick. The admission reservation includes the full active frame until its serialization completes. DATA and receipts share the corresponding directional queue. Time uses 65,536 integer quanta per tick; the selected rates divide that scale exactly. Serialization time therefore follows the frame’s complete byte length without numerical integration error. At a shared timestamp, the ordering is cut, serialization completion, application resumption or scheduled restart, offer, and retry; an insertion serial breaks remaining ties. The serializer starts the next queued frame before invoking the preceding frame’s delivery callback (Supplementary Material S2).
For V8–V11, each endpoint is offered 512 records, beginning at tick zero and then every two ticks. The combined workload contains 1,024 records and 65,536 application-payload bytes. Unadmitted offers remain in the controller’s offered backlog; a full outbox delays fresh generation. The primary V7 cohort instead offers 128 records per direction at intervals of one or two ticks. Its later extension and isolation cohorts use the 512-record workload. The configured horizons are 428 ticks for primary V7 and 1,536 for the longer cohorts, but successful completion can stop an execution earlier (Supplementary Material S2).
Over the offering interval, the V8–V11 application workload offers one 64-byte record per tick across both endpoints; protocol and receipt overhead add wire demand. A retrospective check of the V10 no-stall acceptance-gated controls at pending capacity 8 gives realized whole-workload serializer utilization of 99.077%, 49.646% and 24.835% at rates 128, 256 and 512. Utilization is emitted bytes divided by combined directional capacity times elapsed duration. Over the primary witness window the corresponding values are 98.923%, 49.720% and 24.891%. The rate-128 baseline therefore has little measured idle capacity. These realized service ratios are not an offered wire-load bound and do not establish that every retry overloads the link (Supplementary Materials S1 and S2).
Application stalls apply simultaneously to both endpoints over a half-open interval [a,b). They suppress ACCEPT while permitting cryptographic reception and commitment. At b, all pending records are accepted at the same virtual instant. Outside a stall, acceptance is immediate. There is no measured application service rate or processing backlog after resumption. V8 and V9 use [96,156); V10 uses start 96 with durations 0, 30, 60 and 120; V11 tests positive durations 30, 60 and 120 at starts 96, 97 and 104, with shared no-stall controls (Supplementary Material S2).
A DATA serialization completion schedules another attempt after 20 ticks if the obligation remains outstanding. A transmit-admission rejection likewise schedules a later attempt. Retries have no backoff, jitter or capacity-dependent retuning. Duplicate queue admissions are coalesced and sender retirement clears the obligation. Receipts have no separate retransmission timer; a subsequent DATA attempt can elicit a cached receipt. V8–V11 include no network loss or in-trial restart. Earlier V7 workloads include prescribed blackouts and periodic worker restarts; their exact allocation is retained in Appendix A (Supplementary Material S2).
Cryptographic computation, checkpoint encoding, file synchronization, process creation and application service consume zero virtual time. Wall-clock watchdogs constrain worker execution but do not advance the virtual clock. The reported ticks therefore measure communication, configured stalls and queueing in this model. They are not measured device latency, storage throughput or energy consumption. No conversion from ticks to deployed seconds is claimed.

5.2. Experimental Series and Comparison Units

Table 2 identifies the archived allocation. V7 provides the recovery and restart baseline, including a separately recorded isolation follow-up. V8 varies receipt policy and sender capacity while holding receiver capacity at 512. V9 varies receiver capacity with sender capacity fixed at 8. V10 adds stall duration. V11 uses durable reception only and tests capacities adjacent to a recorded boundary at shifted starts. Reference conditions carried between versions support consistency checks, not independent statistical replication (Supplementary Material S2).
Cuts at ticks 16 and 96 are assessed separately. Primary results use cut 16; cut 96 provides a second measurement origin and may produce a different frontier and target. A paired witness-cost contrast is formed only when both witnesses are observed and their frontiers and targets agree. Each selected intervention is otherwise matched on the declared workload, rate, capacities and disruption settings. An arm with a later receive rejection remains visibly rejected even if its witness is comparable. Counts of arm comparisons overlap because a trajectory can participate in more than one contrast (Supplementary Materials S1 and S2). Retrospective event-identity comparison finds that 106 of the 294 trajectories witnessed at both cuts select the same witness event, while 188 select different events; the remaining 108 attain neither witness. Both assessments remain dependent (Supplementary Materials S1 and S2).
Fresh cryptographic randomness does not turn the fixed traffic, stall phases or shared controls into independently sampled replications. The analysis is descriptive. It does not attach population confidence intervals or significance tests to these deterministic allocations. Cross-version repetitions and both cut outcomes retain their dependence. No worker, build or new workload was executed to produce the manuscript’s retrospective tables and figures (Supplementary Material S1).

5.3. Witness Metrics and Workload Outcomes

The primary cost vector comprises elapsed ticks from cut to witness, the number of first logical authentications in that interval, and serialized fixture bytes emitted in that interval. The authentication count can include records generated before the cut and first authenticated afterward. It is neither a count of confidential records nor only the two payloads that qualify the witness. Generated records, delivered frames, completed serializations and first authentications are distinct quantities (Supplementary Material S2).
Byte accounting includes both directions, DATA and receipts, repeated or dropped frames, and the already emitted portions of frames crossing an observation boundary. For each frame, cumulative emitted bytes at a boundary are the integer part of rate multiplied by elapsed quanta and divided by 65,536, clipped to the frame length. The interval contribution is the difference between cumulative amounts at its two boundaries. Merely queued bytes, real transport headers and checkpoint writes are excluded. First and repeated DATA are distinguished by frame identity over the full trajectory, rather than resetting that identity at the cut (Supplementary Materials S1 and S2).
Whole-workload bytes use the same serializer accounting from initialization to actual stopping time. We denote that quantity W_total and retain F for the exposure frontier and B for the capacity prediction. Generated, accepted and retired counts, stopping time and terminal outcome accompany the witness metrics. COMPLETE requires all offered records to be generated, accepted and sender-retired, with empty directional serializers. A horizon stop without this condition is DEADLINE. An epoch-range receive rejection is recorded as RECEIVE_​REJECTED and stops the trajectory; unexpected errors remain errors (Supplementary Material S2).
NOT_​OBSERVED means that the declared witness was absent before the recorded stop. It does not mean infinite recovery time, a cryptographic break, or failure to complete the application workload. Conversely, an observed witness does not establish eventual delivery of every pending ciphertext. These definitions prevent the stopping rule from silently selecting only successful end-to-end cases.
Policy differences are durable reception minus acceptance gating. For the two-dimensional witness comparison, a policy is no worse if neither time nor bytes increases, with at least one strict improvement for a strict advantage. Opposite signs remain tradeoffs. Authenticated-message differences are reported separately. Stall overhead compares a stalled arm with its capacity-matched no-stall control. A zero-overhead result requires comparable witnesses, complete workloads, and exactly zero differences in all three primary metrics. The complete retrospective comparison data are retained in Supplement S1 (Supplementary Material S1).

5.4. Frozen Boundary and Retrospective Occupancy Diagnostic

The recorded V11 allocation fixes B from the V10 durable-reception, capacity-512 reference at start 96. It tests B−1 and B at each of three rates, three positive durations and three starts, yielding 54 constrained observations per cut. A capacity-512 reference adds 27 positive-duration trajectories, and 21 capacity-matched no-stall controls are shared across the allocation. The resulting design has 102 trajectories. The hypothesis C≥B predicts zero stall overhead. Present source and archive identities document that allocation but do not independently authenticate its historical preregistration (Supplementary Materials S1 and S2).
Separately, Q is the maximum pending-record occupancy at either receiver during the same phase’s capacity-512 reference stall. This reference is eligible as a demand diagnostic only if relevant workloads complete, the reference has no full-inbox refusal and zero witness overhead, and the witness frontiers and targets are comparable. Comparing C≥Q with observed overhead uses newly measured phase-specific information. It is a retrospective diagnostic, not a replacement prospective prediction or a universal storage theorem (Supplementary Material S2).

5.5. Validation and Provenance Boundaries

The V11 saved controls report 18 integration controls and six receive-commit interruption cases passing their specified checks. The latter interrupt reception before write, after partial write, after write, after file synchronization, after rename and after directory synchronization. They test expected old/new committed-file visibility after process termination. Controller state, timers and virtual network state remain outside the terminated worker. V7 periodic restarts likewise have zero virtual downtime (Supplementary Material S2).
The existing trace audit reuses the frozen classifier. Its PASS result demonstrates consistency with that definition and recorded accounting, not an independent secrecy interpretation. Earlier retrospective analysis reconstructs V11 byte intervals without importing the experiment’s classifier; the manuscript supplement additionally preserves policy-accounting checks, V7 metadata checks and the V8 adverse timeline verification. These analyses operate on saved non-secret records and do not re-execute later AEAD operations (Supplementary Material S1).
Source identity, archive identity and historical execution attribution are separate claims. Prior work on runtime assurance similarly distinguishes evidence provenance, implementation conformance and policy appraisal, with conclusions bounded by the admitted evidence [17]. The accompanying provenance record reports a clean pinned vendor checkout, matching reviewed source identities and local archive-member correspondence. It also records differing local and packaged binary digests and trace digests. A reported diagnostic-digest mapping covers 102 V11 trajectories and one V8 adverse trajectory, but its original comparator and detailed mapping output are not retained in the available release. That comparison remains supporting reported evidence within its stated scope. Neither matching hashes nor a consistent digest renaming authenticates historical execution or freeze timing (Supplementary Material S1).

6. Results

6.1. Witness Attainment and Completion Are Distinct Outcomes

Table 3 preserves the outcomes of all 402 workload trajectories. They contain 804 alternative-cut assessments: 588 conditional recovery witnesses and 216 NOT_​OBSERVED results. There are 401 complete workloads and one terminal receive rejection. The denominator contains the workload cohorts in Table 3, including their no-stall controls. Separately reported integration, process-interruption and audit-negative controls, and the V8 case under validation/​pilot, are excluded. The counts summarize reviewed coverage, not independently sampled replications or compromise experiments (Supplementary Materials S1 and S2).
All 108 primary V7 workloads complete, yet both cuts remain NOT_​OBSERVED. Their stops range from about 127.506 to 343.313 ticks, before the configured 428-tick horizon. In these saved trajectories, endpoint A never installs a root above epoch 2, neither endpoint generates a payload above message-key epoch 2, and every cut requires at least epoch 3. The criterion therefore remains unmet on the recorded paths; this does not prove a universal message-count lower bound (Supplementary Materials S1 and S2). The 12 longer extension and 12 isolation trajectories reach their witnesses, but they increase offered messages from 128 to 512 per direction as well as extending the horizon. Their result cannot be attributed to waiting longer alone. Every V7 cohort retains outbox and pending-inbox capacities of 8; 512 in the longer allocation denotes messages per direction (Supplementary Materials S1 and S2).
Saved V7 restart summaries report equal workload metrics and recovery milestones in all 60 main-cohort none/​periodic pairs and all six isolation pairs, excluding restart counters and trace event indices from the equality check. This concerns zero-downtime worker replacement with the controller, timers and virtual network preserved; it does not establish outage tolerance or physical power-loss durability (Supplementary Materials S1 and S2).

6.2. Policy Benefits Depend on Capacity and the Measured Cost

With receiver capacity fixed at 512 in V8, the durable-reception arms have zero added witness time, authenticated messages and bytes under the 60-tick stall, at both tested sender capacities and all three rates. Acceptance gating retains stall costs. At rate 128 with sender capacity 8, the stalled-minus-normal primary-cut contrast is 126.859375 ticks and 25,035 bytes. At rate 512 with the same sender capacity, the stall adds 5,411 bytes without a later witness. The result separates a timing effect from a communication effect (Supplementary Material S2).
Increasing sender capacity does not uniformly remove these costs. In the rate-128 acceptance-gated arm, widening the outbox from 8 to 512 eliminates modeled sender-blocked time, yet the stalled-minus-normal witness contrast rises to 362.78125 ticks and 91,528 bytes. That workload subsequently rejects a delayed ciphertext. Sender saturation is therefore one pathway coupling the application to progress, but it is not a sufficient explanation of the observed overhead. Shared FIFO contention, retries and the amount of fresh traffic preceding the criterion are candidate contributors that these comparisons do not separate (Supplementary Materials S1 and S2).
Finite receiver capacity changes the policy comparison. Table 4 summarizes every V9 and V10 primary-cut policy pair, separating no-stall controls from positive stalls. In V9, nine of twelve stalled pairs favor durable reception, one favors acceptance gating and two are tradeoffs. In V10, 31 of 36 stalled pairs favor durable reception, three favor acceptance gating and two are tradeoffs. A policy is favored only when it has no higher witness time or byte cost and a lower cost in at least one of those metrics. All compared workloads in these two versions complete. The tallies are retrospective organization of the frozen measurements and do not pool the repeated V9/V10 settings as independent evidence (Supplementary Material S1). The 36 V10 positive-stall pairs contain 27 distinct paired witness outcome vectors when grouped within each rate and duration using both policies’ elapsed ticks and bytes. Acceptance-gated witness values coincide across tested receiver capacities in each stratum; their pending occupancy never exceeds 8 and they incur no full-inbox refusal. Several durable arms also coincide above the observed demand. These counts describe settings and measured outcomes, not independent samples or full-trace equivalence (Supplementary Materials S1 and S2).
The adverse and mixed cases are small but material. For rate 256, capacity 8 and a 60-tick stall, durable reception reaches the witness two ticks earlier while emitting 179 more bytes. At rate 512 and capacity 8, it adds two ticks and 1,215 bytes. At rate 512 and capacity 16, it saves 810 bytes but adds two ticks. V10’s 30-tick cases at rates 256 and 512 with capacity 8 each add 179 bytes without changing witness time. No-stall policy pairs have identical time and byte costs. Figure 2 shows the full V10 primary-cut allocation rather than only favorable cases (Supplementary Material S1).

6.3. Costs to the Witness and to Workload Completion Can Rank Policies Differently

Joint accounting identifies four distinct completed settings in which durable reception reduces witness bytes but increases W_total (Table 5). The duration-60 setting appears in both V9 and V10 and is counted once. Both cuts produce the stated byte differences. In every listed setting the sender outbox and receiver pending capacity are 8 and the application stall begins at tick 96 (Supplementary Material S1).
For rate 128 and duration 60, acceptance gating uses 94,465 bytes to the primary-cut witness and 265,248 over the completed workload. Durable reception uses 86,533 and 265,646 bytes, respectively: an 8.397% witness-window reduction and a 0.150% total increase. Across the four rows, witness-byte reductions range from 1.357% to 8.397%, while total increases range from 0.038% to 0.303%. Thus the whole-workload differences are small, although their signs oppose the witness-window differences. Both policies accept the same 1,024 records, but the receipt contracts remain different. The lower witness cost does not imply lower total traffic or superiority under an equivalent application-confirmation service. W_total also includes traffic before the cut and after the witness (Supplementary Materials S1 and S2).
These reversals are demonstrated counterexamples to extending a witness-byte saving into a general whole-workload saving. They do not demonstrate a large total-bandwidth penalty or invalidate either measurement. Reporting only the milestone window would omit the additional whole-workload bytes, while reporting only W_total would omit the earlier attained milestone. Both belong in the outcome vector.

6.4. A Witness Can Precede a Terminal Delivery Rejection

The V8 rate-128, acceptance-gated, sender-capacity-512 stalled workload supplies a distinct adverse outcome. Its receiver capacity is 512. Table 6 gives absolute virtual ticks, not elapsed time from a cut. B generates message 274 using payload-key epoch 2 and index 127. Both cut assessments later attain the declared witness. The old ciphertext does not begin its first recorded DATA serialization until substantially afterward (Supplementary Materials S1 and S2).
At rejection, the receiver reports chain/​send epoch 4 and two retained chain links. The frame’s wire epoch 3 selects payload-key epoch 2, which is no longer available. Its transmission completed without network loss and the receive path reports SPQR:​Epoch​Out​Of​Range(3). The complete frame had waited in the transmission path; the evidence does not require attributing that entire wait to one particular queue (Supplementary Material S1).
The trajectory generated 1,024 records, accepted 747 and retired 710 sender obligations. Its 314 outstanding obligations partition into 37 accepted records awaiting retirement and 277 not yet accepted. The saved terminal rejection concerns B:274; the remaining obligations are not all demonstrated to fail. The workload is retained as RECEIVE_​REJECTED. This is an integration and retention failure following a witness, not a demonstrated break of the cryptographic primitive or a secrecy false positive for that earlier witness (Supplementary Material S1).

6.5. The Frozen Capacity Prediction Has One Phase-Dependent Exception

Table 7 compares the frozen boundary with phase-specific occupancy. All 102 V11 workloads complete and all 204 cut assessments attain conditional recovery witnesses. The saved observations record zero payload mismatches and zero repeated new data-key fingerprints. Fifty unique messages are refused by full inboxes and all are subsequently accepted. Those are bounded functional observations over the stated allocation (Supplementary Materials S1 and S2).
At the primary cut, all 27 at-B constrained arms have zero stall overhead. Of the 27 B−1 arms, 26 have nonzero overhead and one also has zero overhead. The frozen C≥B classification therefore matches 53 of 54 constrained observations: 18/18 at the original start 96 and 35/36 at shifted starts 97 and 104. The 18 original-phase observations test adjacent capacities at the phase used to derive B; the other 36 test transfer to shifted phases. The 27 capacity-512 reference arms do not enter this denominator. The secondary cut gives the same 18/18 and 35/36 split, and hence 53/54 overall, on these same trajectories (Supplementary Materials S1 and S2).
The exception is rate 128, duration 120 and start 97. B remains 61, but capacity 60 suffices for zero measured stall overhead and complete delivery. The corresponding phase-specific reference occupancy is Q=60. At starts 96 and 104, Q=61 and capacity 60 adds 829 witness bytes, 2.921875 ticks and three first-authenticated records; capacity 61 has zero overhead at all three starts (Figure 3). This observation contradicts the transferred zero/​nonzero classification at one tested point. It does not demonstrate failure of B’s sufficiency in the tested arms, because every at-B arm succeeds (Supplementary Materials S1 and S2).
The diagnostic C≥Q matches all 54 constrained observations at each cut. The 28 observations with C≥Q have zero overhead and no inbox refusals; the 26 with C=Q−1 have nonzero overhead after a pre-witness refusal. Under otherwise matching successful event transitions, capacity at least the reference peak leaves that admission path unchanged. Those 28 observations thus check implementation and accounting consistency. The 26 below-peak observations add evidence about the measured cost of leaving that path; a refusal need not universally increase costs at a particular witness. Q and reference eligibility, including zero reference overhead, are measured in the same allocation. The 54/54 agreement is therefore retrospective consistency and adjacent-capacity evidence, not independent prospective validation. Neither this diagnostic nor adjacent testing establishes a global minimum, monotonicity at untested capacities or a universal queue-sizing law. The two cuts reassess the same trajectories (Supplementary Materials S1 and S2).
The recorded mediators further distinguish overhead types. Every V11 trajectory has zero modeled sender-blocked endpoint ticks. Among the constrained primary-cut comparisons, twelve add exactly 332 bytes with no later witness and no extra first-authenticated records. Thus receiver refusal can increase communication without increasing this witness time, and the V11 effect does not require sender saturation. Reaching the last available receiver slot also differs from refusing a new frame: an at-B receiver can be full briefly without losing admission for the next new record (Supplementary Material S1).

6.6. Criterion Choice Materially Changes the Measured Interval

An earlier saved-trace diagnostic examines the rate-128, no-stall V11 workload from cut 16. A bidirectional epoch-2 milestone occurs at 178.1640625 elapsed ticks; the frozen epoch-3 conditional witness occurs at 274.1640625. Table 8 preserves the associated accounting. The earlier milestone was not validated as recovery and does not replace the frozen criterion (Supplementary Material S1).
The difference is 96 ticks, 96 first-authenticated records and 24,369 serialized bytes. This quantifies how the declared endpoint changes communication-to-milestone measurements. It does not identify the exact vulnerable-message set, show that the earlier messages were insecure, or justify selecting a criterion because it improves the result. The primary labels and measurements remain those of the frozen witness (Supplementary Material S1).

7. Discussion

7.1. Receipt Policy Changes Where Waiting Accumulates

The implemented contracts place a stalled application’s waiting obligations in different locations. Acceptance gating retains sender obligations until local acceptance, limiting fresh generation when the outbox is full. Durable reception can retire those obligations while the receiver accumulates pending records. When its pending capacity is exhausted, refusal and immutable retries add traffic and may delay further progress. This is consistent with the established custody distinction, but the measured consequences depend on the SPQR wrapper’s exact admission and scheduling rules [8,9] (Supplementary Material S2).
The results do not isolate a single mediator. V8 shows that eliminating sender-blocked time can coexist with greater witness cost, and V11 shows additional bytes without sender blocking or a later witness (Supplementary Materials S1 and S2). Queue contention, retry timing, frame sizes and the sequence of new DATA operations can each affect the measurement endpoint. The controlled comparisons support consequences of the implemented policy combinations. No classical-ratchet or non-ratcheting control establishes that the observed scheduling effect is unique to post-quantum cryptography.
Fresh SPQR traffic in this wrapper is tied to newly generated DATA. Cached retries and wrapper receipts carry no fresh SPQR contribution. An integration with independent ratchet control traffic could respond differently to an application stall. That possibility is a design-dependent alternative explanation, not an implemented or measured improvement in this study. It also reinforces the distinction from receipt-assisted protocol progress already described in other messaging designs [7].

7.2. Storage and Retention Require More than a Pending-Record Limit

The tested receiver capacity counts pending plaintext records. It excludes retained receipt metadata, ratchet and skipped-key state, temporary checkpoint copies, controller caches and runtime overhead. For the fixed payload, the reviewed encoding uses 209 bytes per pending entry and 177 bytes per retained receipt entry, before surrounding fields. Thus 512 accepted records can leave 90,624 bytes of receipt entries at an endpoint after its pending plaintext drains. The separately retained local provenance review reports final checkpoint sizes of 95,221 and 94,697 bytes for the V9 rate-512 durable-reception, inbox-8 stalled case, and a workload counter of 205,509,883 logical checkpoint-write bytes. Those values describe serialized records and logical writes; they are not measurements of total RAM, physical write amplification or storage latency (Supplementary Materials S1 and S2).
The V8 rejection demonstrates another budget that capacity alone does not specify: the relationship between ciphertext residence time and receiver epoch retention. A larger sender outbox can preserve more immutable obligations while allowing them to become old relative to receiver progress. Reaching a witness for newer records does not refresh the keys of an older stored ciphertext. The observed failure therefore motivates explicit retention and residence-time requirements in any deployment interpretation; it does not justify changing the frozen retention parameters to turn the failed workload into a success [13] (Supplementary Materials S1 and S2).
Similarly, the V11 exception concerns the transfer of a phase-specific classification, not a newly discovered universal backlog law. Offers during the stall are not identical to arrivals into pending storage. Records already in flight, serialization order and the exact resumption event can change the occupancy maximum by one (Supplementary Materials S1 and S2). A theoretical sizing result would need arrival and service assumptions that include these mechanisms and would need to distinguish pending occupancy from the receiver’s other storage obligations [11].

7.3. The Measurement Endpoint Is Part of the Result

The witness, local acceptance and workload completion answer different questions. The witness records when the declared root and payload conditions have been observed after a hypothetical disclosure. Acceptance records a local application transition. Completion requires every offered record to be generated, accepted and sender-retired, with empty directional serializers. The policy reversals show why comparisons must name their endpoint: fewer bytes to the witness do not imply fewer bytes over the workload. Conversely, completion of a short workload does not imply that it supplied enough fresh ratchet traffic to satisfy the witness.
This distinction also limits the security interpretation. The communication charged before a witness is not an exact set of compromised messages. A deliberately later criterion can include traffic whose keys might already meet a different justified security condition. The saved earlier milestone illustrates sensitivity without validating such a condition. The appropriate claim is therefore cost to the specified conditional recovery witness, accompanied by the source invariant and explicit assumptions, rather than measured time to secrecy restoration.

8. Limitations and Assurance Status

External validity is limited to the implemented workload and service rules. Traffic is symmetric and finite, payload length is fixed, later cohorts have no modeled loss, stalls affect both applications simultaneously, and acceptance drains instantaneously. The retry interval, FIFO limit and SPQR retention defaults are fixed. Device computation and storage operations take zero virtual time. The observations do not establish behavior under arbitrary arrival processes, finite application service rates, asymmetric stalls, physical outages, concurrent worker scheduling or real transport overhead. Every finite-receiver policy comparison fixes sender capacity at 8. No classical-ratchet or non-ratcheting control isolates an effect unique to post-quantum cryptography.
The security claim has a separate boundary. One-time disclosure of honestly reachable committed checkpoints is followed by passive observation, with trusted subsequent execution and randomness. The source invariant, observed satisfaction of the frozen classifier and conditional secrecy interpretation are distinct propositions. The study supplies neither a computational reduction for their complete composition nor independent replay of every later cryptographic operation. Two of the eleven SCKA states lack valid saved cut coverage. Those missing observations are unresolved coverage limits, not demonstrated counterexamples.
The provenance record strengthens present source and result correspondence but does not authenticate historical chronology. The reported local comparison of 103 trajectories preserves non-digest fields and diagnostic equality relationships within its stated scope; its original implementation and detailed mapping output remain unavailable in the retained materials. A bijection of diagnostic values does not establish harmless randomness, correct hidden secrets or a common execution. The full comparator should be retained if recovered, without replacing the reported historical procedure with an unlabelled new implementation (Supplementary Material S1).
AI-assisted adversarial review of the exposure-frontier and secrecy-composition arguments is retained as editorial context, not as primary evidence or independent cryptographic validation. The exposed-state invariant, the role of the F+2 margin and the key-derivation composition require explicit technical justification before stronger cryptographic claims are made. Agreement among AI assessments, shared-classifier audits and matching fingerprints does not supply a computational reduction or establish adversary ignorance. The current contribution remains the bounded empirical integration study. A further parameter sweep alone would not discharge the remaining cryptographic or physical-durability obligations.

9. Conclusion

In the studied SPQR integration, acknowledgment release and finite pending storage change the interaction between application stalls, fresh ratchet traffic and immutable retries. At sender capacity 8, durable reception often reduces witness costs, while finite-capacity comparisons also include adverse outcomes and tradeoffs. Four completed settings use fewer bytes to the witness but 0.038–0.303% more whole-workload bytes under durable reception; a separate workload rejects an old ciphertext after attaining its witness. At the primary cut, the frozen capacity classification matches 18/18 original-phase and 35/36 shifted-phase observations, or 53/54 overall. The secondary cut gives the same 53/54 classification counts on the same trajectories. The 54/54 occupancy diagnostic at either cut is retrospective consistency and adjacent-capacity evidence. These findings support reporting ratchet progress, delivery and total communication together, with explicit acknowledgment contracts and storage scope. The security endpoint remains a conditional recovery witness under the stated passive-after-disclosure model.

Supplementary Materials

The supplementary information can be downloaded at the website of this paper posted on Preprints.org. Supplementary Material S1 (SPQR_​Supplement_​S1_​v5_​0.​zip) provides the current figures, analyses and claim-to-evidence index; Supplementary Material S2 (SPQR_​Supplement_​S2_​Original_​Experiment_​Packages_​v1.​zip) preserves the V7–V11 experiment packages. Availability is subject to journal upload or repository deposition.

Funding

This research received no external funding.

Data Availability Statement

Supplementary Material S1 (SPQR_​Supplement_​S1_​v5_​0.​zip) supplies the current Figure 1, Figure 2 and Figure 3 images and captions, figure source files, saved figure data, a claim-to-evidence index, retained analyses, a read-only S2 result verifier, and historical security-methods/​provenance records. Supplementary Material S2 (SPQR_​Supplement_​S2_​Original_​Experiment_​Packages_​v1.​zip) preserves the five original V7–V11 experiment ZIPs unchanged, with identities and inventories; it contains the primary retained fixture source, per-case records and event traces. A.3 gives exact archive paths and maps record labels to manuscript terminology. These are intended as journal supplementary attachments; no public repository URL or DOI has been assigned. Thus they must not be described as publicly deposited until a journal or repository actually hosts them. Reproduction of the original workloads requires the pinned upstream SPQR source and relevant dependencies, and neither supplement alone supplies a complete reproducible original build. S2 is a development/​cloud validation-package collection, not a workstation-freeze export; raw endpoint checkpoints and retained worker binaries are not included. The original local diagnostic-digest comparator and its record-level mapping output remain unavailable. Saved-record checks do not authenticate historical execution or prove the conditional security interpretation.

Acknowledgments

Use of Generative Artificial Intelligence. During the preparation of this study and manuscript, the author used OpenAI Codex, OpenAI ChatGPT, Anthropic Claude, Google Gemini, and OpenAI image-generation tools for research software development, experimental analysis, technical review, and manuscript preparation. OpenAI Codex assisted with the development, modification, and examination of the experimental software, including the SPQR integration framework, acknowledgment-policy implementations, finite-buffer and retry mechanisms, automated testing, saved-trace analysis, provenance verification, and source-level security assessments. OpenAI ChatGPT assisted with research organization, methodological documentation, interpretation of experimental findings, literature analysis, manuscript drafting and revision, figure preparation, reference management, and preparation of supplementary materials. Anthropic Claude and Google Gemini were used for additional AI-assisted technical criticism, prior-art comparisons, novelty assessment, and identification of methodological limitations and potentially unsupported claims. Anthropic Claude was also used to re-verify reported values against the archived experiment packages, to redraw the manuscript figures from the saved numerical data, and to format the manuscript and reference list in the journal template. OpenAI image-generation tools were used to prepare earlier drafts of the figures. The final figures were drawn programmatically from the saved numerical data and the manuscript text, and no image-generation tool produced them. The reported experimental measurements derive from the archived SPQR execution records and associated analysis procedures. AI-generated assessments, agreement among AI systems, and automated consistency checks are not treated as independent evidence of cryptographic security or as formal security proofs. The author retains responsibility for the research design, interpretation of findings, verification of experimental claims, accuracy of references and figures, and final manuscript content. All AI-assisted contributions and outputs are subject to author review and approval.

Conflicts of Interest

The author serves as Global Quantum-Safe Executive and Quantum Ambassador with IBM. The author is also the sole owner of Med Cybersecurity LLC, a single-member limited liability company that is currently inactive, conducts no business, and has no employees; the medcybersecurity.com domain is retained solely for the author’s personal correspondence email. Neither IBM nor Med Cybersecurity LLC had any role in the study’s conceptualization, design, software development, data collection, analysis, interpretation, manuscript preparation, or decision to submit, and no funding, infrastructure, data, or products of either organization were used. The study was conducted, and its computing resources were provided, solely by the author.

Appendix A. Implementation and Evidence Locators

Appendix A.1. Exposure Mapping and Source Obligations

Table A1 records the pinned eleven-state oracle mapping used in the frontier. Each row applies at SCKA epoch e. An empty oracle contribution concerns that mapping only; other committed checkpoint secrets remain exposed. The argument in Section 4 also requires the explicit committed chain epoch, because output material is immediately installed by the production API [13].
Table A1. Oracle contribution by state group. Ct2Sampled is marked conservatively; oracle membership is not an exact inventory of retained raw KEM secrets.
Table A1. Oracle contribution by state group. Ct2Sampled is marked conservatively; oracle membership is not an exact inventory of retained raw KEM secrets.
States at epoch e Oracle contribution Interpretation
KeysUnsampled, NoHeaderReceived, HeaderReceived Empty set No locally sampled current-epoch KEM secret in these variants; other checkpoint secrets remain exposed.
KeysSampled, HeaderSent, Ct1Received, EkSentCt1Received {e} Retained decapsulation-key state.
Ct1Sampled, EkReceivedCt1Sampled, Ct1Acknowledged {e} Retained encapsulation-state material.
Ct2Sampled {e} Conservative marking after consumption of earlier encapsulation state; production chain already covers e.
The principal upstream locators are src/​lib.​rs send and recv for message-key selection; src/​chain.​rs Chain and add_epoch for committed epochs, retained chains and root mixing; src/​v1/​chunked/​states.​rs vulnerable_​epochs and transition arms for the state mapping; src/​v1/​unchunked/​send_​ek.​rs and send_​ct.​rs for retained key and encapsulation fields; src/​incremental_​mlkem768.​rs and src/​kdf.​rs for sampling and derivation; and src/​authenticator.​rs for the exposed authenticator. All refer to commit 3a69df8f01179fce970693f072b710a8ab8dc6c2 [13].
In the V11 wrapper, worker/​src/​main.​rs defines Store encoding, MAKE, RECV, ACCEPT, RETIRE and observe_​ratchet; engine_​v7.​py records cut and state observations; criterion.​py computes the frontier and qualifying events. The classifier SHA-256 is 7a3d962fa8a518d1eed25cd9cf7ff22592556b996a01a56b5f2fb57dcfcbd9a0 and is shared across the reviewed versions. The distinction from the upstream oracle is located in src/​test/​orchestrator.​rs and src/​test/​messaging_​scka.​rs. Formal-analysis scope is documented in proofs/​extracted-proverif/​STATUS.​md and its extraction-model files; the handwritten process is in proofs/​proverif/​spqr-dr.​pv. Precise line locators and the complete earlier source register are retained in S1 (Supplementary Materials S1 and S2).

Appendix A.2. Earlier V7 Allocation and Restart Scope

Primary V7 crosses three rates, two offer intervals, three network profiles, three application profiles and two restart modes, giving 108 trajectories. Network profiles are no blackout, [24,54), and [80,140); application profiles are no stall, [40,70), and [96,156). A frame whose serialization interval overlaps a blackout is dropped but its serialized bytes remain charged. Both inbox and outbox capacities are 8, with 128 records per direction and horizon 428 (Supplementary Material S2).
The longer V7 extension contains 12 trajectories: three rates, two paired disruption profiles and two restart modes. The paired profiles are no disruption and network [80,140) together with application [96,156). The separate isolation follow-up contains 12 trajectories that separate application-only from network-only effects. Both longer cohorts use 512 records per direction, offer interval two and horizon 1,536. Periodic restart replaces both workers every 40 ticks before the horizon, restoring their latest committed checkpoints while preserving the controller, timer heap, link queues and serializer state. Virtual downtime is zero. These cohorts retain their recorded chronology and are not a controlled test of longer waiting alone (Supplementary Materials S1 and S2).

Appendix A.3. Result and Retrospective Analysis Locators

In S2, the five nested source/​result archives are input_​zips/​spqr_​recovery_​v7.​zip, spqr_​ablation_​v8.​zip, spqr_​storage_​v9.​zip, spqr_​stall_​v10.​zip and spqr_​boundary_​v11.​zip (all under input_​zips/). Within each nested ZIP, validation/​*/​trials.​json summarizes workloads; per-case case.json and recovery.​json preserve outcomes and witnesses. For V10, validation/​main/​policy_​comparisons.​csv supplies the measured policy contrasts. For V11, validation/​main/​boundary_​phase_​summary.​csv and paired_​effects.​csv supply frozen-boundary and phase diagnostics. The V8 adverse case is r128_​acceptance_​cap512_​applate; its retained timeline is in validation/​r128_​acceptance_​cap512_​applate/ in the V8 ZIP. See S1/​evidence_​index/​claim_​to_​primary_​evidence_​v5_​0.​json for indexed locators.
S1/​analysis/​recompute_​saved_​results_​v5_​0.​py reads the unchanged S2 ZIPs and checks cohort totals, the four Table 5 reversals and both V11 cut classifications, without executing workers or cryptographic experiments. Other retained analyses are under S1/data/ and S1/​analysis/; current Figure 1 is a conceptual synthesis generated by analysis/​generate_​figure1_​v5_​0.​py, while Figure 2 and Figure 3 use the recorded V10 and V11 data in S1/​data/​figure_​data.​json and its companion CSV files. The original source labels map to the manuscript as follows: MODEL_​RECOVERY_​WITNESS means the declared conditional recovery witness, durable_​receive denotes the durable-reception receipt policy, and applate denotes a delayed application-acceptance workload (the V8/V9 stall interval [96,156)). These are label equivalences, not new criteria or reclassifications. The earlier local provenance comparison is retained as reported, not independently reconstructed in S1.

References

  1. Perrin, T. (Ed.); Marlinspike, M.; Schmidt, R. The Double Ratchet Algorithm; Revision 4; Signal: 4 November 2025; Sections 5–6 and 8.2, 8.8–8.10. Available online: https://signal.org/docs/specifications/doubleratchet/ (accessed on 16 November 2026).
  2. Schmidt, R. The ML-KEM Braid Protocol  . Revision 1. 21 February 2025; updated 26 September 2025. Available online: https://signal.org/docs/specifications/mlkembraid/ (accessed on 16 November 2026).
  3. Auerbach, B.; Dodis, Y.; Jost, D.; Katsumata, S.; Schmidt, R. How to Compare Bandwidth Constrained Two-Party Secure Messaging Protocols: A Quest for A More Efficient and Secure Post-Quantum Protocol. In Proceedings of the 34th USENIX Security Symposium, 2025; pp. 6717–6736. Available online: https://www.usenix.org/system/files/usenixsecurity25-auerbach.pdf (accessed on 16 November 2026).
  4. Dodis, Y.; Jost, D.; Katsumata, S.; Prest, T.; Schmidt, R. Triple Ratchet: A Bandwidth Efficient Hybrid-Secure Signal Protocol. In Advances in Cryptology – EUROCRYPT 2025; Part VIII; LNCS 15608; pp. 302–331. [CrossRef]
  5. Cohn-Gordon, K.; Cremers, C.; Garratt, L. On Post-Compromise Security. In Proceedings of the 2016 IEEE 29th Computer Security Foundations Symposium (CSF), 2016; pp. 164–178. [Google Scholar] [CrossRef]
  6. Alwen, J.; Coretti, S.; Dodis, Y. The Double Ratchet: Security Notions, Proofs, and Modularization for the Signal Protocol. In Advances in Cryptology – EUROCRYPT 2019; Part I; LNCS 11476; pp. 129–158. [CrossRef]
  7. Apple Security Engineering and Architecture. iMessage with PQ3: The new state of the art in quantum-secure messaging at scale Post-quantum rekeying section. Apple Security Research. 21 February 2024. Available online: https://security.apple.com/blog/imessage-pq3/ (accessed on 16 November 2026).
  8. Fall, K.; Hong, W.; Madden, S. Custody Transfer for Reliable Delivery in Delay Tolerant Networks; Technical Report IRB-TR-03-030; Intel Research Berkeley: July 2003. Available online: https://sites.cs.ucsb.edu/~ebelding/courses/595/s04_dtn/papers/Fall_Custody.pdf (accessed on 16 November 2026).
  9. Cerf, V.; Burleigh, S.; Hooke, A.; Torgerson, L.; Durst, R.; Scott, K.; Fall, K.; Weiss, H. Delay-Tolerant Networking Architecture  . RFC 4838; Informational. April 2007. Available online: https://www.rfc-editor.org/rfc/rfc4838.html (accessed on 16 November 2026).
  10. Saltzer, J.H.; Reed, D.P.; Clark, D.D. End-to-End Arguments in System Design. ACM Trans. Comput. Syst. 1984, 2, 277–288. [Google Scholar] [CrossRef]
  11. Le Boudec, J.-Y.; Thiran, P. Network Calculus: A Theory of Deterministic Queuing Systems for the Internet; LNCS 2050; Springer: 2001; Author-maintained online version, 23 August 2022; Theorem 1.4.1. Available online: https://leboudec.github.io/netcal/latex/netCalBook.pdf (accessed on 16 November 2026).
  12. Dworkin, M. Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC; NIST SP 800-38D; November 2007 [CrossRef]
  13. Signal. SparsePostQuantumRatchet, package version 1.7.0, commit 3a69df8f01179fce970693f072b710a8ab8dc6c2; Implementation and bundled proof-status documents. Available online: https://github.com/signalapp/SparsePostQuantumRatchet/tree/3a69df8f01179fce970693f072b710a8ab8dc6c2 (accessed on 16 November 2026).
  14. National Institute of Standards and Technology. National Institute of Standards and Technology. Module-Lattice-Based Key-Encapsulation Mechanism Standard; FIPS 203; 13 August 2024. [CrossRef]
  15. Krawczyk, H.; Eronen, P. HMAC-based Extract-and-Expand Key Derivation Function (HKDF)  . RFC 5869; Informational. May 2010. Available online: https://www.rfc-editor.org/rfc/rfc5869.html (accessed on 16 November 2026).
  16. Pillai, T.S.; Chidambaram, V.; Alagappan, R.; Al-Kiswany, S.; Arpaci-Dusseau, A.C.; Arpaci-Dusseau, R.H. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. In Proceedings of the 11th USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2014; pp. 433–448. Available online: https://www.usenix.org/conference/osdi14/technical-sessions/presentation/pillai (accessed on 16 November 2026).
  17. Campbell, R. Runtime Cryptographic Evidence to Bounded Assurance Verdicts: Deterministic Conformance and Policy Appraisal for SHA-256 and AES-256-GCM. Computers 2026, 15, 659. [Google Scholar] [CrossRef]
Figure 1. Conceptual schematic of the SPQR fixture (not measured data). V8–V10 compare acceptance-gated (A) with durable-reception (D) acknowledgments; V11 uses D, and V7 uses A. During stalls, both applications pause ACCEPT while endpoint workers and transport remain active. Solid D releases the receiver-cached receipt after authenticated commit; dashed A waits for local ACCEPT. The application supplies A’s condition; the receiver generates the receipt. Verification frees an outbox slot. DATA carries SPQR; immutable retries invoke no new SPQR send, and receipts carry no SPQR message. Fresh DATA needs an offered record and free slot. In V9–V11, a full pending inbox refuses new unstored DATA before SPQR receive without a receipt; stored duplicates may receive cached receipts when policy permits. Attained-witness metrics run from cut to witness; first-authenticated records may have been generated before the cut. Counts and bytes combine both directions. Whole-workload bytes span initialization to stop. The statuses shown are observed outcomes. Sources: Section 3, Section 4 and Section 5.
Figure 1. Conceptual schematic of the SPQR fixture (not measured data). V8–V10 compare acceptance-gated (A) with durable-reception (D) acknowledgments; V11 uses D, and V7 uses A. During stalls, both applications pause ACCEPT while endpoint workers and transport remain active. Solid D releases the receiver-cached receipt after authenticated commit; dashed A waits for local ACCEPT. The application supplies A’s condition; the receiver generates the receipt. Verification frees an outbox slot. DATA carries SPQR; immutable retries invoke no new SPQR send, and receipts carry no SPQR message. Fresh DATA needs an offered record and free slot. In V9–V11, a full pending inbox refuses new unstored DATA before SPQR receive without a receipt; stored duplicates may receive cached receipts when policy permits. Attained-witness metrics run from cut to witness; first-authenticated records may have been generated before the cut. Counts and bytes combine both directions. Whole-workload bytes span initialization to stop. The statuses shown are observed outcomes. Sources: Section 3, Section 4 and Section 5.
Preprints 244622 g001
Figure 2. Retrospective acknowledgment-policy contrasts for all 48 V10 parameter pairs at cut 16. Rows show directional serialization rates of 128, 256 and 512 bytes per tick; columns show durable-reception minus acceptance-gated elapsed ticks and serialized fixture bytes from the cut to the conditional recovery witness. Each curve identifies receiver pending-record capacity (8, 16, 32 or 512); sender outbox capacity is 8. Stall durations are 0, 30, 60 and 120 ticks, with positive stalls starting at tick 96 simultaneously at both endpoints. Negative differences mean a lower measured value under durable reception. Byte counts combine both directions. Time panels use different vertical ranges; byte panels share a range. Markers denote saved observations; coincident markers have equal plotted values. The shared byte range compresses small positive differences; annotations identify these and the +2-tick cases (Section 6.2). Connecting segments are visual guides, not intermediate measurements. The dependent pairs include 12 no-stall controls. These witness-window contrasts do not report whole-workload costs or equivalent application-confirmation contracts. Source: Supplement S1/data/accounting_verification_saved.json, V10 comparisons with cut_tick = 16.
Figure 2. Retrospective acknowledgment-policy contrasts for all 48 V10 parameter pairs at cut 16. Rows show directional serialization rates of 128, 256 and 512 bytes per tick; columns show durable-reception minus acceptance-gated elapsed ticks and serialized fixture bytes from the cut to the conditional recovery witness. Each curve identifies receiver pending-record capacity (8, 16, 32 or 512); sender outbox capacity is 8. Stall durations are 0, 30, 60 and 120 ticks, with positive stalls starting at tick 96 simultaneously at both endpoints. Negative differences mean a lower measured value under durable reception. Byte counts combine both directions. Time panels use different vertical ranges; byte panels share a range. Markers denote saved observations; coincident markers have equal plotted values. The shared byte range compresses small positive differences; annotations identify these and the +2-tick cases (Section 6.2). Connecting segments are visual guides, not intermediate measurements. The dependent pairs include 12 no-stall controls. These witness-window contrasts do not report whole-workload costs or equivalent application-confirmation contracts. Source: Supplement S1/data/accounting_verification_saved.json, V10 comparisons with cut_tick = 16.
Preprints 244622 g002
Figure 3. V11 capacity phase sensitivity at 128 bytes per tick per direction, a 120-tick simultaneous application stall, durable-reception acknowledgments, sender outbox 8 and cut 16. (a) Frozen B=61 at starts 96, 97 and 104; retrospective occupancy Q=61, 60 and 61. (b) Capacity 60 adds 829, 0 and 829 serialized bytes to the conditional witness relative to matched no-stall controls; capacity 61 adds zero throughout. The two 829-byte cases also add 2.921875 ticks and three first-authenticated records; the start-97 case adds none. Totals cover both directions. Q and connecting lines are retrospective diagnostics, not evidence of a universal storage law or prospective boundary validation. Source: S2 V11 validation/main/boundary_phase_summary.csv (rate 128, duration 120, cut 16).
Figure 3. V11 capacity phase sensitivity at 128 bytes per tick per direction, a 120-tick simultaneous application stall, durable-reception acknowledgments, sender outbox 8 and cut 16. (a) Frozen B=61 at starts 96, 97 and 104; retrospective occupancy Q=61, 60 and 61. (b) Capacity 60 adds 829, 0 and 829 serialized bytes to the conditional witness relative to matched no-stall controls; capacity 61 adds zero throughout. The two 829-byte cases also add 2.921875 ticks and three first-authenticated records; the start-97 case adds none. Totals cover both directions. Q and connecting lines are retrospective diagnostics, not evidence of a universal storage law or prospective boundary validation. Source: S2 V11 validation/main/boundary_phase_summary.csv (rate 128, duration 120, cut 16).
Preprints 244622 g003
Table 1. Acknowledgment release and the information conveyed under the trusted controller.
Table 1. Acknowledgment release and the information conveyed under the trusted controller.
Policy Release prerequisite Sender inference under trusted release
Acceptance-gated Authenticated receiver commit followed by local ACCEPT The receiver committed the record and the local application accepted it.
Durable-reception Successful authenticated receiver commit The receiver holds committed custody; local acceptance is not implied.
Table 2. Archived workload allocation and the factor varied in each series. Separate cuts are assessments of a trajectory, not additional workloads.
Table 2. Archived workload allocation and the factor varied in each series. Separate cuts are assessments of a trajectory, not additional workloads.
Series N Main controlled settings Role
V7 main 120 108 primary trajectories; 12 longer-extension trajectories; acceptance gating; both capacities 8 Recovery baseline and worker restart comparison
V7 isolation 12 Application-only versus network-only follow-up; both capacities 8 Separately recorded isolation cohort
V8 24 2 policies × 2 sender capacities × 3 rates × stall/no stall; receiver 512 Policy and sender-capacity ablation
V9 48 2 policies × 4 receiver capacities × 3 rates × stall/no stall; sender 8 Finite receiver-capacity comparison
V10 96 2 policies × 4 receiver capacities × 3 rates × 4 durations; sender 8 Duration and policy comparison
V11 102 81 positive-duration trajectories plus 21 shared controls; durable reception Adjacent capacities and stall-phase transfer
Table 3. Workload outcomes and conditional witness assessments. Each trajectory has two alternative cuts.
Table 3. Workload outcomes and conditional witness assessments. Each trajectory has two alternative cuts.
Cohort Trajectories Complete Rejected Witnesses Not observed
V7 primary 108 108 0 0 216
V7 extension 12 12 0 24 0
V7 isolation 12 12 0 24 0
V8 24 23 1 48 0
V9 48 48 0 96 0
V10 96 96 0 192 0
V11 102 102 0 204 0
Total 402 401 1 588 216
Table 4. Primary-cut policy comparisons on witness time and bytes. A strict advantage requires at least one lower cost and no higher cost; tradeoffs have opposite-signed differences.
Table 4. Primary-cut policy comparisons on witness time and bytes. A strict advantage requires at least one lower cost and no higher cost; tradeoffs have opposite-signed differences.
Series Stall Pairs D advantage A advantage Tradeoff Equal
V9 None 12 0 0 0 12
V9 Positive 12 9 1 2 0
V10 None 12 0 0 0 12
V10 Positive 36 31 3 2 0
Table 5. Opposite policy rankings for witness bytes and whole-workload bytes. Differences are durable reception minus acceptance gating; witness percentages use the acceptance-gated value at the primary cut (tick 16); absolute witness-byte differences hold at both cuts. Whole-workload percentages use the acceptance-gated totals. A and D denote those policies. Rate is bytes per tick per direction, and W_total is in bytes. All rows use sender and receiver capacities of 8.
Table 5. Opposite policy rankings for witness bytes and whole-workload bytes. Differences are durable reception minus acceptance gating; witness percentages use the acceptance-gated value at the primary cut (tick 16); absolute witness-byte differences hold at both cuts. Whole-workload percentages use the acceptance-gated totals. A and D denote those policies. Rate is bytes per tick per direction, and W_total is in bytes. All rows use sender and receiver capacities of 8.
Rate Stall
ticks
Δ witness
bytes (%)
A W_total D W_total Δ W_total
bytes (%)
128 60 −7,932
(−8.397%)
265,248 265,646 +398
(+0.150%)
128 120 −7,344
(−7.184%)
273,012 273,117 +105
(+0.038%)
256 120 −1,344
(−1.432%)
273,480 274,208 +728
(+0.266%)
512 120 −1,243
(−1.357%)
273,315 274,144 +829
(+0.303%)
Table 6. Saved chronology for the V8 adverse workload. The ciphertext’s delayed first transmission and the witness concern different records.
Table 6. Saved chronology for the V8 adverse workload. The ciphertext’s delayed first transmission and the witness concern different records.
Event Absolute tick Recorded implication
B generates message 274 546 Payload-key epoch 2; index 127
Both cuts attain their witness 652.9453125 Other qualifying records satisfy the declared criterion
First DATA serialization starts 1116.59375 The old immutable frame enters its first recorded serialization
Transmission completes and receive is rejected 1117.6328125 No network loss; EpochOutOfRange(3)
Table 7. Recorded V10-derived boundary B and V11 phase-specific occupancy Q. Q is measured retrospectively from the capacity-512 reference at each phase.
Table 7. Recorded V10-derived boundary B and V11 phase-specific occupancy Q. Q is measured retrospectively from the capacity-512 reference at each phase.
Rate Duration Frozen B Q start 96 Q start 97 Q start 104
128 30 15 15 15 15
128 60 30 30 30 30
128 120 61 61 60 61
256 30 15 15 15 15
256 60 30 30 30 30
256 120 60 60 60 60
512 30 15 15 15 15
512 60 30 30 30 30
512 120 60 60 60 60
Table 8. Retrospective sensitivity to the chosen endpoint. The earlier milestone has no validated recovery interpretation.
Table 8. Retrospective sensitivity to the chosen endpoint. The earlier milestone has no validated recovery interpretation.
Metric since cut 16 Earlier epoch-2 milestone Frozen epoch-3 witness
Elapsed ticks 178.1640625 274.1640625
First-authenticated records 178 274
Serialized fixture bytes 45,061 69,430
Interpretation Not validated as recovery Conditional recovery witness
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.