UniqueHandle

Single current authority over a transferable resource reference

Society · Protocols · bootstrap 0.11.0

Mechanism

An authority-bearing reference to one singular rivalrous Resource. An authoritative ownership state records `(resource_id, current_holder, generation)`. A representation may be copied, but the representation alone grants no authority: use or transfer is accepted only when its holder and generation match that state and the requester establishes current-holder control; stale or unverified representations fail closed. Transfer from A at generation g to B conditionally replaces `(A, g)` with `(B, g+1)` at one logical commit point. It either commits completely or leaves `(A, g)` unchanged, and at most one concurrent transfer from g commits. If the result is unobserved, the caller resolves the authoritative state before using or retrying the handle.

Invariants

Failure modes

Where this came from

—

Builds on

Used by

Identity