pub fn evaluate_gate(
specs: &[Spec],
bindings: &IndexMap<String, Value>,
lex_source: &str,
) -> GateVerdictExpand description
Evaluate every spec against bindings and return the
first non-Allow verdict (or Allow if all pass). lex_source
supplies the host program — any SpecExpr::Call in a spec’s
body resolves to a function in this program.
Designed for synchronous per-action use. The Lex program is
type-checked and compiled on each call; callers that gate at
high frequency should prefer evaluate_gate_compiled.