Skip to content

One message row, three endpoints, base keys always present

The rule

Normative: this is the rule
  1. The message list, the single-message read and the send acknowledgement MUST publish the same message row.
  2. Its base keys (id, sessionId, role, content, timestamp, status, sequenceNumber, nodeId, metadata) MUST always be present.
  3. The lineage and presentation keys hierarchy, tags, display, toolArtifacts, parentMessageId, executionId, rootPipelineId and parentPipelineId MUST be present only when the message carries them.
  4. They MUST be absent otherwise, not present and null.
  5. The single-message read MUST resolve lineage on the same terms as the list, so its row is not a lesser one.
  6. timestamp MUST be an ISO 8601 string.
  7. The lightweight message status read is a different document from this row.
  8. It MUST carry id, status, sequenceNumber and timestamp.

Why

Recorded under OPEN-22, OPEN-23, OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · PLAY-4 · changed in spec 1.0