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”. Historical decode-only claim from the retired Assisted Permissions authorization extractor. Current runtimes preserve the payload but do not establish authority from it.
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.