fn target_of( state: &AppState, actor: &Actor, agent: Option<&str>, ) -> Result<AgentDefinition, Refusal>
The definition agent names, the caller’s own when it names none.
agent