Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

docs(node-services): explain memory server shutdown ownership

Tsan10247c8afecee86f
diff --git a/apps/node-services/README.md b/apps/node-services/README.md
index 09ea3e48..7d2edd30 100644
--- a/apps/node-services/README.md
+++ b/apps/node-services/README.md
@@ -2,6 +2,15 @@
Node Services is one Node process started by role. It hosts the Agent Service (Agent lifecycle, Runtime execution and TeamHub callbacks), Memory, LLM Wiki and the Document Runtime. The Agent Service, Memory and LLM Wiki share one HTTP port (4319 by default) and route by path; the Document Runtime listens on 4321 in its own worker thread. All roles ship in one deployment image.
+## Shared HTTP lifecycle
+
+When the Memory server closes, it unregisters its own routes from the shared
+HTTP host. Requests to those routes then return 404; other roles and the
+listener remain available. A replacement Memory server can register the same
+routes. Closing an old instance again does not unregister its replacement.
+When Memory creates a private listener instead, closing Memory also closes
+that listener.
+
The Agent Service owns no persisted collaboration state such as Accounts, Rooms or Work Items; TeamHub owns it.
Commands, conventions and boundaries are in [AGENTS.md](./AGENTS.md).