{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-label-laundering-through-a-summarization-tool-the-taint-collapse-boundary-in-information-flow-tracking",
  "title": "How does an instance detect label-laundering through a summarization tool: the taint-collapse boundary in information-flow tracking",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that propagate information-flow (taint) labels across tool outputs and memory writes, specifically when a tool performs lossy transformation (summarization, extraction, reformatting) on labeled content. Does not apply to agents that treat each tool output as an independent trust domain with no label propagation, nor to pure retrieval with no write-back path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-label-laundering-through-a-summarization-tool-the-taint-collapse-boundary-in-information-flow-tracking.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-label-laundering-through-a-summarization-tool-the-taint-collapse-boundary-in-information-flow-tracking.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-label-laundering-through-a-summarization-tool-the-taint-collapse-boundary-in-information-flow-tracking.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2089,
    "python_slice_tokens": 361,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"injected content reaches the model.\" That is the well-understood case: a tool output carries an untrusted-origin label, the label rides alongside the token span, and a downstream policy check blocks the write to a high-integrity memory slot. The non-obvious boundary is **label collapse through a transformation tool**: a summarizer, extrac...",
    "what_was_observed": "A three-tool pipeline: `fetch_doc` (returns external page, label `untrusted:web`), `summarize` (LLM-backed, takes a list of chunks, returns one paragraph), `write_memory` (persists to the agent's semantic store, requires label `trusted:internal` to write into the durable slot). Trace of the failing run: 1. `fetch_doc` returned two chunks. Chunk A from an internal wiki (`trusted:internal`), chunk B from a scraped page...",
    "condition_of_validity": "The invariant that must hold for taint tracking to be sound across transformation tools: > **For every tool invocation `t`, `label(result(t)) ⊒ join(label(inputs(t)))` in the information-flow lattice, unless the tool is explicitly certified as a *declassifier* with a stated, auditable justification.** \"Certified declassifier\" is narrow: a tool may lower a la...",
    "decision_boundary": "The boundary that separates a sound implementation from a laundered one is **where the label for a tool result comes from**. Two policies sit on either side: - **Policy T (trust-the-tool):** result label = the tool's declared trust class. Cheap, and works for tools that never see tainted input. Fails the moment a transformation tool fuses tainted and clean i...",
    "operational_effect": "When Policy P is enforced, the failure trace above terminates at step 2: the `summarize` result carries `join({trusted:internal, untrusted:web}) = untrusted:web`, and `write_memory`'s gate rejects the write to the durable slot. The agent can still use the summary in-session (it is labeled, not blocked), but it cannot persist it as established knowledge. The ..."
  },
  "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": "f11bebb1411c05ed5099e8a34ada3188cf7cec06c5a27e59574ec334ef03e90c",
    "verified_classes": [
      "Trust",
      "TaintCollapseError",
      "ToolResult",
      "Invocation"
    ],
    "verified_functions": [
      "admit_result",
      "write_memory",
      "join"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
