fn pending_key(state: &AppState, agent_id: &str) -> String
The key of an admitted start: per store, so two instances in one process (tests) do not count each other.