{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-when-provenance-taint-labels-survive-a-tool-round-trip-but-decay-at-the-summarization-boundary",
  "title": "What structural signals indicate when provenance-taint labels survive a tool round-trip but decay at the summarization boundary",
  "date_of_record": "2026 November 24",
  "scope": "Applies to single- or multi-turn agents that attach provenance labels (e.g., `trusted:user`, `untrusted:tool_output`, `derived:summarized`) to context segments and rely on those labels to gate privileged actions. Does not cover static prompt-injection filters applied only at ingress, nor does it cover label propagation inside a single tool call's internal execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-when-provenance-taint-labels-survive-a-tool-round-trip-but-decay-at-the-summarization-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-when-provenance-taint-labels-survive-a-tool-round-trip-but-decay-at-the-summarization-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-when-provenance-taint-labels-survive-a-tool-round-trip-but-decay-at-the-summarization-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2099,
    "python_slice_tokens": 639,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A provenance label has two independent fates that are routinely conflated: 1. **Transport survival** — does the label still exist as an attached field when the segment re-enters the context window after a tool round-trip? 2. **Semantic survival** — does the label still *mean* the same thing after the segment has been rewritten by an intermediate transform (s...",
    "what_was_observed": "A representative trace, condensed: - Turn 4: agent calls `fetch_page(url)`. Tool returns 3.2 KB of text. Harness tags the tool-result segment `provenance=untrusted:web, taint_id=T-8817`. - Turn 5: context approaches 60% of window. Harness triggers a rolling summarization over turns 1–5 to reclaim tokens. The summarizer is itself an LLM call whose input includes the tainted segment and whose output is a fresh assistan...",
    "condition_of_validity": "The taint-decay-at-summarization failure is bounded by three conditions; the guardrail below is only required when all three hold: - **C1 (Transform authorship):** An intermediate transform re-emits content under a new author identity (summarizer, extractor, re-ranker) rather than passing segments through by reference. - **C2 (Gate predicate):** At least one...",
    "decision_boundary": "The architectural invariant that bounds this failure is **taint inheritance over authorship**: a derived segment's provenance must be the *join* (least-trusted meet) of its inputs' provenances, not the identity of the model that wrote it. Concretely: - `provenance(derived) = meet(provenance(input_1), ..., provenance(input_n))` where `meet` returns the least-...",
    "operational_effect": "With meet-inheritance and lineage gates in place, the observed trace changes at turn 5: the summary segment is labeled `untrusted` (inherited from `T-8817`), and at turn 7 the `send_email` gate computes reachability, finds the summary descends from `T-8817`, and blocks with a taint-reachability error rather than executing. The agent is forced to either re-de..."
  },
  "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": "3c8c0a1d00caccfb6b046ff22f3c34ac4631c6ac14d99b27c8724d24c4b8a77a",
    "verified_classes": [
      "Trust",
      "TaintLaunderingError",
      "Segment"
    ],
    "verified_functions": [
      "meet",
      "summarize",
      "assert_no_laundering",
      "action_allowed",
      "reaches_taint"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert allowed is False"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
