Skip to main content

Proposal: This page presents the draft API and profile model. Send feedback on GitHub.

Revocation, uncertainty and recovery

Revocation​

The state authority orders a revocation and advances the root's minimum fence. Once ordered, it refuses new permits under the revoked lineage. A resource that has observed the higher fence rejects an older permit. During a partition, whether an already issued permit can commit depends on the chosen profile, its unexpired deadline, local policy, actual clock uncertainty and the most recent observed fence. Use very short permits where this residual window is unacceptable. The guide profile still needs a complete distributed revocation and fence-propagation contract.

Retry and status​

A timeout does not demonstrate a failed effect. Keep the original operation ID and intent. An authorized lookup must use current lookup rights, fresh request authentication and disclosure policy. It may return the original outcome, a terminal closure, or Uncertain; it cannot start a second effect. Exact replay of a consumed transmission is rejected, while a new eligible attempt uses a fresh record and the original operation identity. For previously redeemed but indeterminate calls, do not release reserved units or issue a conflicting permit without terminal evidence.

The guide schema currently lacks a committed status and denial wire format. A production profile must define those bodies, signatures, read authorization, and non-disclosing responses before offering status interoperability. The W1 profile already defines its own status and response semantics.

Recovery​

  1. Put new effects and issuance on hold.
  2. Authenticate the latest independently retained keeper checkpoint and compare it to any previously accepted head.
  3. Reconcile authority state, consumed identifiers, pending reservations, spent balances, revocations, generation registrations and resource journals to that checkpoint. Missing evidence or an unverifiable suffix keeps the hold.
  4. Verify the recovery authority's signed recovery, exact checkpointRef, root and nextEpoch; the next epoch is the checkpoint epoch plus one.
  5. Atomically retire old runtime bindings and prior-epoch issuance, preserve spent and revoked authority and unresolved operations, then activate the new epoch. Old permits and old descendants cannot regain authority merely because a backup was restored.

The fixture checkpoint and event chain are static signed examples. They do not demonstrate durable storage, independent retention, rollback safety or recovery.