async fn replace_row(state: &AppState, agent_id: &str) -> Result<(), String>
Replace the stored token (and its index entry): off the async workers, as it takes the store’s lock.