pub(crate) fn target_of(state: &AppState, target: &str) -> (String, String)
The agent a task is for, (name, uid); none for the backlog.
(name, uid)