async fn run( state: &AppState, caller: Option<&Caller>, action: &str, req: LifecycleRequest, ) -> Result<Value, Refusal>