In any distributed system spanning multiple data centers, cloud regions, or administrative organizations, network partitions are inevitable. A custodian may lose connectivity to the primary ledger validators, to the revocation authority, or to the policy broker quorum while still holding queued requests or receiving local instructions.
If a partitioned custodian continues executing operations based on cached permissions or local clocks, an adversary can exploit the partition, or deliberately induce a partition via denial-of-service attacks, to execute actions using grants that have already been revoked on the main side of the network.
To guarantee safety under arbitrary network partitions, clock skew, and backup restorations, the architecture enforces a fail-closed freshness and fencing contract governed by three explicit mechanisms:
1. Bounded Permit Lifetimes and Synchronization Horizons
Every broker qualification endorsement and state reservation permit carries two explicit temporal bounds evaluated against a tamper-resistant, synchronized monotonic clock (with documented maximum clock uncertainty ):
- Checkpoint Freshness Horizon (): The maximum allowable age of the custodian's latest verified ledger checkpoint . The custodian tracks the time at which it last verified a valid quorum-signed ledger header and revocation frontier. Before committing any state-changing effect or releasing any protected byte, the custodian verifies:
If a network partition interrupts connectivity to the ledger checkpoints for longer than , the custodian's view is classified as stale. The custodian immediately transitions to a
HOLD / FAIL-CLOSEDstate, halting all new commitments until connectivity is restored and a fresh quorum checkpoint is verified. - Short-Lived Execution Permit Expiry (): Even when the custodian has a fresh checkpoint, every broker endorsement is valid only for a brief execution window (for example, ). At the exact commit boundary, the custodian checks: Consequently, the maximum possible window during which an in-flight operation endorsed immediately prior to a revocation can commit is strictly bounded by: where is the ledger propagation delay for recording the revocation. Once elapses, it is mathematically impossible for any custodian, partitioned or connected, to commit an operation under the revoked authority.
2. Monotonic Authority Fences at the Custodian Boundary
Timestamps alone are vulnerable to clock manipulation and replay if not paired with logical ordering. The custodian maintains a durable, monotonically increasing authority fence counter stored in local non-volatile storage (or hardware TPM NVRAM). Every ledger checkpoint and broker endorsement carries the authoritative revocation epoch and sequence number .
Whenever the custodian observes a newer ledger checkpoint with , it atomically advances before processing any pending operations. Any queued endorsement or execution permit referencing a fence value is rejected immediately, even if its wall-clock expiration has not yet been reached.
3. Rollback-Safe Recovery via External Anchors
Consider the failure mode in which a custodian or state server crashes and an operator restores it from a backup snapshot taken an hour earlier. In that restored snapshot, the local database shows older balances, unconsumed nonces, and an earlier fence counter .
Under the recovery protocol, a newly booted or restored custodian starts in a strict quarantine state (RECOVERY_HOLD) with all execution adapters disabled. Before the custodian may process a single request, it must:
- Query the certified ledger and external checkpoint anchors to retrieve the latest finalized global checkpoint .
- Verify that its local durable state root matches the latest recorded custodian outcome on the ledger. If the local backup lags behind the ledger's recorded outcomes for that custodian, the custodian must replay missing state transitions from the ledger and reconcile any
UNCERTAINin-flight operations with its local storage before opening its execution gate. - Advance its monotonic fence to and register a new runtime generation key.
Because freshness is anchored in the external BFT ledger and public checkpoints rather than inside the restored snapshot itself, restoring an old disk image can never resurrect spent permissions or replay consumed transactions.