pub fn decision_to_approved(
decision: Decision,
ask_fn: impl FnOnce() -> bool,
) -> boolExpand description
Convenience: fold a Decision into the boolean “may this call proceed”
the tool-dispatch gate needs, given a resolve_ask-style callback for the
Ask case. Deny never reaches ask_fn (hard floor); Allow never
needs it either.