docs(#2290): update mcp_sockets module doc — no eager register_agent after converge cleanup

This commit is contained in:
atlas 2026-07-08 23:56:25 +02:00
commit 44dd9d45f0

View file

@ -7,9 +7,10 @@
//! //!
//! Same shape as `agent_sockets::spawn_poll` — a simple 10 s tick loop that //! Same shape as `agent_sockets::spawn_poll` — a simple 10 s tick loop that
//! converges "agent container running ⇒ MCP listener bound". The self-healing //! converges "agent container running ⇒ MCP listener bound". The self-healing
//! guarantee means the start path no longer needs to call `register_agent` //! guarantee means no callsite needs to call `register_agent` directly;
//! directly (though spawn still does for eagerness); callers only need //! `lifecycle::ensure_agent_runtime_dir` (called inside `lifecycle::spawn`
//! `lifecycle::ensure_agent_runtime_dir` to create the bind-mount source. //! and `converge_start_preamble`) creates the bind-mount source, and the
//! reconcile loop picks up the listener binding on the next tick.
use std::sync::Arc; use std::sync::Arc;