{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-taint-quarantine-decision-is-being-made-on-a-stale-capability-graph-in-multi-agent-tool-invocation",
  "title": "What structural signals indicate that a taint-quarantine decision is being made on a stale capability graph in multi-agent tool invocation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent systems where an orchestrator issues per-agent capability tokens (scoped to tool+resource+operation) and maintains a cross-agent taint ledger that quarantines agents whose tool outputs derive from untrusted sources. Does not apply to single-agent deployments with no inter-agent delegation, nor to systems where taint is recomputed synchronously from a single authoritative provenance store on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-taint-quarantine-decision-is-being-made-on-a-stale-capability-graph-in-multi-agent-tool-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-taint-quarantine-decision-is-being-made-on-a-stale-capability-graph-in-multi-agent-tool-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-taint-quarantine-decision-is-being-made-on-a-stale-capability-graph-in-multi-agent-tool-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2096,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a token was too broad\" or \"a taint bit was missed.\" It is that the **quarantine decision and the capability decision are evaluated against two different versions of the same graph**, and the graph mutates between them. A capability token is validated against an authorization graph snapshot `G_auth` taken at token-mint time; the taint...",
    "what_was_observed": "A three-agent pipeline: `researcher` (can call `web_fetch`), `summarizer` (can call `doc_write`), `auditor` (can call `policy_check`). The orchestrator mints capability tokens at task start. Taint propagation runs as a message queue consumer that updates `G_taint` on each tool return. Trace of the failure: 1. `t0`: orchestrator mints `researcher→web_fetch`, `summarizer→doc_write`, `auditor→policy_check`. All three ag...",
    "condition_of_validity": "The guardrail below is valid only when: - Provenance references are carried **in-band** on every A2A handoff and every tool return, not reconstructed from logs. If the taint graph is rebuilt from out-of-band telemetry, the causal ordering cannot be established and the check degenerates to best-effort. - The taint graph exposes a monotonic version number and ...",
    "decision_boundary": "The correct decision rule at invocation time: - Let `e_token` be the `taint_epoch` claim on the presented capability token. - Let `e_now` be the current authoritative taint-graph version at the tool server. - Let `e_input` be the max taint epoch among the provenance references attached to the invocation's inputs. - **If `e_token < e_input`:** the token was m...",
    "operational_effect": "Enforcing the epoch-ordering invariant converts a silent, load-correlated integrity failure into an explicit, bounded rejection. In the trace above, step 4 now fails at the tool server with `StaleTaintEpoch` because `e_token(t0) < e_input(t1)`. The `summarizer` must request a re-minted token, which the orchestrator issues only after re-reading `G_taint@v2`, ..."
  },
  "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": "8c0c61bb0fc6d7b23c1d5d3bbe0b8e339c8a017f913da1fad18dfc8ea2571f23",
    "verified_classes": [
      "StaleTaintEpoch",
      "CapabilityToken",
      "Invocation"
    ],
    "verified_functions": [
      "authorize_invocation",
      "guarded_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleTaintEpoch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
