add back comment

This commit is contained in:
kevin zhao
2025-11-13 21:35:12 -05:00
parent 9a15ae1286
commit e266a8da1b

View File

@@ -112,7 +112,11 @@ pub(crate) trait Approvable<Req> {
}
matches!(policy, AskForApproval::Never)
}
/// Decide whether an initial user approval should be requested or forbidden before the
/// first attempt. Defaults to the orchestrator's behavior (prerefactor):
/// - Never, OnFailure: do not ask
/// - OnRequest: ask unless sandbox policy is DangerFullAccess
/// - UnlessTrusted: always ask
fn approval_requirement(
&self,
_req: &Req,