pub fn parse_exit_criteria(
value: Option<&Value>,
) -> Result<Vec<ExitCriterion>, String>Expand description
Parse the exit_criteria tool-input value. None when absent/null;
errors on malformed entries so bad contracts fail loudly at spawn time
instead of silently verifying nothing.