Skip to main content

OPS

Static OPS 

Source
static OPS: LazyLock<Mutex<HashMap<String, Arc<Mutex<()>>>>>
Expand description

One claim, renewal or release at a time per agent. Without it a release still in flight (the RemoveAgent arm’s runs detached, after a token refresh) could land after the agent was subscribed and claimed again, and release that fresh claim (Codex P2 on #3897).