Module invocation_scope
Expand description
Host-local invocation custody. No wire caller can manufacture these checks.
Structs§
- Approved
Check Receipt - Observed execution metadata. This is not a grader verdict or a model score. The full private receipt remains with the trusted host under its content hash.
- Document
Authorization - Immutable local publication evidence. It is never serialized or minted from wire fields. Captured original guards outlive terminal invocation tracking.
- Invocation
Locus Basis - Local evidence of the target resolved at dispatch, before encoding/execution.
- Invoker
Scope - The invoker whose resource tree a delivered invocation resolves against, for the duration of its resolution and dispatch on this thread.
- Published
Invocation Lease - An opaque check minted by the actual host for this exact invocation. Hosts must retain original caller authority and resample their registered policy time on every check. A positive result is never a reusable decision.
- Published
Invocation Request - Inert delivered inputs. Only the registered host can associate these with an original admitted caller, contract and exact worker connection.
- Published
Invocation Spec - Inert declaration retained by the actual host at original admission. This is not authority, and is never decoded from a caller’s wire request.
- Resource
Effect Scope - Resource
Invocation Scope - Immutable job custody, constructed only from an actual admitted invocation and the exact mounted record owner. InvocationId alone cannot construct it.
- Viewer
Scope - The participant a published tree is being built for while it lives: what a surface offers bound to where someone is (their caret, their Find hits) is that participant’s, not the window’s. It grants nothing: an invocation still runs for its own invoker.
Enums§
- Approved
Check Report Observation - Command observations do not establish success or authorize any operation.
Functions§
- current_
invoker - The invoker of the delivered invocation being resolved on this thread.
Noneoutside any delivered invocation (the local person acting). - current_
participant - The participant whose view the current resolution builds, if any.
- current_
viewer - Whose view what is being built or resolved now is: the participant of
the delivered invocation, else the participant a tree is published for.
Nonefor the window’s own person. - view_
operation_ permitted - Whether
actormay invoke the View operationcontracthere. The local person always may. A remote actor may only when it is the current host-set invoker, it has its own participant view, and the operation declares that it changes only the invoking participant’s view (tilo_actions::PARTICIPANT_VIEW_TAG). Every other View operation would move somebody else’s private view and stays refused.
Type Aliases§
- Approved
Check Future - A typed host check response, suitable for an existing effect worker.
- Approved
Check Report Sink - Informational reports enter the caller’s existing effect reporter.
- Approved
Check Reported Work - A queued approved check, attached to its original reporter by the effect worker.
- Published
Invocation Authorizer