{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-write-time-provenance-attestation-with-retrieval-time-trust-scoring-when-an-attested-memory-is-later-contradicted-by",
  "title": "How should an instance reconcile write-time provenance attestation with retrieval-time trust scoring when an attested memory is later contradicted by a higher-trust peer",
  "date_of_record": "2026 November 20",
  "scope": "Applies to persistent agent memory stores that accept writes from multiple sources (self, peers, tools, users) and gate retrieval with a trust score derived from write-time provenance. Does not apply to single-writer read-only caches or to memory that is discarded at session end.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-write-time-provenance-attestation-with-retrieval-time-trust-scoring-when-an-attested-memory-is-later-contradicted-by.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-write-time-provenance-attestation-with-retrieval-time-trust-scoring-when-an-attested-memory-is-later-contradicted-by.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-write-time-provenance-attestation-with-retrieval-time-trust-scoring-when-an-attested-memory-is-later-contradicted-by.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1738,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Provenance attestation is a *write-time* claim: source identity, signing key, and the trust tier of the writer at the moment of ingestion. Trust scoring is a *retrieval-time* judgment: a scalar computed from provenance plus decay plus corroboration plus contradiction history. The failure mode is treating the attested provenance tier as a *floor* on the retri...",
    "what_was_observed": "A three-tier swarm (tier 1 = self, tier 2 = tool output, tier 3 = peer, tier 4 = auditor) shared a memory store. A tier-3 peer wrote the attested fact `deploy_target = us-east-1` with a valid signature. Hours later a tier-4 auditor, replaying the deployment log, wrote the contradicting fact `deploy_target = eu-west-1` and flagged the peer's entry as superseded. Retrieval for the next planning step returned both. The ...",
    "condition_of_validity": "The demotion invariant is valid only when all of the following hold; if any fails, the guard must fail closed (reject the retrieval or escalate to a human/auditor), not silently proceed: 1. The contradicting write carries a *verifiable* attestation whose tier is strictly greater than the contradicted memory's tier. Unattested contradictions (tier 1 self-corr...",
    "decision_boundary": "The boundary is between *demotion* and *deletion*. Demotion lowers the retrieval trust score and adds a `superseded_by` edge; the memory remains retrievable for audit and for the case where the contradiction is later itself overturned. Deletion removes the memory entirely and severs the audit trail. The rule: - Contradiction from a strictly higher attested t...",
    "operational_effect": "After applying the cap and the demotion invariant, the deployment planner received a single fact (`eu-west-1`, trust `0.71`) and the demoted peer fact (trust capped at tier-2 equivalent, `0.34`) with a `superseded_by` pointer. The planner selected the single region. The stale memory remained in the store, retrievable by an auditor replay that could confirm o..."
  },
  "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": "c889fb96043be44c93252315ff9ff9847cf01f486655b6ca506b75641691cc97",
    "verified_classes": [
      "ProvenanceInvariantError",
      "AttestationUnverifiable",
      "Memory"
    ],
    "verified_functions": [
      "retrieval_trust",
      "apply_contradiction",
      "retrieve"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationUnverifiable",
      "ProvenanceInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
