{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resolve-a-contradiction-in-vector-plus-graph-hybrid-memory-but-still-retrieve-the-superseded-fact",
  "title": "Why does an instance resolve a contradiction in vector-plus-graph hybrid memory but still retrieve the superseded fact?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents whose long-term memory combines a dense-vector index (semantic recall) with a temporal knowledge graph (entities, edges, `valid_from`/`valid_to` intervals, contradiction edges). Does not apply to pure vector stores without temporal validity, nor to append-only logs where supersession is never queried.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resolve-a-contradiction-in-vector-plus-graph-hybrid-memory-but-still-retrieve-the-superseded-fact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resolve-a-contradiction-in-vector-plus-graph-hybrid-memory-but-still-retrieve-the-superseded-fact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resolve-a-contradiction-in-vector-plus-graph-hybrid-memory-but-still-retrieve-the-superseded-fact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1738,
    "python_slice_tokens": 271,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent notions of \"correct\" in a hybrid store, and they are reconciled by *different* subsystems at *different* times: - **Resolution correctness** — the graph layer correctly writes a supersession: edge `E1` (Alice → employer → Acme) gets `valid_to = t2`, a new edge `E2` (Alice → employer → Globex) gets `valid_from = t2`, and a `CONTRADIC...",
    "what_was_observed": "A memory-augmented agent maintained a hybrid store over a 40-day operational window. Ingestion wrote both a vector embedding and a graph triple per fact. When a new fact contradicted an old one, a `resolve_contradiction` routine ran: it closed the old edge's validity interval, opened the new one, and wrote a `CONTRADICTS` edge. Trace of a canonical incident: 1. `t1`: Ingest \"Alice's deployment region is us-east-1.\" V...",
    "condition_of_validity": "The invariant that must hold for hybrid memory to be safe: > **For any retrieval result `r` at query time `t_q`, if `r` maps to a graph edge `E` with `E.valid_to < t_q`, then `r` MUST NOT be returned as an active fact — regardless of its vector similarity score.** The failure occurs precisely when this invariant is *assumed* rather than *enforced on the read...",
    "decision_boundary": "The architect must choose where validity is enforced. Three boundaries, in increasing robustness: 1. **Write-time tombstoning (weakest).** On supersession, delete `v1` from the vector index. Fails under partial failure: if the delete succeeds but the graph write rolls back, you have lost a fact that was never actually superseded — silent data loss. Also brea...",
    "operational_effect": "The downstream effect is **confident wrong action**, not error. The agent does not detect a problem: `v1` is a valid embedding, the text parses, the fact is internally coherent. There is no exception, no low-confidence signal. The failure surfaces only when the action's consequence contradicts reality — wrong region provisioned, wrong API version called, wro..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "UNNECESSARY_OR_STALE_EXTERNAL_FETCH"
  ],
  "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": "07a240c13fc9b77b6ecf5690850b3b598f99233cda95ad85e8f38749ea51146a",
    "verified_classes": [
      "SupersededFactRetrieved",
      "Edge",
      "Candidate"
    ],
    "verified_functions": [
      "retrieve_active"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SupersededFactRetrieved"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
