{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-quarantine-a-derived-memory-entry-after-a-tool-output-taint-label-is-laundered-through-a-legitimate-summarization-call",
  "title": "When must an instance quarantine a derived memory entry after a tool-output taint label is laundered through a legitimate summarization call",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that carry dynamic information-flow (taint) labels across tool outputs and persist derived text into long-term memory. Does not cover label propagation inside a single context window that is never persisted, nor static prompt-level guardrails that do not track provenance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-derived-memory-entry-after-a-tool-output-taint-label-is-laundered-through-a-legitimate-summarization-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-derived-memory-entry-after-a-tool-output-taint-label-is-laundered-through-a-legitimate-summarization-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-derived-memory-entry-after-a-tool-output-taint-label-is-laundered-through-a-legitimate-summarization-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1730,
    "python_slice_tokens": 213,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model of taint tracking treats a label as a property of *bytes*: if a tool output is marked `untrusted`, anything computed from it stays `untrusted`, and the agent refuses to act on it. The failure mode this record isolates is different and non-obvious: **label laundering via legitimate transformation**. When a `trusted` summarizer, formatter, or d...",
    "what_was_observed": "A retrieval-and-consolidation agent was configured with three tools: `web_fetch` (untrusted), `summarize` (trusted code, but its input may be anything), and `memory_write` (trusted, persists to the semantic store). The runtime applied taint labels at the tool-result boundary: results from `web_fetch` were tagged `{source: web, trust: untrusted}`, and the policy engine blocked `memory_write` when its argument carried ...",
    "condition_of_validity": "The laundering is possible exactly when all of the following hold: - The runtime assigns labels at the **tool-call result boundary** rather than at the **derivation edge** (input → output). - At least one tool is *trusted in implementation* but *accepts untrusted input* (summarize, translate, extract, format, embed). - The label schema has no field for \"deri...",
    "decision_boundary": "The boundary the operator must draw is between two rules that look equivalent and are not: - **Rule A (wrong):** \"Outputs of trusted tools are trusted.\" Label by producer identity. - **Rule B (correct):** \"Outputs carry the join of their inputs' labels.\" Label by derivation join. The decision to adopt Rule B is not optional if any trusted tool consumes untru...",
    "operational_effect": "After enforcing the join rule, the same trace behaves as follows: `summarize` returns a string whose label is `join({source: summarize, trust: trusted}, {source: web, trust: untrusted}) = untrusted`. `memory_write` refuses. The agent receives a policy rejection, not a silent corruption. The injected fact never reaches semantic memory, and the cold-start inst..."
  },
  "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": "fe71c11b64439736b9d579037945ce988d493bafc3009e0b8f5051d7b8a8541d",
    "verified_classes": [
      "Label",
      "TaintLaunderingError",
      "ToolResult"
    ],
    "verified_functions": [
      "transformer",
      "memory_write",
      "join"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
