async fn repo_of( state: &AppState, reg: Option<&AgentRegistration>, ) -> (String, String)
The repository the agent works in and the branch it is on, from its work facts.