Skip to main content

validate_agent

Function validate_agent 

Source
pub fn validate_agent(agent: &AgentDefinition) -> Result<(), String>
Expand description

Validate values that cross the roster/UI boundary. This is intentionally a cold-path check: it protects stable mention keys and prevents a malformed execution preference from becoming a scheduler ambiguity.