Concepts
Session lifecycle
creating → ready → attached / detached → running → closed
- Detach must not kill persistent sessions.
- Attach reconnects a client to an owned session; it does not transfer process ownership.
- Close / terminate ends the session and tears down runtime-owned processes according to persistence mode.
Authoritative runtime behaviour: docs/execution-runtime.md.