pub struct PermissionAssistedApproval {
pub evaluation: Option<PermissionApprovalEvaluation>,
pub failure_reason: Option<AssistedApprovalJudgeFailureReason>,
pub model: Option<String>,
pub reason: Option<String>,
pub recommendation: AssistedApprovalRecommendation,
}Expand description
Assisted-approval judge information attached to a permission request. Present only in assisted mode; its absence means the judge did not evaluate the request. The recommendation conveys the judge’s disposition for this request.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§evaluation: Option<PermissionApprovalEvaluation>Runtime reason and judge-call metadata. Absent on older events; missing metadata means unknown, not that the judge was skipped.
failure_reason: Option<AssistedApprovalJudgeFailureReason>Classified cause of an error recommendation. Absent for every other recommendation.
model: Option<String>Model id that produced the recommendation, when the judge was consulted and reported one. Absent for excluded (the judge was not consulted) and for failures that occurred before a model was selected.
reason: Option<String>Human-readable reason for the judge’s recommendation, when available.
recommendation: AssistedApprovalRecommendationThe assisted-approval safety judge’s outcome for this request.