pub struct PermissionMessageAuthorizationData {
pub action_class: String,
pub polarity: PermissionMessageAuthorizationPolarity,
pub record_id: String,
pub span_end: i64,
pub span_start: i64,
pub target_members: Option<Vec<String>>,
pub task: Option<String>,
pub turn_index: i64,
pub world: Option<Value>,
}Expand description
Session event “permission.messageAuthorization”. Freezes one blinded, verbatim-verified authorization claim the runtime minted from a human user message, so a resumed session re-establishes the same grant deterministically instead of re-running the extraction model. This mints no authority on its own: it records what a blinded proposer pointed at and the trusted discriminator the runtime established, and deterministic establishment runs on replay. Persisted so recorded authority survives compaction and process resume.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§action_class: StringThe kind of effect authorized, as an action-class identifier.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
polarity: PermissionMessageAuthorizationPolarityWhether the claim granted or denied authority.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
record_id: StringDeterministic identity of the record, derived from the turn and span offsets so re-extracting the same span mints nothing new.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
span_end: i64End byte offset of the authorizing span within the turn.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
span_start: i64Start byte offset of the authorizing span within the turn.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
target_members: Option<Vec<String>>Concrete named targets that appear verbatim inside the span.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
task: Option<String>The task the permission is scoped to, when the human named one.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
turn_index: i64The human turn the quoted span was read from.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
world: Option<Value>The trusted version discriminator, when one exists. Exact shell-command grants carry the byte-identical commands grounded in the human span; world-derived classes carry a file object, remote tip, or runner only when that state was captured safely. An opaque object mirroring the runtime’s adjacently-tagged resolution.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Trait Implementations§
Source§impl Clone for PermissionMessageAuthorizationData
impl Clone for PermissionMessageAuthorizationData
Source§fn clone(&self) -> PermissionMessageAuthorizationData
fn clone(&self) -> PermissionMessageAuthorizationData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more