Skip to content

Schema: session_identity

The stable logical session that produced this observation. Identity survives reconnect (``reconnect_epoch`` bumps) and credential rotation (``credential_epoch`` bumps) — the session is the *logical* conversation, not the transport connection and not the credential (LW-01: two same-account agents stay distinct through reconnect and rotation because they hold distinct ``session_id``s). ``delegated_from`` names the delegating session's ``session_id`` when this session was spawned by a delegation (LW-05 delegated sessions).

A shared building block of the event model.

Generated from src/spec_kitty_events/schemas/session_identity.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Shared event-model types hub.

Diagram

SessionIdentityStructure of the JSON Schema SessionIdentity.$idspec-kitty-events/session_identity$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionThe stable logical session that produced this observation. Identity survives reconnect (``reconnect_epoch`` bumps) and credential rotation (``credential_epoch`` bumps) — the session is the *logical* conversation, not the transport connection and not the credential (LW-01: two same-account agents stay distinct through reconnect and rotation because they hold distinct ``session_id``s). ``delegated_from`` names the delegating session's ``session_id`` when this session was spawned by a delegation (LW-05 delegated sessions).properties   required   titleSessionIdentitytypeobjectcredential_epoch   delegated_from   reconnect_epoch   session_id   default0minimum0titleCredential EpochtypeintegeranyOf   default␀titleDelegated From      maxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$typestringtypenulldefault0minimum0titleReconnect EpochtypeintegermaxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleSession Idtypestringsession_id
Structure of the JSON Schema SessionIdentity.

Properties

  • credential_epoch (integer)
  • delegated_from (string | null)
  • reconnect_epoch (integer)
  • session_id (string, required)

Source

Schema file: schemas/session_identity.schema.json