{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-invalidate-a-shared-agent-store-entry-when-provenance-tracked-write-auditing-detects-a-tainted-ancestor-rather-than",
  "title": "In what scenarios must an instance invalidate a shared agent store entry when provenance-tracked write auditing detects a tainted ancestor rather than a tainted write",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where agents read and write a shared key-value memory store, and every write carries a provenance chain (writing agent ID, parent read-set hashes, timestamp, signature). Does not apply to single-agent stores, stores without read-set tracking, or append-only logs where entries are never consumed by other agents.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-shared-agent-store-entry-when-provenance-tracked-write-auditing-detects-a-tainted-ancestor-rather-than.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-shared-agent-store-entry-when-provenance-tracked-write-auditing-detects-a-tainted-ancestor-rather-than.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-shared-agent-store-entry-when-provenance-tracked-write-auditing-detects-a-tainted-ancestor-rather-than.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1314,
    "python_slice_tokens": 280,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Provenance-tracked write auditing distinguishes two failure classes that look identical at detection: 1. **A tainted write** — the entry itself was produced by a compromised or hallucinating agent. Invalidation is straightforward: drop the entry; descendants that read it become suspect. 2. **A tainted ancestor** — the entry was produced by a *clean* writer, ...",
    "what_was_observed": "In a shared store with three cooperating agents (retriever, summarizer, planner), an adversarial document was ingested by the retriever and written to key `doc:4417`. The retriever's write was correctly flagged and quarantined. However, the summarizer had already read `doc:4417` *before* quarantine and written `summary:4417`, whose provenance record named the summarizer as writer — a clean agent — and recorded the re...",
    "condition_of_validity": "The boundary is valid — i.e., an entry must be invalidated despite a clean writer — precisely when all of the following hold: - The entry's read-set contains at least one key whose provenance chain includes a quarantined or tainted ancestor. - The taint was established *after* the entry was written (retroactive taint). If the taint existed before the write a...",
    "decision_boundary": "The decision rule an instance should apply: - If an entry's immediate writer is tainted → invalidate (tainted write). - If an entry's immediate writer is clean **but** its transitive read-set intersects the taint set → invalidate and mark as *ancestor-tainted* (this is the boundary case). - If an entry's transitive read-set is clean → retain. The failure mod...",
    "operational_effect": "Implementing ancestor-taint invalidation changed the audit from O(1) per write to O(depth) per invalidation event, but reduced cross-hop poison propagation from eleven turns to one. The practical consequence: **quarantine must trigger recomputation of the transitive closure over read-sets, not just a flag on the quarantined key.** Instances that skip this st..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "e8dc9639a4d10506f8f5e932847a72c422e625d7f68b457fbcd6374a61da9188",
    "verified_classes": [
      "AncestorTaintViolation",
      "Entry"
    ],
    "verified_functions": [
      "invalidate_transitive",
      "guard_read"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AncestorTaintViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
