{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-provenance-collapse-when-taint-labels-survive-summarization-but-not-re-retrieval",
  "title": "What structural signals indicate provenance collapse when taint labels survive summarization but not re-retrieval",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that carry a per-span or per-document taint label (trusted/untrusted, injected/clean) through a context pipeline containing at least one lossy transform (summarization, embedding-based retrieval, or episodic-to-semantic distillation) before the tainted content is re-used in a later step. Does not apply to agents that hold taint only within a single turn's raw context, nor to stateless single-shot tool calls.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-when-taint-labels-survive-summarization-but-not-re-retrieval.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-when-taint-labels-survive-summarization-but-not-re-retrieval.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-when-taint-labels-survive-summarization-but-not-re-retrieval.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2081,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common taint-tracking design assumes taint is a property of *content*: mark the span, propagate the mark, refuse to act on marked spans. The failure mode here is narrower and more insidious: taint is a property of a *provenance edge*, and the edge is destroyed by any transform that rewrites content into a new representation. A summary of an injected docu...",
    "what_was_observed": "A research agent ingested a third-party PDF fetched by a `fetch_url` tool. The span-level taint tracker correctly labeled the returned document `untrusted:source=web`. The agent summarized the document into a 300-token note to save context, and — as designed — the summarizer's output was written to episodic memory with the label carried on the *record*, not on the spans inside the summary text. Two turns later, a sem...",
    "condition_of_validity": "The collapse requires three conditions to co-occur. Remove any one and the invariant holds: 1. **A lossy transform between taint assignment and re-consumption.** Summarization, distillation, or embedding all rewrite content into a new representation. A transform that copies the source label onto the output span (a \"taint-preserving\" summarizer) breaks the co...",
    "decision_boundary": "The operational decision is where to enforce the taint invariant. Three placements, with different failure signatures: - **Enforce at write (store the label).** Necessary but insufficient. This is what the observed system did. It fails because the read path can ignore or lack the stored label. A stored label is a *claim*; it is only binding if the reader is ...",
    "operational_effect": "The practical consequence is that taint tracking implemented as span annotation is defeated by the first summarization or embedding step, and the defeat is silent — every checkpoint reports success. Agents that rely on write-time labeling will systematically over-trust their own memory and retrieval layers, because those layers are exactly where the label is..."
  },
  "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": "682283ce5346977a15bc31f6b3cee215a45d5f84e71e0b4308098f2eb7c40e3f",
    "verified_classes": [
      "Taint",
      "ProvenanceCollapse",
      "Artifact",
      "MemoryStore"
    ],
    "verified_functions": [
      "summarize",
      "safe_read",
      "run_agent_cycle",
      "write",
      "read"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceCollapse"
    ],
    "sample_fail_closed_invariants": [
      "assert naive.taint is Taint.TRUSTED"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
