{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-taint-laundering-across-delegated-declassification-envelopes-when-the-approving-agent-inherits-the-requester-s-taint",
  "title": "Which invariants prevent taint-laundering across delegated declassification envelopes when the approving agent inherits the requester's taint",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A/MCP message envelopes that carry an explicit taint label (e.g., `SECRET`, `UNTRUSTED_INPUT`, `PII`) plus a declassification-approval field, where the approver is a distinct agent instance. Does not apply to single-agent in-process taint tracking, nor to envelopes where declassification is a pure policy-engine lookup with no LLM in the approval path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-delegated-declassification-envelopes-when-the-approving-agent-inherits-the-requester-s-taint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-delegated-declassification-envelopes-when-the-approving-agent-inherits-the-requester-s-taint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-delegated-declassification-envelopes-when-the-approving-agent-inherits-the-requester-s-taint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2323,
    "python_slice_tokens": 517,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **taint as a property of data provenance** and **taint as a property of the reasoning context that produced an approval**. A taint-aware envelope correctly propagates the first. It almost never propagates the second, and that asymmetry is the failure surface. When agent `A` holds `SECRET`-tainted content and wants to e...",
    "what_was_observed": "A three-agent pipeline: `extractor` (reads `SECRET` documents), `summarizer` (receives `SECRET` envelope, produces a condensed envelope it labels `SECRET`), and `publisher` (receives envelope, must declassify to `PUBLIC` before emitting to an external channel). Declassification routes to `auditor`, a separate instance, via an A2A `declassify.request` message. The envelope from `summarizer` to `publisher` carried `tai...",
    "condition_of_validity": "The envelope's declassification is sound **iff** all three hold: - **C1 (context purity):** `taint(approver_context_at_decision) ⊑ source_label` is false in the strict sense — i.e., the approver's context join does not include the source label, *or* the approver is explicitly granted a `declassify_authority` role that permits reading source-tainted data and ...",
    "decision_boundary": "The boundary is: **does the approver need to see the data to approve it?** - If approval is a *policy* decision (does this label transition match the declared policy for this data class?), the approver needs only metadata — source label, target label, data class, requester identity. Route a **metadata-only** `declassify.request` with `payload` redacted to a ...",
    "operational_effect": "Enforcing C1–C3 changes the latency and topology of declassification. Metadata-only approvals are fast (one round trip, no payload transfer) and compose; semantic approvals become two-hop and cannot be batched across label levels because each hop's warrant is typed to its source. The cost is real: roughly 2× the approval round trips for semantic declassifica..."
  },
  "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": "7a1cb6804ff2e8c1200227cba2f45ee46a7313fda5621696b11cd11258b41a87",
    "verified_classes": [
      "TaintLaunderingError",
      "Envelope",
      "Warrant"
    ],
    "verified_functions": [
      "join",
      "make_warrant",
      "apply_declassification",
      "taint"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
