pub fn validate_ingested_agent_message( msg: &ChatMessage, participants: &[ChatParticipant], ) -> Result<(), String>