{
"id": "state-machine:session",
"_kind": "StateMachine",
"_file": "lifecycle/state-machines/session.yaml",
"_cluster": "lifecycle",
"attributes": {
"governsNodeKindId": "node-kind:Session",
"displayName": "Session",
"targetNodeKind": "Session",
"description": "Lifecycle for an agent session (the persistent conversation thread that\ncan outlive any single invocation).\n",
"states": [
{
"id": "session.created",
"displayName": "Session / created",
"terminal": false,
"description": "The 'created' state of the session state machine."
},
{
"id": "session.active",
"displayName": "Session / active",
"terminal": false,
"description": "The 'active' state of the session state machine."
},
{
"id": "session.suspended",
"displayName": "Session / suspended",
"terminal": false,
"description": "The 'suspended' state of the session state machine."
},
{
"id": "session.terminated",
"displayName": "Session / terminated",
"terminal": true,
"description": "The 'terminated' state of the session state machine."
}
]
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "session:claude-code-flagship-example",
"to": "state-machine:session",
"kind": "governed_by"
},
{
"from": "session:01kqex-session-002-fork",
"to": "state-machine:session",
"kind": "governed_by"
},
{
"from": "session:01kqex-session-001",
"to": "state-machine:session",
"kind": "governed_by"
}
]
}