Expand description
Controlled admission: verified principal, controlled store, and explicit conflict resolution.
Every local or peer actor operation that mutates a controlled resource or its nodes enters admission. Admission validates the verified principal, resource scope, operation, target selector, and expected revisions, then durably records the command. It never calls an actor directly or bypasses the queue.
Structs§
- Admission
Fences - The admission predicates
record_admissionre-evaluates under the same lock that writes the admission. What the proxy checked before opening the transaction is a preview; these fences are the authoritative read. - Admission
Receipt - Durable receipt issued upon successful admission into the queue.
- Admission
Request - Admission request submitted to the Intervention Proxy.
- Fence
Facts - The fence state one recheck observes, gathered under the store’s write
lock.
evaluate_fencesturns facts into the same conflict the pre-commit checks would have raised. - InMemory
Controlled Store - In-memory controlled store implementing
ControlledStorefor tests and isolated execution. - Intervention
Proxy - Intervention Proxy: durably admits operations, enforcing authorization, idempotency, monotonic stops, revision ordering, and queue admission barriers.
Enums§
- Admission
Conflict - Explicit typed conflict when admission is rejected.
- Control
Operation - Semantic control operations entering the admission queue.
- Control
Scope - Scope of a control command.
- Operation
Grant - Operation-scoped authorization grant.
- Verified
Principal - Verified principal constructing an internal, non-serializable proof of authority.
Traits§
- Controlled
Store - Port/contract for the controlled store managing graph state, revisions, and admission log.
Functions§
- evaluate_
fences - Authoritative fence evaluation: identical conflicts to the proxy’s
prechecks, raised inside the committing transaction.
ControlledStoreimplementors call this after gatheringFenceFactsunder their write lock — it is part of the port contract, not an internal helper.