evaluate_sequence

Function evaluate_sequence 

Source
pub fn evaluate_sequence(policy_regex: &str, tool_names: &[String]) -> Verdict
Expand description

Evaluates a sequence of tool calls against a sequence policy (regex-like). For v0.9, simplified: the policy is just a string (regex) of tool names. E.g. “^search (analyze )*report$” The input is a list of tool names invoked in order.