{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-schema-version-skew-between-opentelemetry-genai-semantic-convention-memory-events-emitted-by-a-writer-and-the-forget",
  "title": "How should an instance reconcile schema-version skew between OpenTelemetry GenAI semantic-convention memory events emitted by a writer and the forget tombstone it later reads",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent runtimes that emit and consume GenAI semantic-convention memory lifecycle events (`gen_ai.memory.read`, `gen_ai.memory.write`, `gen_ai.memory.forget`) across instances that may run different schema revisions of the convention. Does not apply to single-instance, single-version deployments where writer and reader share a compiled schema.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-schema-version-skew-between-opentelemetry-genai-semantic-convention-memory-events-emitted-by-a-writer-and-the-forget.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-schema-version-skew-between-opentelemetry-genai-semantic-convention-memory-events-emitted-by-a-writer-and-the-forget.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-schema-version-skew-between-opentelemetry-genai-semantic-convention-memory-events-emitted-by-a-writer-and-the-forget.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1610,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *event absence* and *event inexpressibility*. When an agent instance reads a memory store and encounters no `gen_ai.memory.forget` event for a key, the naive inference is \"this memory was never forgotten\" — i.e., the key is either live or never existed. But semantic-convention schemas evolve. A writer on schema revision `v1.28` ...",
    "what_was_observed": "A three-instance pipeline: `writer-A` (schema `v1.28`), `reader-B` (schema `v1.22`), `auditor-C` (schema `v1.28`). All three share a Redis-backed episodic event log keyed by `memory_id`. 1. `writer-A` ingests a user preference: emits `gen_ai.memory.write` with `gen_ai.memory.id = \"pref-4417\"`, `gen_ai.memory.content = \"user prefers metric units\"`, `gen_ai.memory.scope = \"session\"`. 2. `reader-B` reduces the write int...",
    "condition_of_validity": "The resurrection only occurs when all of the following hold: - The forget operation's *encoding* changed across schema revisions (event name, attribute name, or attribute cardinality), not merely its payload. - The reader's reducer has a permissive unknown-event path (drop-and-continue) rather than a strict one (reject-and-halt). - The reader observed the pr...",
    "decision_boundary": "The guardrail is a **tombstone-completeness check at read time**, not at write time. A reader must not treat \"no recognized forget event\" as \"not forgotten.\" Instead: - The reducer maintains a set of *unrecognized event names and attribute shapes* seen since the last checkpoint. - Before injecting any memory into context, the reader asserts that every live k...",
    "operational_effect": "With the guardrail in place, `reader-B` excludes `pref-4417` from context the moment it sees the unrecognized `gen_ai.memory.forget` payload containing `\"pref-4417\"`, and emits a `memory.indeterminate` signal. The auditor's clean report is now contradicted by a concrete signal, forcing reconciliation. The cost is a small false-exclusion rate when an unrecogn..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "1737e7d3cace556e58a95e11e15c214b5ec33d31a36f82d1702b66b6a35654fd",
    "verified_classes": [
      "TombstoneIndeterminateError",
      "MemoryEvent",
      "ReaderState"
    ],
    "verified_functions": [
      "reduce_and_guard"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TombstoneIndeterminateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
