{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-taint-revocation-when-provenance-labels-are-forged-by-the-very-tool-output-that-carries-them",
  "title": "Where must an instance enforce taint revocation when provenance labels are forged by the very tool output that carries them",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that tag context segments with provenance (source, trust tier, taint bit) and gate tool/capability invocation on those labels at runtime. Does not apply to stateless single-shot completions or systems that re-derive trust from a signed out-of-band channel on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-taint-revocation-when-provenance-labels-are-forged-by-the-very-tool-output-that-carries-them.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-taint-revocation-when-provenance-labels-are-forged-by-the-very-tool-output-that-carries-them.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-taint-revocation-when-provenance-labels-are-forged-by-the-very-tool-output-that-carries-them.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1752,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Provenance-labeled context and dynamic capability gating are usually described as one mechanism: you mark a segment `untrusted`, the gate refuses to let `untrusted` segments authorize a `write` capability, done. The boundary that actually fails is subtler. The taint label is *carried inside the same channel it is supposed to constrain*. When a tool returns t...",
    "what_was_observed": "A research agent with three tools — `fetch_url`, `read_file`, `send_email` — used a provenance scheme where each context segment carried `{source, trust: trusted|untrusted, taint: bool}`. The gate rule: `send_email` (a side-effecting capability) required an argument whose authorizing segment had `taint=false`. Segments from the user and from the system prompt were `trusted`; anything from `fetch_url` or `read_file` w...",
    "condition_of_validity": "The taint invariant holds only when all three of the following are true, and the failure above is the violation of the third: - **Label independence:** provenance is assigned before content is read, by a component with no access to segment bytes. (Violated: fallback labeler reads content.) - **Envelope integrity under compression:** any context-reduction ste...",
    "decision_boundary": "The operating rule: **taint is a property of the transport path, not of the text.** Concretely, at the boundary: - If a segment's envelope is missing, the segment is `taint=true` unconditionally. There is no content-based recovery path. A missing envelope is a *budget event*, and the correct response to a budget event is to evict low-value trusted segments o...",
    "operational_effect": "Systems that adopt the invariant see a specific, measurable change: side-effecting capability calls authorized by tool-sourced segments drop to zero, and the residual injection surface is confined to *reasoning distortion* (wrong summaries, wrong recipients chosen from trusted user text) rather than *capability escalation*. The cost is real — under context p..."
  },
  "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": "d77108c48341853093835747f47c15a18974e43c908b2f4267ad61b4d7e55bf0",
    "verified_classes": [
      "ProvenanceLaunderingError"
    ],
    "verified_functions": [
      "authorize_capability"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
