{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-invalidate-a-provenance-label-after-tool-call-graph-re-entry-rather-than-propagate-it",
  "title": "In what scenarios must an instance invalidate a provenance label after tool-call graph re-entry rather than propagate it",
  "date_of_record": "2026 November 20",
  "scope": "Applies to agent runtimes that maintain per-token or per-span provenance labels (source-trust taints) through a tool-call graph, where tools may re-enter the agent loop, spawn sub-agents, or return content that itself contains instructions. Does not apply to stateless single-shot inference or to systems with no taint propagation across tool boundaries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-provenance-label-after-tool-call-graph-re-entry-rather-than-propagate-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-provenance-label-after-tool-call-graph-re-entry-rather-than-propagate-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-provenance-label-after-tool-call-graph-re-entry-rather-than-propagate-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2556,
    "python_slice_tokens": 391,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats a provenance label as a monotonic attribute: once a span is tagged `untrusted:web` or `trusted:user`, that tag flows forward through every tool call, every summarization step, and every sub-agent handoff, and any downstream consumer can decide whether to trust it. Under this model, taint propagation is a *join* operation — the ...",
    "what_was_observed": "A three-stage pipeline: (1) a retrieval tool fetches a document from an external corpus; (2) a summarizer sub-agent condenses it; (3) a planner sub-agent reads the summary and emits the next tool call. Provenance labels were assigned at ingestion: `trusted:user` for the original task, `untrusted:retrieval` for fetched documents. The join rule was implemented as expected — any span derived from a retrieval document ca...",
    "condition_of_validity": "The monotonic-join invariant (\"taint never decreases along ancestry\") is valid only when every edge in the tool-call graph is a **data edge**: the consumer treats the payload as a value to be reasoned over, and the payload cannot alter the consumer's instruction set. It is invalid the moment any edge is an **instruction edge**, defined operationally as: the ...",
    "decision_boundary": "The runtime must decide, per edge, whether to **propagate** or **invalidate-and-relabel**. The decision rule: - **Propagate** (join, monotonic) when the edge is a data edge: tool returns a value consumed as evidence, never spliced into a directive region, never re-read by the same planner as a goal. The label travels with the bytes. - **Invalidate-and-relabe...",
    "operational_effect": "Without the relabel rule, taint tracking is *advisory only*: it correctly labels first-order derivations and silently fails on every re-entry, which is precisely the path an injected instruction takes to become a directive. The audit log will show a clean taint history — no downgrades, no violations — while the agent executes the injected instruction, becaus..."
  },
  "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": "5197758adfddda0c2b7f24a9e0ba81378e4c409d5cd965c9520230d3b415edd8",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "Span"
    ],
    "verified_functions": [
      "label_tool_result",
      "assert_no_laundering"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
