changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "description": "A complete store export.",
+ "properties": {
+ "events": {
+ "description": "Compatibility event log.",
+ "type": "array"
+ },
+ "facts": {
+ "description": "Observed facts with their provenance claims.",
+ "items": {
+ "description": "A stored fact with its provenance claim and validity window.",
+ "properties": {
+ "actor": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Who performed the write."
+ },
+ "client": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Which client performed the write."
+ },
+ "confidence": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Caller-declared confidence in the observation, 0-1."
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 creation time."
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Caller-declared expiry instant, or null."
+ },
+ "id": {
+ "description": "Stable entity identifier.",
+ "type": "string"
+ },
+ "key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fact name, unique per project among active facts."
+ },
+ "kind": {
+ "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
+ "type": "string"
+ },
+ "observedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 time the fact was observed."
+ },
+ "project": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Project namespace; records imported from a schema that predates projects may carry null."
+ },
+ "schemaVersion": {
+ "description": "Storage schema version this entity was written under. A value above the build’s own version is preserved rather than downgraded.",
+ "type": "integer"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Session identifier recorded with the write."
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Legacy alias of sourceClass, retained for compatibility."
+ },
+ "sourceClass": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Claimed origin class recorded with the write. A claim, never proof."
+ },
+ "sourceRaw": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The original origin label when it differed from sourceClass. Audit only; never evidence."
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "active, superseded, or expired."
+ },
+ "temporal": {
+ "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
+ "type": "object"
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 time of the last change."
+ },
+ "validityPolicy": {
+ "description": "Declared expiry inputs and the effective expiration boundary derived from them.",
+ "type": "object"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ },
+ {
+ "type": "array"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "description": "The observed value, any lossless JSON value."
+ },
+ "verification": {
+ "description": "Present only on a signed verification: the attestation this build checked.",
+ "type": "object"
+ },
+ "verificationStatus": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "unverified, contradicted, expired, or verified. Only the separately configured signed-evidence verifier can produce verified."
+ }
+ },
+ "required": [
+ "key"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "idempotency": {
+ "description": "Retry-key entries, each { key, value }.",
+ "type": "array"
+ },
+ "journal": {
+ "description": "The append-oriented journal.",
+ "items": {
+ "description": "One journal entry: a complete post-operation snapshot. Entries imported from older schemas may lack seq or payload.",
+ "properties": {
+ "at": {
+ "description": "ISO 8601 time the entry was appended.",
+ "type": "string"
+ },
+ "causationId": {
+ "description": "Present only when this entry was caused by another; carries that entry id.",
+ "type": "string"
+ },
+ "entityId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Identifier of that entity; null on a redacted skeleton."
+ },
+ "entityKind": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Kind of the entity the entry is about."
+ },
+ "id": {
+ "description": "Entry identifier.",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Present only when the write carried a retry key.",
+ "type": "string"
+ },
+ "payload": {
+ "anyOf": [
+ {
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The complete post-operation snapshot, or null once a logical purge reduced the entry to an audit skeleton."
+ },
+ "project": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Project the entry belongs to."
+ },
+ "provenance": {
+ "description": "actor, client, and sessionId recorded with the write; all null on purged skeletons.",
+ "type": "object"
+ },
+ "redacted": {
+ "description": "Present only on entries reduced by a logical purge.",
+ "type": "boolean"
+ },
+ "redactedReason": {
+ "description": "Why the entry was reduced.",
+ "type": "string"
+ },
+ "schemaVersion": {
+ "description": "Schema version the entry was written under.",
+ "type": "integer"
+ },
+ "seq": {
+ "description": "Monotonic sequence number. Absent on pre-journal metadata entries.",
+ "type": "integer"
+ },
+ "transition": {
+ "description": "Present only on lifecycle changes; carries from, to, and the actor that made them.",
+ "type": "object"
+ },
+ "type": {
+ "description": "Entry type, such as decision.recorded, fact.observed, memory.superseded, or project.purged.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "journalEpoch": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "First replayable sequence, or null when nothing is replayable."
+ },
+ "journalSeq": {
+ "description": "Highest journal sequence issued.",
+ "type": "integer"
+ },
+ "records": {
+ "description": "Decisions, attempts, and memories.",
+ "items": {
+ "description": "One stored entity: a decision, attempt, memory, fact, or alternative. Fields vary by kind, and an entity imported from an older schema may carry fewer of them.",
+ "properties": {
+ "actor": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Who performed the write."
+ },
+ "client": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Which client performed the write."
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 creation time."
+ },
+ "id": {
+ "description": "Stable entity identifier.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
+ "type": "string"
+ },
+ "project": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Project namespace; records imported from a schema that predates projects may carry null."
+ },
+ "schemaVersion": {
+ "description": "Storage schema version this entity was written under. A value above the build’s own version is preserved rather than downgraded.",
+ "type": "integer"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Session identifier recorded with the write."
+ },
+ "sourceClass": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Claimed origin class recorded with the write. A claim, never proof."
+ },
+ "sourceRaw": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The original origin label when it differed from sourceClass. Audit only; never evidence."
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 time of the last change."
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "relations": {
+ "description": "Relationships.",
+ "items": {
+ "description": "A stored relationship between two entities.",
+ "properties": {
+ "actor": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Who performed the write."
+ },
+ "client": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Which client performed the write."
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 creation time."
+ },
+ "from": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source entity identifier."
+ },
+ "id": {
+ "description": "Stable entity identifier.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
+ "type": "string"
+ },
+ "project": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Project namespace; records imported from a schema that predates projects may carry null."
+ },
+ "relation": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Relationship name, such as depends_on or supersedes."
+ },
+ "schemaVersion": {
+ "description": "Storage schema version this entity was written under. A value above the build’s own version is preserved rather than downgraded.",
+ "type": "integer"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Session identifier recorded with the write."
+ },
+ "sourceClass": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Claimed origin class recorded with the write. A claim, never proof."
+ },
+ "sourceRaw": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The original origin label when it differed from sourceClass. Audit only; never evidence."
+ },
+ "temporal": {
+ "description": "Bi-temporal window for the relationship.",
+ "type": "object"
+ },
+ "to": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Target entity identifier."
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 time of the last change."
+ }
+ },
+ "required": [
+ "id",
+ "from",
+ "to",
+ "relation"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "reviewSignals": {
+ "description": "Persisted review signals.",
+ "items": {
+ "description": "A persisted review signal.",
+ "properties": {
+ "acknowledgedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO 8601 time of the most recent acknowledgement."
+ },
+ "alternativesToReconsider": {
+ "description": "Alternative labels to look at again.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "description": "ISO 8601 time the signal was raised.",
+ "type": "string"
+ },
+ "decisionId": {
+ "description": "The decision this signal is about.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Signal identifier, used by shadowgraph_ack_review.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "review",
+ "description": "Always \"review\".",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Why the signal was raised. Together with decisionId this is the dedupe identity, so the same cause never raises a second signal.",
+ "type": "string"
+ },
+ "status": {
+ "description": "open until acknowledged.",
+ "enum": [
+ "open",
+ "acknowledged"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Decision title, when the stored decision has one."
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "decisionId",
+ "reason",
+ "alternativesToReconsider",
+ "status",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "revision": {
+ "description": "Concurrency token of the state this export was taken from.",
+ "type": "integer"
+ },
+ "schemaVersion": {
+ "description": "Storage schema version of this export.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "revision",
+ "records",
+ "facts",
+ "relations",
+ "reviewSignals",
+ "idempotency",
+ "events",
+ "journal",
+ "journalSeq",
+ "journalEpoch"
+ ],
+ "type": "object"
+}