fn uid_of(state: &AppState, named: &str, what: &str) -> Result<String, Refusal>
The uid of the agent named (an id or a slug) on this machine.
named