Skip to main content
Glama
ShadowGraph

ShadowGraph

Official

shadowgraph_remember

Destructive

Stores or reconciles scoped memories by identity tuple, applying ADD/UPDATE/DELETE/NOOP plans and preserving version history to keep agent recall accurate.

Instructions

Add or reconcile one scoped memory, or apply an ADD/UPDATE/DELETE/NOOP plan, by identity tuple. Use shadowgraph_record_decision for a choice, shadowgraph_record_fact for an observation, shadowgraph_recall to read memory back. Identical content is a NOOP, new content supersedes and keeps history, DELETE invalidates; every call commits a revision.

Input Schema

NameRequiredDescriptionDefault
keyNoStable caller-chosen name within this scope and type, such as hotel-style. Reusing it reconciles that memory rather than adding a second one.
tagsNoFree-form labels stored with the memory. Part of the compared content, so changing them produces a new version.
textNoThe memory content itself. Stored verbatim, searched as content, and compared to decide ADD, UPDATE, or NOOP.
actorNoWho performed this write, such as an agent or person name. Stored for audit; never used to grant trust.
scopeNoScope selector. Omitted or partial fields mean explicit nulls, not "any": identity is the exact (project, userId, agentId, runId, memoryType, key) tuple, so a run-scoped memory never leaks into a user-only read.
clientNoWhich client software performed this write, such as the host application name.
reasonNoExplanation or rationale for storing or updating this memory.
projectNoOwning project; required unless originId is set, else the write is refused.
validToNoISO 8601 instant after which it stops being true, or null for open-ended. Must be later than validFrom.
backfillNoAlias for allowHistorical to insert a memory into past historical intervals.
metadataNoCaller-owned JSON object kept with the memory. Part of the compared content, so changing it produces a new version.
originIdNoCapture-origin ID for unattributed records when project is omitted.
embeddingNoCaller-supplied vector for this text. Omit to use the configured embedding provider; with no provider the record is still stored and recall reports semantic.available=false instead of renaming lexical overlap as semantic.
sessionIdNoCaller-owned identifier that groups related writes in the audit trail.
validFromNoISO 8601 instant from which this memory is true in the modeled world. Defaults to the write time. Writes for one identity must arrive in non-decreasing validFrom order.
memoryTypeNoWhich kind of memory this is, and part of its identity. preference and profile are durable user facts, goal a desired state, instruction an operating constraint, procedure reusable steps, episode a recallable event, note general knowledge.
operationsNoA batch plan. Supply this instead of a single memory, typically from an extraction step. Every operation is validated before the first one is applied, so a malformed late operation cannot leave a half-applied batch.
visibilityNoVisibility scope for cross-project recall and context: project (default) or global.
sourceClassNoClaimed origin, never proof: agent_claimed (the default), tool_observed, human_confirmed, or production_verified. It weights confidence only. An unrecognised label downgrades to agent_claimed, kept verbatim in sourceRaw.
changeSummaryNoSummary of what changed compared to previous versions.
idempotencyKeyNoRetry identity within the project or origin and operation (also scope/type/key for memory). Reuse it to recover the original canonical ID; this key is never an entity ID.
allowHistoricalNoPermit recording a historical version with validFrom earlier than existing versions.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.44.1
    • addedInput schema / properties / allowHistorical
      Added value: +{
      +  "description": "Permit recording a historical version with validFrom earlier than existing versions.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / backfill
      Added value: +{
      +  "description": "Alias for allowHistorical to insert a memory into past historical intervals.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / changeSummary
      Added value: +{
      +  "description": "Summary of what changed compared to previous versions.",
      +  "type": "string"
      +}
    • addedInput schema / properties / operations / items / properties / allowHistorical
      Added value: +{
      +  "description": "Permit recording a historical version with validFrom earlier than existing versions.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / operations / items / properties / backfill
      Added value: +{
      +  "description": "Alias for allowHistorical to insert a memory into past historical intervals.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / operations / items / properties / changeSummary
      Added value: +{
      +  "description": "Summary of what changed compared to previous versions.",
      +  "type": "string"
      +}
    • addedInput schema / properties / operations / items / properties / reason
      Added value: +{
      +  "description": "Explanation or rationale for storing or updating this memory.",
      +  "type": "string"
      +}
    • addedInput schema / properties / operations / items / properties / visibility
      Added value: +{
      +  "description": "Visibility scope for cross-project recall and context: project (default) or global.",
      +  "enum": [
      +    "project",
      +    "global"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "Explanation or rationale for storing or updating this memory.",
      +  "type": "string"
      +}
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "Visibility scope for cross-project recall and context: project (default) or global.",
      +  "enum": [
      +    "project",
      +    "global"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "indexUpdated": {
      -        "description": "Present when identical content arrived with a different embedding: the index was refreshed without minting a new version.",
      -        "type": "boolean"
      -      },
      -      "memory": {
      -        "description": "A stored scoped memory version.",
      -        "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."
      -          },
      -          "embedding": {
      -            "anyOf": [
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The stored vector, or null when none was supplied and no provider was configured."
      -          },
      -          "id": {
      -            "description": "Stable entity identifier.",
      -            "type": "string"
      -          },
      -          "key": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Caller-chosen name within the scope and type."
      -          },
      -          "kind": {
      -            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -            "type": "string"
      -          },
      -          "memoryType": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -          },
      -          "metadata": {
      -            "description": "Caller-owned JSON stored with the memory.",
      -            "type": "object"
      -          },
      -          "project": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      -          },
      -          "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"
      -          },
      -          "scope": {
      -            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -            "type": "object"
      -          },
      -          "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."
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "active, superseded, or invalidated."
      -          },
      -          "supersededBy": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version that replaced this one."
      -          },
      -          "supersedes": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version this one replaced."
      -          },
      -          "tags": {
      -            "description": "Labels stored with the memory.",
      -            "type": "array"
      -          },
      -          "temporal": {
      -            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -            "type": "object"
      -          },
      -          "text": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The memory content."
      -          },
      -          "updatedAt": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "ISO 8601 time of the last change."
      -          },
      -          "verificationStatus": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Always unverified for memories."
      -          },
      -          "version": {
      -            "anyOf": [
      -              {
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Version number within this identity, incrementing on each superseding write."
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "kind"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "description": "ADD when no active memory existed, UPDATE when one was superseded, NOOP when content was identical.",
      -        "enum": [
      -          "ADD",
      -          "UPDATE",
      -          "NOOP"
      -        ],
      -        "type": "string"
      -      },
      -      "previous": {
      -        "description": "A stored scoped memory version.",
      -        "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."
      -          },
      -          "embedding": {
      -            "anyOf": [
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The stored vector, or null when none was supplied and no provider was configured."
      -          },
      -          "id": {
      -            "description": "Stable entity identifier.",
      -            "type": "string"
      -          },
      -          "key": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Caller-chosen name within the scope and type."
      -          },
      -          "kind": {
      -            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -            "type": "string"
      -          },
      -          "memoryType": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -          },
      -          "metadata": {
      -            "description": "Caller-owned JSON stored with the memory.",
      -            "type": "object"
      -          },
      -          "project": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      -          },
      -          "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"
      -          },
      -          "scope": {
      -            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -            "type": "object"
      -          },
      -          "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."
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "active, superseded, or invalidated."
      -          },
      -          "supersededBy": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version that replaced this one."
      -          },
      -          "supersedes": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version this one replaced."
      -          },
      -          "tags": {
      -            "description": "Labels stored with the memory.",
      -            "type": "array"
      -          },
      -          "temporal": {
      -            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -            "type": "object"
      -          },
      -          "text": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The memory content."
      -          },
      -          "updatedAt": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "ISO 8601 time of the last change."
      -          },
      -          "verificationStatus": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Always unverified for memories."
      -          },
      -          "version": {
      -            "anyOf": [
      -              {
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Version number within this identity, incrementing on each superseding write."
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "kind"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "memory"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "completeness": {
      -        "description": "Plan accounting. This is not the paginated completeness envelope.",
      -        "properties": {
      -          "applied": {
      -            "description": "Results produced, one per submitted operation.",
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "complete": {
      -            "description": "Always true: a plan is applied in full or rejected in full.",
      -            "type": "boolean"
      -          },
      -          "requested": {
      -            "description": "Operations submitted.",
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "complete",
      -          "requested",
      -          "applied"
      -        ],
      -        "type": "object"
      -      },
      -      "results": {
      -        "description": "One result per submitted operation, in order.",
      -        "items": {
      -          "properties": {
      -            "indexUpdated": {
      -              "description": "Present when only the embedding was refreshed.",
      -              "type": "boolean"
      -            },
      -            "memory": {
      -              "anyOf": [
      -                {
      -                  "description": "A stored scoped memory version.",
      -                  "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."
      -                    },
      -                    "embedding": {
      -                      "anyOf": [
      -                        {
      -                          "type": "array"
      -                        },
      -                        {
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "The stored vector, or null when none was supplied and no provider was configured."
      -                    },
      -                    "id": {
      -                      "description": "Stable entity identifier.",
      -                      "type": "string"
      -                    },
      -                    "key": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Caller-chosen name within the scope and type."
      -                    },
      -                    "kind": {
      -                      "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -                      "type": "string"
      -                    },
      -                    "memoryType": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -                    },
      -                    "metadata": {
      -                      "description": "Caller-owned JSON stored with the memory.",
      -                      "type": "object"
      -                    },
      -                    "project": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Project namespace; null for an unattributed record or one imported from before projects."
      -                    },
      -                    "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"
      -                    },
      -                    "scope": {
      -                      "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -                      "type": "object"
      -                    },
      -                    "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."
      -                    },
      -                    "status": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "active, superseded, or invalidated."
      -                    },
      -                    "supersededBy": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Identifier of the version that replaced this one."
      -                    },
      -                    "supersedes": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Identifier of the version this one replaced."
      -                    },
      -                    "tags": {
      -                      "description": "Labels stored with the memory.",
      -                      "type": "array"
      -                    },
      -                    "temporal": {
      -                      "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -                      "type": "object"
      -                    },
      -                    "text": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "The memory content."
      -                    },
      -                    "updatedAt": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "ISO 8601 time of the last change."
      -                    },
      -                    "verificationStatus": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Always unverified for memories."
      -                    },
      -                    "version": {
      -                      "anyOf": [
      -                        {
      -                          "type": "integer"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Version number within this identity, incrementing on each superseding write."
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "kind"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "The resulting memory, or null for a NOOP on an identity that has no memory."
      -            },
      -            "operation": {
      -              "description": "What was actually applied, which may differ from the requested action when content already matched.",
      -              "enum": [
      -                "ADD",
      -                "UPDATE",
      -                "DELETE",
      -                "NOOP"
      -              ],
      -              "type": "string"
      -            },
      -            "previous": {
      -              "description": "A stored scoped memory version.",
      -              "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."
      -                },
      -                "embedding": {
      -                  "anyOf": [
      -                    {
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "The stored vector, or null when none was supplied and no provider was configured."
      -                },
      -                "id": {
      -                  "description": "Stable entity identifier.",
      -                  "type": "string"
      -                },
      -                "key": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Caller-chosen name within the scope and type."
      -                },
      -                "kind": {
      -                  "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -                  "type": "string"
      -                },
      -                "memoryType": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -                },
      -                "metadata": {
      -                  "description": "Caller-owned JSON stored with the memory.",
      -                  "type": "object"
      -                },
      -                "project": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Project namespace; null for an unattributed record or one imported from before projects."
      -                },
      -                "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"
      -                },
      -                "scope": {
      -                  "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -                  "type": "object"
      -                },
      -                "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."
      -                },
      -                "status": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "active, superseded, or invalidated."
      -                },
      -                "supersededBy": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Identifier of the version that replaced this one."
      -                },
      -                "supersedes": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Identifier of the version this one replaced."
      -                },
      -                "tags": {
      -                  "description": "Labels stored with the memory.",
      -                  "type": "array"
      -                },
      -                "temporal": {
      -                  "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -                  "type": "object"
      -                },
      -                "text": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "The memory content."
      -                },
      -                "updatedAt": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "ISO 8601 time of the last change."
      -                },
      -                "verificationStatus": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Always unverified for memories."
      -                },
      -                "version": {
      -                  "anyOf": [
      -                    {
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Version number within this identity, incrementing on each superseding write."
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "kind"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "operation",
      -            "memory"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "results",
      -      "completeness"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "indexUpdated": {
      +        "description": "Present when identical content arrived with a different embedding: the index was refreshed without minting a new version.",
      +        "type": "boolean"
      +      },
      +      "memory": {
      +        "description": "A stored scoped memory version.",
      +        "properties": {
      +          "actor": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Who performed the write."
      +          },
      +          "changeSummary": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Summary of modifications compared to superseded versions."
      +          },
      +          "client": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Which client performed the write."
      +          },
      +          "createdAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 creation time."
      +          },
      +          "embedding": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The stored vector, or null when none was supplied and no provider was configured."
      +          },
      +          "id": {
      +            "description": "Stable entity identifier.",
      +            "type": "string"
      +          },
      +          "key": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Caller-chosen name within the scope and type."
      +          },
      +          "kind": {
      +            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +            "type": "string"
      +          },
      +          "memoryType": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +          },
      +          "metadata": {
      +            "description": "Caller-owned JSON stored with the memory.",
      +            "type": "object"
      +          },
      +          "project": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +          },
      +          "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"
      +          },
      +          "scope": {
      +            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +            "type": "object"
      +          },
      +          "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."
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "active, superseded, or invalidated."
      +          },
      +          "supersededBy": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version that replaced this one."
      +          },
      +          "supersedes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version this one replaced."
      +          },
      +          "tags": {
      +            "description": "Labels stored with the memory.",
      +            "type": "array"
      +          },
      +          "temporal": {
      +            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +            "type": "object"
      +          },
      +          "text": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The memory content."
      +          },
      +          "updatedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 time of the last change."
      +          },
      +          "verificationStatus": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Always unverified for memories."
      +          },
      +          "version": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Version number within this identity, incrementing on each superseding write."
      +          },
      +          "visibility": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Visibility boundary: project or global."
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "description": "ADD when no active memory existed, UPDATE when one was superseded, NOOP when content was identical.",
      +        "enum": [
      +          "ADD",
      +          "UPDATE",
      +          "NOOP"
      +        ],
      +        "type": "string"
      +      },
      +      "previous": {
      +        "description": "A stored scoped memory version.",
      +        "properties": {
      +          "actor": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Who performed the write."
      +          },
      +          "changeSummary": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Summary of modifications compared to superseded versions."
      +          },
      +          "client": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Which client performed the write."
      +          },
      +          "createdAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 creation time."
      +          },
      +          "embedding": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The stored vector, or null when none was supplied and no provider was configured."
      +          },
      +          "id": {
      +            "description": "Stable entity identifier.",
      +            "type": "string"
      +          },
      +          "key": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Caller-chosen name within the scope and type."
      +          },
      +          "kind": {
      +            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +            "type": "string"
      +          },
      +          "memoryType": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +          },
      +          "metadata": {
      +            "description": "Caller-owned JSON stored with the memory.",
      +            "type": "object"
      +          },
      +          "project": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +          },
      +          "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"
      +          },
      +          "scope": {
      +            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +            "type": "object"
      +          },
      +          "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."
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "active, superseded, or invalidated."
      +          },
      +          "supersededBy": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version that replaced this one."
      +          },
      +          "supersedes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version this one replaced."
      +          },
      +          "tags": {
      +            "description": "Labels stored with the memory.",
      +            "type": "array"
      +          },
      +          "temporal": {
      +            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +            "type": "object"
      +          },
      +          "text": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The memory content."
      +          },
      +          "updatedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 time of the last change."
      +          },
      +          "verificationStatus": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Always unverified for memories."
      +          },
      +          "version": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Version number within this identity, incrementing on each superseding write."
      +          },
      +          "visibility": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Visibility boundary: project or global."
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "memory"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "completeness": {
      +        "description": "Plan accounting. This is not the paginated completeness envelope.",
      +        "properties": {
      +          "applied": {
      +            "description": "Results produced, one per submitted operation.",
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Always true: a plan is applied in full or rejected in full.",
      +            "type": "boolean"
      +          },
      +          "requested": {
      +            "description": "Operations submitted.",
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "complete",
      +          "requested",
      +          "applied"
      +        ],
      +        "type": "object"
      +      },
      +      "results": {
      +        "description": "One result per submitted operation, in order.",
      +        "items": {
      +          "properties": {
      +            "indexUpdated": {
      +              "description": "Present when only the embedding was refreshed.",
      +              "type": "boolean"
      +            },
      +            "memory": {
      +              "anyOf": [
      +                {
      +                  "description": "A stored scoped memory version.",
      +                  "properties": {
      +                    "actor": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Who performed the write."
      +                    },
      +                    "changeSummary": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Summary of modifications compared to superseded versions."
      +                    },
      +                    "client": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Which client performed the write."
      +                    },
      +                    "createdAt": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "ISO 8601 creation time."
      +                    },
      +                    "embedding": {
      +                      "anyOf": [
      +                        {
      +                          "type": "array"
      +                        },
      +                        {
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                    },
      +                    "id": {
      +                      "description": "Stable entity identifier.",
      +                      "type": "string"
      +                    },
      +                    "key": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Caller-chosen name within the scope and type."
      +                    },
      +                    "kind": {
      +                      "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                      "type": "string"
      +                    },
      +                    "memoryType": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                    },
      +                    "metadata": {
      +                      "description": "Caller-owned JSON stored with the memory.",
      +                      "type": "object"
      +                    },
      +                    "project": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +                    },
      +                    "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"
      +                    },
      +                    "scope": {
      +                      "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                      "type": "object"
      +                    },
      +                    "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."
      +                    },
      +                    "status": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "active, superseded, or invalidated."
      +                    },
      +                    "supersededBy": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Identifier of the version that replaced this one."
      +                    },
      +                    "supersedes": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Identifier of the version this one replaced."
      +                    },
      +                    "tags": {
      +                      "description": "Labels stored with the memory.",
      +                      "type": "array"
      +                    },
      +                    "temporal": {
      +                      "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                      "type": "object"
      +                    },
      +                    "text": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "The memory content."
      +                    },
      +                    "updatedAt": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "ISO 8601 time of the last change."
      +                    },
      +                    "verificationStatus": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Always unverified for memories."
      +                    },
      +                    "version": {
      +                      "anyOf": [
      +                        {
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Version number within this identity, incrementing on each superseding write."
      +                    },
      +                    "visibility": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Visibility boundary: project or global."
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "kind"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The resulting memory, or null for a NOOP on an identity that has no memory."
      +            },
      +            "operation": {
      +              "description": "What was actually applied, which may differ from the requested action when content already matched.",
      +              "enum": [
      +                "ADD",
      +                "UPDATE",
      +                "DELETE",
      +                "NOOP"
      +              ],
      +              "type": "string"
      +            },
      +            "previous": {
      +              "description": "A stored scoped memory version.",
      +              "properties": {
      +                "actor": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Who performed the write."
      +                },
      +                "changeSummary": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Summary of modifications compared to superseded versions."
      +                },
      +                "client": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Which client performed the write."
      +                },
      +                "createdAt": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "ISO 8601 creation time."
      +                },
      +                "embedding": {
      +                  "anyOf": [
      +                    {
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                },
      +                "id": {
      +                  "description": "Stable entity identifier.",
      +                  "type": "string"
      +                },
      +                "key": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Caller-chosen name within the scope and type."
      +                },
      +                "kind": {
      +                  "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                  "type": "string"
      +                },
      +                "memoryType": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                },
      +                "metadata": {
      +                  "description": "Caller-owned JSON stored with the memory.",
      +                  "type": "object"
      +                },
      +                "project": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +                },
      +                "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"
      +                },
      +                "scope": {
      +                  "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                  "type": "object"
      +                },
      +                "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."
      +                },
      +                "status": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "active, superseded, or invalidated."
      +                },
      +                "supersededBy": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Identifier of the version that replaced this one."
      +                },
      +                "supersedes": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Identifier of the version this one replaced."
      +                },
      +                "tags": {
      +                  "description": "Labels stored with the memory.",
      +                  "type": "array"
      +                },
      +                "temporal": {
      +                  "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                  "type": "object"
      +                },
      +                "text": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "The memory content."
      +                },
      +                "updatedAt": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "ISO 8601 time of the last change."
      +                },
      +                "verificationStatus": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Always unverified for memories."
      +                },
      +                "version": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Version number within this identity, incrementing on each superseding write."
      +                },
      +                "visibility": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Visibility boundary: project or global."
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "kind"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "operation",
      +            "memory"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "completeness"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv0.43.6
    • changedInput schema / properties / originId / description
      Previous value: -"Capture-origin id; with no project the record belongs to it alone."New value: +"Capture-origin ID for unattributed records when project is omitted."
  3. Changed7 schema fields changedv0.42.1
    • addedInput schema / description
      Added value: +"Every envelope and operation rejects a supplied id, including retries, DELETE and NOOP. Memory is selected by its scoped identity tuple; canonical IDs are generated and returned."
    • addedInput schema / not
      Added value: +{
      +  "required": [
      +    "id"
      +  ]
      +}
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Retry identity within the project or origin and operation (also scope/type/key for memory). Reuse it to recover the original canonical ID; this key is never an entity ID.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / operations / items / not
      Added value: +{
      +  "required": [
      +    "id"
      +  ]
      +}
    • addedInput schema / properties / originId
      Added value: +{
      +  "description": "Capture-origin id; with no project the record belongs to it alone.",
      +  "type": "string"
      +}
    • changedInput schema / properties / project / description
      Previous value: -"Project namespace. Defaults to \"default\"; an empty string is rejected."New value: +"Owning project; required unless originId is set, else the write is refused."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "indexUpdated": {
      -        "description": "Present when identical content arrived with a different embedding: the index was refreshed without minting a new version.",
      -        "type": "boolean"
      -      },
      -      "memory": {
      -        "description": "A stored scoped memory version.",
      -        "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."
      -          },
      -          "embedding": {
      -            "anyOf": [
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The stored vector, or null when none was supplied and no provider was configured."
      -          },
      -          "id": {
      -            "description": "Stable entity identifier.",
      -            "type": "string"
      -          },
      -          "key": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Caller-chosen name within the scope and type."
      -          },
      -          "kind": {
      -            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -            "type": "string"
      -          },
      -          "memoryType": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -          },
      -          "metadata": {
      -            "description": "Caller-owned JSON stored with the memory.",
      -            "type": "object"
      -          },
      -          "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"
      -          },
      -          "scope": {
      -            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -            "type": "object"
      -          },
      -          "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."
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "active, superseded, or invalidated."
      -          },
      -          "supersededBy": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version that replaced this one."
      -          },
      -          "supersedes": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version this one replaced."
      -          },
      -          "tags": {
      -            "description": "Labels stored with the memory.",
      -            "type": "array"
      -          },
      -          "temporal": {
      -            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -            "type": "object"
      -          },
      -          "text": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The memory content."
      -          },
      -          "updatedAt": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "ISO 8601 time of the last change."
      -          },
      -          "verificationStatus": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Always unverified for memories."
      -          },
      -          "version": {
      -            "anyOf": [
      -              {
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Version number within this identity, incrementing on each superseding write."
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "kind"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "description": "ADD when no active memory existed, UPDATE when one was superseded, NOOP when content was identical.",
      -        "enum": [
      -          "ADD",
      -          "UPDATE",
      -          "NOOP"
      -        ],
      -        "type": "string"
      -      },
      -      "previous": {
      -        "description": "A stored scoped memory version.",
      -        "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."
      -          },
      -          "embedding": {
      -            "anyOf": [
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The stored vector, or null when none was supplied and no provider was configured."
      -          },
      -          "id": {
      -            "description": "Stable entity identifier.",
      -            "type": "string"
      -          },
      -          "key": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Caller-chosen name within the scope and type."
      -          },
      -          "kind": {
      -            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -            "type": "string"
      -          },
      -          "memoryType": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -          },
      -          "metadata": {
      -            "description": "Caller-owned JSON stored with the memory.",
      -            "type": "object"
      -          },
      -          "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"
      -          },
      -          "scope": {
      -            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -            "type": "object"
      -          },
      -          "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."
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "active, superseded, or invalidated."
      -          },
      -          "supersededBy": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version that replaced this one."
      -          },
      -          "supersedes": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Identifier of the version this one replaced."
      -          },
      -          "tags": {
      -            "description": "Labels stored with the memory.",
      -            "type": "array"
      -          },
      -          "temporal": {
      -            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -            "type": "object"
      -          },
      -          "text": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The memory content."
      -          },
      -          "updatedAt": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "ISO 8601 time of the last change."
      -          },
      -          "verificationStatus": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Always unverified for memories."
      -          },
      -          "version": {
      -            "anyOf": [
      -              {
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Version number within this identity, incrementing on each superseding write."
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "kind"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "memory"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "completeness": {
      -        "description": "Plan accounting. This is not the paginated completeness envelope.",
      -        "properties": {
      -          "applied": {
      -            "description": "Results produced, one per submitted operation.",
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "complete": {
      -            "description": "Always true: a plan is applied in full or rejected in full.",
      -            "type": "boolean"
      -          },
      -          "requested": {
      -            "description": "Operations submitted.",
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "complete",
      -          "requested",
      -          "applied"
      -        ],
      -        "type": "object"
      -      },
      -      "results": {
      -        "description": "One result per submitted operation, in order.",
      -        "items": {
      -          "properties": {
      -            "indexUpdated": {
      -              "description": "Present when only the embedding was refreshed.",
      -              "type": "boolean"
      -            },
      -            "memory": {
      -              "anyOf": [
      -                {
      -                  "description": "A stored scoped memory version.",
      -                  "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."
      -                    },
      -                    "embedding": {
      -                      "anyOf": [
      -                        {
      -                          "type": "array"
      -                        },
      -                        {
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "The stored vector, or null when none was supplied and no provider was configured."
      -                    },
      -                    "id": {
      -                      "description": "Stable entity identifier.",
      -                      "type": "string"
      -                    },
      -                    "key": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Caller-chosen name within the scope and type."
      -                    },
      -                    "kind": {
      -                      "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -                      "type": "string"
      -                    },
      -                    "memoryType": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -                    },
      -                    "metadata": {
      -                      "description": "Caller-owned JSON stored with the memory.",
      -                      "type": "object"
      -                    },
      -                    "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"
      -                    },
      -                    "scope": {
      -                      "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -                      "type": "object"
      -                    },
      -                    "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."
      -                    },
      -                    "status": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "active, superseded, or invalidated."
      -                    },
      -                    "supersededBy": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Identifier of the version that replaced this one."
      -                    },
      -                    "supersedes": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Identifier of the version this one replaced."
      -                    },
      -                    "tags": {
      -                      "description": "Labels stored with the memory.",
      -                      "type": "array"
      -                    },
      -                    "temporal": {
      -                      "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -                      "type": "object"
      -                    },
      -                    "text": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "The memory content."
      -                    },
      -                    "updatedAt": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "ISO 8601 time of the last change."
      -                    },
      -                    "verificationStatus": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Always unverified for memories."
      -                    },
      -                    "version": {
      -                      "anyOf": [
      -                        {
      -                          "type": "integer"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Version number within this identity, incrementing on each superseding write."
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "kind"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "The resulting memory, or null for a NOOP on an identity that has no memory."
      -            },
      -            "operation": {
      -              "description": "What was actually applied, which may differ from the requested action when content already matched.",
      -              "enum": [
      -                "ADD",
      -                "UPDATE",
      -                "DELETE",
      -                "NOOP"
      -              ],
      -              "type": "string"
      -            },
      -            "previous": {
      -              "description": "A stored scoped memory version.",
      -              "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."
      -                },
      -                "embedding": {
      -                  "anyOf": [
      -                    {
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "The stored vector, or null when none was supplied and no provider was configured."
      -                },
      -                "id": {
      -                  "description": "Stable entity identifier.",
      -                  "type": "string"
      -                },
      -                "key": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Caller-chosen name within the scope and type."
      -                },
      -                "kind": {
      -                  "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      -                  "type": "string"
      -                },
      -                "memoryType": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "preference, profile, goal, instruction, procedure, episode, or note."
      -                },
      -                "metadata": {
      -                  "description": "Caller-owned JSON stored with the memory.",
      -                  "type": "object"
      -                },
      -                "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"
      -                },
      -                "scope": {
      -                  "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      -                  "type": "object"
      -                },
      -                "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."
      -                },
      -                "status": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "active, superseded, or invalidated."
      -                },
      -                "supersededBy": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Identifier of the version that replaced this one."
      -                },
      -                "supersedes": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Identifier of the version this one replaced."
      -                },
      -                "tags": {
      -                  "description": "Labels stored with the memory.",
      -                  "type": "array"
      -                },
      -                "temporal": {
      -                  "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      -                  "type": "object"
      -                },
      -                "text": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "The memory content."
      -                },
      -                "updatedAt": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "ISO 8601 time of the last change."
      -                },
      -                "verificationStatus": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Always unverified for memories."
      -                },
      -                "version": {
      -                  "anyOf": [
      -                    {
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Version number within this identity, incrementing on each superseding write."
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "kind"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "operation",
      -            "memory"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "results",
      -      "completeness"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "indexUpdated": {
      +        "description": "Present when identical content arrived with a different embedding: the index was refreshed without minting a new version.",
      +        "type": "boolean"
      +      },
      +      "memory": {
      +        "description": "A stored scoped memory version.",
      +        "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."
      +          },
      +          "embedding": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The stored vector, or null when none was supplied and no provider was configured."
      +          },
      +          "id": {
      +            "description": "Stable entity identifier.",
      +            "type": "string"
      +          },
      +          "key": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Caller-chosen name within the scope and type."
      +          },
      +          "kind": {
      +            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +            "type": "string"
      +          },
      +          "memoryType": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +          },
      +          "metadata": {
      +            "description": "Caller-owned JSON stored with the memory.",
      +            "type": "object"
      +          },
      +          "project": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +          },
      +          "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"
      +          },
      +          "scope": {
      +            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +            "type": "object"
      +          },
      +          "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."
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "active, superseded, or invalidated."
      +          },
      +          "supersededBy": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version that replaced this one."
      +          },
      +          "supersedes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version this one replaced."
      +          },
      +          "tags": {
      +            "description": "Labels stored with the memory.",
      +            "type": "array"
      +          },
      +          "temporal": {
      +            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +            "type": "object"
      +          },
      +          "text": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The memory content."
      +          },
      +          "updatedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 time of the last change."
      +          },
      +          "verificationStatus": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Always unverified for memories."
      +          },
      +          "version": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Version number within this identity, incrementing on each superseding write."
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "description": "ADD when no active memory existed, UPDATE when one was superseded, NOOP when content was identical.",
      +        "enum": [
      +          "ADD",
      +          "UPDATE",
      +          "NOOP"
      +        ],
      +        "type": "string"
      +      },
      +      "previous": {
      +        "description": "A stored scoped memory version.",
      +        "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."
      +          },
      +          "embedding": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The stored vector, or null when none was supplied and no provider was configured."
      +          },
      +          "id": {
      +            "description": "Stable entity identifier.",
      +            "type": "string"
      +          },
      +          "key": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Caller-chosen name within the scope and type."
      +          },
      +          "kind": {
      +            "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +            "type": "string"
      +          },
      +          "memoryType": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +          },
      +          "metadata": {
      +            "description": "Caller-owned JSON stored with the memory.",
      +            "type": "object"
      +          },
      +          "project": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +          },
      +          "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"
      +          },
      +          "scope": {
      +            "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +            "type": "object"
      +          },
      +          "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."
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "active, superseded, or invalidated."
      +          },
      +          "supersededBy": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version that replaced this one."
      +          },
      +          "supersedes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Identifier of the version this one replaced."
      +          },
      +          "tags": {
      +            "description": "Labels stored with the memory.",
      +            "type": "array"
      +          },
      +          "temporal": {
      +            "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +            "type": "object"
      +          },
      +          "text": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The memory content."
      +          },
      +          "updatedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "ISO 8601 time of the last change."
      +          },
      +          "verificationStatus": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Always unverified for memories."
      +          },
      +          "version": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Version number within this identity, incrementing on each superseding write."
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "memory"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "completeness": {
      +        "description": "Plan accounting. This is not the paginated completeness envelope.",
      +        "properties": {
      +          "applied": {
      +            "description": "Results produced, one per submitted operation.",
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Always true: a plan is applied in full or rejected in full.",
      +            "type": "boolean"
      +          },
      +          "requested": {
      +            "description": "Operations submitted.",
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "complete",
      +          "requested",
      +          "applied"
      +        ],
      +        "type": "object"
      +      },
      +      "results": {
      +        "description": "One result per submitted operation, in order.",
      +        "items": {
      +          "properties": {
      +            "indexUpdated": {
      +              "description": "Present when only the embedding was refreshed.",
      +              "type": "boolean"
      +            },
      +            "memory": {
      +              "anyOf": [
      +                {
      +                  "description": "A stored scoped memory version.",
      +                  "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."
      +                    },
      +                    "embedding": {
      +                      "anyOf": [
      +                        {
      +                          "type": "array"
      +                        },
      +                        {
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                    },
      +                    "id": {
      +                      "description": "Stable entity identifier.",
      +                      "type": "string"
      +                    },
      +                    "key": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Caller-chosen name within the scope and type."
      +                    },
      +                    "kind": {
      +                      "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                      "type": "string"
      +                    },
      +                    "memoryType": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                    },
      +                    "metadata": {
      +                      "description": "Caller-owned JSON stored with the memory.",
      +                      "type": "object"
      +                    },
      +                    "project": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +                    },
      +                    "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"
      +                    },
      +                    "scope": {
      +                      "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                      "type": "object"
      +                    },
      +                    "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."
      +                    },
      +                    "status": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "active, superseded, or invalidated."
      +                    },
      +                    "supersededBy": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Identifier of the version that replaced this one."
      +                    },
      +                    "supersedes": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Identifier of the version this one replaced."
      +                    },
      +                    "tags": {
      +                      "description": "Labels stored with the memory.",
      +                      "type": "array"
      +                    },
      +                    "temporal": {
      +                      "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                      "type": "object"
      +                    },
      +                    "text": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "The memory content."
      +                    },
      +                    "updatedAt": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "ISO 8601 time of the last change."
      +                    },
      +                    "verificationStatus": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Always unverified for memories."
      +                    },
      +                    "version": {
      +                      "anyOf": [
      +                        {
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Version number within this identity, incrementing on each superseding write."
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "kind"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The resulting memory, or null for a NOOP on an identity that has no memory."
      +            },
      +            "operation": {
      +              "description": "What was actually applied, which may differ from the requested action when content already matched.",
      +              "enum": [
      +                "ADD",
      +                "UPDATE",
      +                "DELETE",
      +                "NOOP"
      +              ],
      +              "type": "string"
      +            },
      +            "previous": {
      +              "description": "A stored scoped memory version.",
      +              "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."
      +                },
      +                "embedding": {
      +                  "anyOf": [
      +                    {
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                },
      +                "id": {
      +                  "description": "Stable entity identifier.",
      +                  "type": "string"
      +                },
      +                "key": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Caller-chosen name within the scope and type."
      +                },
      +                "kind": {
      +                  "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                  "type": "string"
      +                },
      +                "memoryType": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                },
      +                "metadata": {
      +                  "description": "Caller-owned JSON stored with the memory.",
      +                  "type": "object"
      +                },
      +                "project": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Project namespace; null for an unattributed record or one imported from before projects."
      +                },
      +                "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"
      +                },
      +                "scope": {
      +                  "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                  "type": "object"
      +                },
      +                "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."
      +                },
      +                "status": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "active, superseded, or invalidated."
      +                },
      +                "supersededBy": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Identifier of the version that replaced this one."
      +                },
      +                "supersedes": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Identifier of the version this one replaced."
      +                },
      +                "tags": {
      +                  "description": "Labels stored with the memory.",
      +                  "type": "array"
      +                },
      +                "temporal": {
      +                  "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                  "type": "object"
      +                },
      +                "text": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "The memory content."
      +                },
      +                "updatedAt": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "ISO 8601 time of the last change."
      +                },
      +                "verificationStatus": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Always unverified for memories."
      +                },
      +                "version": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Version number within this identity, incrementing on each superseding write."
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "kind"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "operation",
      +            "memory"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "completeness"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed32 schema fields changedv0.40.1
    • changedInput schema / properties / actor / description
      Previous value: -"Who performed this write, e.g. an agent name."New value: +"Who performed this write, such as an agent or person name. Stored for audit; never used to grant trust."
    • changedInput schema / properties / client / description
      Previous value: -"Which client performed this write."New value: +"Which client software performed this write, such as the host application name."
    • changedInput schema / properties / embedding / description
      Previous value: -"Optional caller-supplied vector. When omitted, the configured embedding provider is used."New value: +"Caller-supplied vector for this text. Omit to use the configured embedding provider; with no provider the record is still stored and recall reports semantic.available=false instead of renaming lexical overlap as semantic."
    • addedInput schema / properties / key / description
      Added value: +"Stable caller-chosen name within this scope and type, such as hotel-style. Reusing it reconciles that memory rather than adding a second one."
    • addedInput schema / properties / memoryType / description
      Added value: +"Which kind of memory this is, and part of its identity. preference and profile are durable user facts, goal a desired state, instruction an operating constraint, procedure reusable steps, episode a recallable event, note general knowledge."
    • addedInput schema / properties / metadata / description
      Added value: +"Caller-owned JSON object kept with the memory. Part of the compared content, so changing it produces a new version."
    • addedInput schema / properties / operations / description
      Added value: +"A batch plan. Supply this instead of a single memory, typically from an extraction step. Every operation is validated before the first one is applied, so a malformed late operation cannot leave a half-applied batch."
    • addedInput schema / properties / operations / items / properties / action / description
      Added value: +"ADD and UPDATE both reconcile against the current memory and require text; DELETE invalidates the current one, keeping history; NOOP records that nothing should change."
    • changedInput schema / properties / operations / items / properties / embedding / description
      Previous value: -"Optional caller-supplied vector. When omitted, the configured embedding provider is used."New value: +"Caller-supplied vector for this text. Omit to use the configured embedding provider; with no provider the record is still stored and recall reports semantic.available=false instead of renaming lexical overlap as semantic."
    • addedInput schema / properties / operations / items / properties / key / description
      Added value: +"Stable caller-chosen name within this scope and type, such as hotel-style. Reusing it reconciles that memory rather than adding a second one."
    • addedInput schema / properties / operations / items / properties / memoryType / description
      Added value: +"Which kind of memory this is, and part of its identity. preference and profile are durable user facts, goal a desired state, instruction an operating constraint, procedure reusable steps, episode a recallable event, note general knowledge."
    • addedInput schema / properties / operations / items / properties / metadata / description
      Added value: +"Caller-owned JSON object kept with the memory. Part of the compared content, so changing it produces a new version."
    • addedInput schema / properties / operations / items / properties / scope / description
      Added value: +"Scope selector. Omitted or partial fields mean explicit nulls, not \"any\": identity is the exact (project, userId, agentId, runId, memoryType, key) tuple, so a run-scoped memory never leaks into a user-only read."
    • addedInput schema / properties / operations / items / properties / scope / properties / agentId / description
      Added value: +"Agent this memory belongs to, or null for none."
    • addedInput schema / properties / operations / items / properties / scope / properties / runId / description
      Added value: +"Single run or task this memory belongs to, or null for none."
    • addedInput schema / properties / operations / items / properties / scope / properties / userId / description
      Added value: +"Person this memory belongs to, or null for none."
    • addedInput schema / properties / operations / items / properties / tags / description
      Added value: +"Free-form labels stored with the memory. Part of the compared content, so changing them produces a new version."
    • addedInput schema / properties / operations / items / properties / text / description
      Added value: +"The memory content itself. Stored verbatim, searched as content, and compared to decide ADD, UPDATE, or NOOP."
    • addedInput schema / properties / operations / items / properties / validFrom / description
      Added value: +"ISO 8601 instant from which this memory is true in the modeled world. Defaults to the write time. Writes for one identity must arrive in non-decreasing validFrom order."
    • addedInput schema / properties / operations / items / properties / validTo / description
      Added value: +"ISO 8601 instant after which it stops being true, or null for open-ended. Must be later than validFrom."
    • addedInput schema / properties / project / description
      Added value: +"Project namespace. Defaults to \"default\"; an empty string is rejected."
    • addedInput schema / properties / scope / description
      Added value: +"Scope selector. Omitted or partial fields mean explicit nulls, not \"any\": identity is the exact (project, userId, agentId, runId, memoryType, key) tuple, so a run-scoped memory never leaks into a user-only read."
    • addedInput schema / properties / scope / properties / agentId / description
      Added value: +"Agent this memory belongs to, or null for none."
    • addedInput schema / properties / scope / properties / runId / description
      Added value: +"Single run or task this memory belongs to, or null for none."
    • addedInput schema / properties / scope / properties / userId / description
      Added value: +"Person this memory belongs to, or null for none."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Session identifier for this write."New value: +"Caller-owned identifier that groups related writes in the audit trail."
    • changedInput schema / properties / sourceClass / description
      Previous value: -"Claimed origin class. A claim, not proof: no value here can make a fact verified."New value: +"Claimed origin, never proof: agent_claimed (the default), tool_observed, human_confirmed, or production_verified. It weights confidence only. An unrecognised label downgrades to agent_claimed, kept verbatim in sourceRaw."
    • addedInput schema / properties / tags / description
      Added value: +"Free-form labels stored with the memory. Part of the compared content, so changing them produces a new version."
    • addedInput schema / properties / text / description
      Added value: +"The memory content itself. Stored verbatim, searched as content, and compared to decide ADD, UPDATE, or NOOP."
    • addedInput schema / properties / validFrom / description
      Added value: +"ISO 8601 instant from which this memory is true in the modeled world. Defaults to the write time. Writes for one identity must arrive in non-decreasing validFrom order."
    • addedInput schema / properties / validTo / description
      Added value: +"ISO 8601 instant after which it stops being true, or null for open-ended. Must be later than validFrom."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "indexUpdated": {
      +          "description": "Present when identical content arrived with a different embedding: the index was refreshed without minting a new version.",
      +          "type": "boolean"
      +        },
      +        "memory": {
      +          "description": "A stored scoped memory version.",
      +          "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."
      +            },
      +            "embedding": {
      +              "anyOf": [
      +                {
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The stored vector, or null when none was supplied and no provider was configured."
      +            },
      +            "id": {
      +              "description": "Stable entity identifier.",
      +              "type": "string"
      +            },
      +            "key": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Caller-chosen name within the scope and type."
      +            },
      +            "kind": {
      +              "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +              "type": "string"
      +            },
      +            "memoryType": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +            },
      +            "metadata": {
      +              "description": "Caller-owned JSON stored with the memory.",
      +              "type": "object"
      +            },
      +            "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"
      +            },
      +            "scope": {
      +              "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +              "type": "object"
      +            },
      +            "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."
      +            },
      +            "status": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "active, superseded, or invalidated."
      +            },
      +            "supersededBy": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Identifier of the version that replaced this one."
      +            },
      +            "supersedes": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Identifier of the version this one replaced."
      +            },
      +            "tags": {
      +              "description": "Labels stored with the memory.",
      +              "type": "array"
      +            },
      +            "temporal": {
      +              "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +              "type": "object"
      +            },
      +            "text": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The memory content."
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "ISO 8601 time of the last change."
      +            },
      +            "verificationStatus": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Always unverified for memories."
      +            },
      +            "version": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Version number within this identity, incrementing on each superseding write."
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "kind"
      +          ],
      +          "type": "object"
      +        },
      +        "operation": {
      +          "description": "ADD when no active memory existed, UPDATE when one was superseded, NOOP when content was identical.",
      +          "enum": [
      +            "ADD",
      +            "UPDATE",
      +            "NOOP"
      +          ],
      +          "type": "string"
      +        },
      +        "previous": {
      +          "description": "A stored scoped memory version.",
      +          "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."
      +            },
      +            "embedding": {
      +              "anyOf": [
      +                {
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The stored vector, or null when none was supplied and no provider was configured."
      +            },
      +            "id": {
      +              "description": "Stable entity identifier.",
      +              "type": "string"
      +            },
      +            "key": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Caller-chosen name within the scope and type."
      +            },
      +            "kind": {
      +              "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +              "type": "string"
      +            },
      +            "memoryType": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +            },
      +            "metadata": {
      +              "description": "Caller-owned JSON stored with the memory.",
      +              "type": "object"
      +            },
      +            "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"
      +            },
      +            "scope": {
      +              "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +              "type": "object"
      +            },
      +            "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."
      +            },
      +            "status": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "active, superseded, or invalidated."
      +            },
      +            "supersededBy": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Identifier of the version that replaced this one."
      +            },
      +            "supersedes": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Identifier of the version this one replaced."
      +            },
      +            "tags": {
      +              "description": "Labels stored with the memory.",
      +              "type": "array"
      +            },
      +            "temporal": {
      +              "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +              "type": "object"
      +            },
      +            "text": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The memory content."
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "ISO 8601 time of the last change."
      +            },
      +            "verificationStatus": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Always unverified for memories."
      +            },
      +            "version": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Version number within this identity, incrementing on each superseding write."
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "kind"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "operation",
      +        "memory"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "completeness": {
      +          "description": "Plan accounting. This is not the paginated completeness envelope.",
      +          "properties": {
      +            "applied": {
      +              "description": "Results produced, one per submitted operation.",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "complete": {
      +              "description": "Always true: a plan is applied in full or rejected in full.",
      +              "type": "boolean"
      +            },
      +            "requested": {
      +              "description": "Operations submitted.",
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "complete",
      +            "requested",
      +            "applied"
      +          ],
      +          "type": "object"
      +        },
      +        "results": {
      +          "description": "One result per submitted operation, in order.",
      +          "items": {
      +            "properties": {
      +              "indexUpdated": {
      +                "description": "Present when only the embedding was refreshed.",
      +                "type": "boolean"
      +              },
      +              "memory": {
      +                "anyOf": [
      +                  {
      +                    "description": "A stored scoped memory version.",
      +                    "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."
      +                      },
      +                      "embedding": {
      +                        "anyOf": [
      +                          {
      +                            "type": "array"
      +                          },
      +                          {
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                      },
      +                      "id": {
      +                        "description": "Stable entity identifier.",
      +                        "type": "string"
      +                      },
      +                      "key": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Caller-chosen name within the scope and type."
      +                      },
      +                      "kind": {
      +                        "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                        "type": "string"
      +                      },
      +                      "memoryType": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                      },
      +                      "metadata": {
      +                        "description": "Caller-owned JSON stored with the memory.",
      +                        "type": "object"
      +                      },
      +                      "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"
      +                      },
      +                      "scope": {
      +                        "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                        "type": "object"
      +                      },
      +                      "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."
      +                      },
      +                      "status": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "active, superseded, or invalidated."
      +                      },
      +                      "supersededBy": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Identifier of the version that replaced this one."
      +                      },
      +                      "supersedes": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Identifier of the version this one replaced."
      +                      },
      +                      "tags": {
      +                        "description": "Labels stored with the memory.",
      +                        "type": "array"
      +                      },
      +                      "temporal": {
      +                        "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                        "type": "object"
      +                      },
      +                      "text": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "The memory content."
      +                      },
      +                      "updatedAt": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "ISO 8601 time of the last change."
      +                      },
      +                      "verificationStatus": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Always unverified for memories."
      +                      },
      +                      "version": {
      +                        "anyOf": [
      +                          {
      +                            "type": "integer"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Version number within this identity, incrementing on each superseding write."
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "kind"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The resulting memory, or null for a NOOP on an identity that has no memory."
      +              },
      +              "operation": {
      +                "description": "What was actually applied, which may differ from the requested action when content already matched.",
      +                "enum": [
      +                  "ADD",
      +                  "UPDATE",
      +                  "DELETE",
      +                  "NOOP"
      +                ],
      +                "type": "string"
      +              },
      +              "previous": {
      +                "description": "A stored scoped memory version.",
      +                "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."
      +                  },
      +                  "embedding": {
      +                    "anyOf": [
      +                      {
      +                        "type": "array"
      +                      },
      +                      {
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "The stored vector, or null when none was supplied and no provider was configured."
      +                  },
      +                  "id": {
      +                    "description": "Stable entity identifier.",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Caller-chosen name within the scope and type."
      +                  },
      +                  "kind": {
      +                    "description": "Entity kind: decision, attempt, memory, fact, relation, review, or alternative.",
      +                    "type": "string"
      +                  },
      +                  "memoryType": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "preference, profile, goal, instruction, procedure, episode, or note."
      +                  },
      +                  "metadata": {
      +                    "description": "Caller-owned JSON stored with the memory.",
      +                    "type": "object"
      +                  },
      +                  "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"
      +                  },
      +                  "scope": {
      +                    "description": "The userId, agentId, and runId this memory is scoped to; each is a string or null.",
      +                    "type": "object"
      +                  },
      +                  "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."
      +                  },
      +                  "status": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "active, superseded, or invalidated."
      +                  },
      +                  "supersededBy": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Identifier of the version that replaced this one."
      +                  },
      +                  "supersedes": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Identifier of the version this one replaced."
      +                  },
      +                  "tags": {
      +                    "description": "Labels stored with the memory.",
      +                    "type": "array"
      +                  },
      +                  "temporal": {
      +                    "description": "Bi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.",
      +                    "type": "object"
      +                  },
      +                  "text": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "The memory content."
      +                  },
      +                  "updatedAt": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "ISO 8601 time of the last change."
      +                  },
      +                  "verificationStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Always unverified for memories."
      +                  },
      +                  "version": {
      +                    "anyOf": [
      +                      {
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Version number within this identity, incrementing on each superseding write."
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "kind"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "operation",
      +              "memory"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "results",
      +        "completeness"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Either the outcome of one reconciliation, or the outcome of a plan.",
      +  "type": "object"
      +}
  5. First observedv0.40.0

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes meaningfully beyond the annotations (destructiveHint=true, idempotentHint=false) by explaining that identical content is a NOOP, new content supersedes while keeping history, DELETE invalidates rather than purges, and every call commits a revision. That clarifies what 'destructive' and 'non-idempotent' actually mean here. It stops short of stating required auth/project scoping consequences or the atomic-batch guarantee, which live only in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with the core operation front-loaded, then routing, then lifecycle semantics. No filler, though the compaction makes it read as jargon-heavy on first pass and the routing list occupies space that could be shorter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter tool with oneOf branches, nested scope objects, and batch operations, the description correctly signals the two modes and the write semantics; an output schema exists so return values need no explanation. What remains unstated (batch atomicity, project-required refusal) is carried by schema descriptions, so nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all 22 parameters are already documented in detail, including the identity tuple, validFrom ordering, and embedding fallback. The description adds the conceptual framing of 'identity tuple' but no syntax or format detail beyond what the schema provides, which is the baseline-3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Add or reconcile one scoped memory') plus the batch mode ('apply an ADD/UPDATE/DELETE/NOOP plan, by identity tuple'), and names the sibling tools it is not (record_decision, record_fact, recall). An agent can distinguish it from the 19 siblings without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes by intent: use shadowgraph_record_decision for a choice, shadowgraph_record_fact for an observation, shadowgraph_recall to read back. That covers both the when-to-use and the alternative-instead cases, leaving little inference to the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.