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”. Freezes a blinded contextual authorization proposal whose verbatim human span was deterministically bound to the immediately preceding blocked permission request. The event carries no action fields; replay re-derives the exact action from the earlier permission request and mints a one-shot message grant only when the binding and span still verify.
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.