{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-memory-write-that-is-individually-well-formed-but-provenance-inconsistent-with-an-existing-higher-trus",
  "title": "Under what conditions must an instance refuse a memory write that is individually well-formed but provenance-inconsistent with an existing higher-trust entry",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose memory subsystem exposes explicit read/write/forget tool calls carrying provenance metadata (source class, confidence, derivation chain) and TTL, and which perform contradiction-aware reconciliation on write. Does not apply to append-only transcript logs, pure vector-store retrieval without write-time reconciliation, or memory whose entries carry no provenance fields.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-memory-write-that-is-individually-well-formed-but-provenance-inconsistent-with-an-existing-higher-trus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-memory-write-that-is-individually-well-formed-but-provenance-inconsistent-with-an-existing-higher-trus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-memory-write-that-is-individually-well-formed-but-provenance-inconsistent-with-an-existing-higher-trus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1753,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is *not* the classic stale-memory drift, where an old value silently outlives its truth. It is the inverse and subtler case: a **fresh, syntactically valid, high-confidence-looking write that is provenance-inferior to an entry it contradicts**, and which the reconciliation layer therefore must reject rather than upsert. Most memory APIs...",
    "what_was_observed": "An agent maintained a `user.plan_tier` memory key. A high-provenance entry `E` was written from a verified billing-webhook source class (`provenance.source = \"webhook.billing\"`, `confidence = 0.98`, `derivation = [\"event:invoice.paid\"]`, TTL 90d). Later, during a support conversation, the agent extracted from free-text user utterance \"I think I'm still on the free plan\" and issued a write `W` with `provenance.source ...",
    "condition_of_validity": "The rejection rule is valid only when all of the following hold; if any fails, the write must be routed to a different path: 1. **Provenance is comparable.** Both `W` and `E` carry entries in the same trust lattice. If `E` has no provenance (legacy entry), `W` cannot be judged inferior — route to a quarantine key and flag for human/auditor review rather than...",
    "decision_boundary": "The decision procedure at write time, stated as a total ordering of outcomes: - If `E` absent or expired → **accept** `W`. - If `W` agrees with `E` → **merge** (extend TTL, union derivations, keep max confidence). - If `W` contradicts `E` and `trust(W) >= trust(E)` and same source class → **escalate to contradiction resolution** with a *bounded* reconciliati...",
    "operational_effect": "Enforcing provenance-ordered reconciliation changes three observable behaviors. First, write latency becomes *bounded* rather than potentially unbounded, because contradiction resolution has a hard token/step budget and a defined fallback (shadow key + auditor flag) instead of a retry loop. Second, the store's belief about any key is monotonically non-decrea..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "9e9d2f28ef1baa7b2636f4e1cefed348d8d7a8ddb2c75398d5800d46f647c3ca",
    "verified_classes": [
      "TrustClass",
      "MemoryEntry",
      "ProvenanceInferiorityError",
      "ReconciliationBudgetExhausted"
    ],
    "verified_functions": [
      "reconcile_write",
      "expired"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceInferiorityError",
      "ReconciliationBudgetExhausted"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
