pub(super) async fn admit_open( state: &AppState, agent: &AgentDefinition, ) -> Result<(), String>
The checks before anything is written for the agent: no live instance elsewhere on this host, and a local row.