pub(crate) async fn admit_start_with( state: &AppState, agent_id: &str, commit_pct: impl Fn() -> Option<f64>, ) -> Result<(), String>