Session lifecycle
Grounded in session-operations.md's 4-state machine. See subagentmemories.com's session_attachments for the resource half of a session.
start
idle
Agent waiting for input, including user messages or tool confirmations. Sessions start here.
source: session-operations.md
rescheduling
Transient error occurred; retrying automatically.
source: session-operations.md
running
Agent actively executing.
source: session-operations.md
terminal
terminated
Session ended because of an unrecoverable error.
source: session-operations.md