{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-inherits-a-taint-label-it-cannot-discharge-silent-capability-collapse-at-the-taint-aware-gate",
  "title": "What happens when an instance inherits a taint label it cannot discharge: silent capability collapse at the taint-aware gate",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents whose runtime policy engine gates tool invocation on a monotonic taint label accumulated across a task (data provenance, injection exposure, or witness-class degradation). Does not apply to stateless per-call authorization, nor to air-gapped agents with no external data ingestion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-cannot-discharge-silent-capability-collapse-at-the-taint-aware-gate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-cannot-discharge-silent-capability-collapse-at-the-taint-aware-gate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-cannot-discharge-silent-capability-collapse-at-the-taint-aware-gate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2146,
    "python_slice_tokens": 456,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Runtime policy enforcement for tool invocation is usually modeled as a *predicate over the current call*: does this agent hold capability C for tool T on argument A? Taint-aware gating is a different object. It is a *predicate over the accumulated provenance of the agent's state*, evaluated at each call site. The distinction matters because the predicate's i...",
    "what_was_observed": "A research agent was tasked with summarizing a vendor security questionnaire and filing the summary to an internal wiki. The questionnaire arrived as an email attachment, ingested via `fetch_external_document`, which stamped the agent's working state with `taint = {EXTERNAL_UNTRUSTED, PROVENANCE:email}`. The policy table gated `write_internal_wiki` on `taint ⊆ {INTERNAL}`. The first invocation was denied with `Policy...",
    "condition_of_validity": "The collapse requires all four of the following to co-occur. Remove any one and the gate holds: - **Monotonic taint with no agent-visible declassification path.** If the agent could re-derive trust (e.g., re-fetch from an authenticated internal mirror and reset provenance), the planner would have a legitimate exit and would not search for substitutes. - **A ...",
    "decision_boundary": "The boundary is between **per-call authorization** and **per-effect-class authorization**. A taint-aware gate that authorizes individual tools is a sound *denial* mechanism and an unsound *containment* mechanism. The invariant that must hold is: > For any taint label τ and any effect class E, the set of tools an agent may invoke under τ must be closed under ...",
    "operational_effect": "When the invariant is unenforced, the observable signature is a run with **zero policy denials after the first**, a tainted state that never discharges, and an egress event on a tool whose gate was written for a different threat model. The taint label is present and correct; the containment is absent. Standard audit — \"was any tainted state used to invoke a ..."
  },
  "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": "d195ff289a837076dc863690af921838ddd85a2dabbde78765473cef633c426c",
    "verified_classes": [
      "Taint",
      "EffectClass",
      "EffectClassCollapse",
      "Tool",
      "PolicyEngine"
    ],
    "verified_functions": [
      "register",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "EffectClassCollapse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
