pub struct PermissionContextualAuthorizationData {
pub polarity: PermissionMessageAuthorizationPolarity,
pub record_id: String,
pub request_id: RequestId,
pub span_end: i64,
pub span_start: i64,
pub turn_index: i64,
}Expand description
Session event “permission.contextualAuthorization”. Historical decode-only contextual authorization claim. 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§
§polarity: PermissionMessageAuthorizationPolarityWhether the contextual human span 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 contextual message grant.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
request_id: RequestIdOriginal blocked permission request selected by deterministic event ordering, never by the extraction model.
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 contextual decision 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 contextual decision 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.
turn_index: i64Human turn containing the contextual decision.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.