JournalSessionDescriptor
Experimental
A session’s storage descriptor (ADR 61595 D5, owner D176): the admission
intent and, for a child, how its journal was created and which journal it
links to. Storage-level only: the store creates and links the child’s
journal from it and never parses records. kind, parentSessionId and
createdAt come together or not at all, and only without resume or
readOnly: a root, any resume and any read-only admission send no child
field; a child’s new sends them all. Child fields with no intent are
today’s child create.
Fields and variants
Section titled “Fields and variants”createdAt— Experimentalintent— Experimentalkind— ExperimentalparentSessionId— ExperimentalschemaVersion— ExperimentalsubagentId— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/JournalSessionDescriptor
{ "description": "A session's storage descriptor (ADR 61595 D5, owner D176): the admission\nintent and, for a child, how its journal was created and which journal it\nlinks to. Storage-level only: the store creates and links the child's\njournal from it and never parses records. `kind`, `parentSessionId` and\n`createdAt` come together or not at all, and only without `resume` or\n`readOnly`: a root, any resume and any read-only admission send no child\nfield; a child's `new` sends them all. Child fields with no intent are\ntoday's child create.", "properties": { "createdAt": { "description": "The time recorded in the parent's record that started the child (never\na live clock read, so a repeat after restore is identical), in the unit\nof `JournalRecord.recordedAt`.", "type": "integer" }, "intent": { "$ref": "#/$defs/JournalAdmissionIntent", "description": "Whether this admission opens a new journal, resumes a held one, or\nreads a held one without becoming its writer (`readOnly`, owner D243).\nAbsent: answered as before." }, "kind": { "$ref": "#/$defs/JournalChildKind" }, "parentSessionId": { "description": "The parent's session id; for a fork or side chat, the source session.", "type": "string" }, "schemaVersion": { "type": "integer" }, "subagentId": { "type": "string" } }, "required": [ "schemaVersion" ], "type": "object", "x-msp-descriptor": "journal/admissionContext", "x-msp-stability": "experimental"}