{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-an-a2a-handoff-when-spiffe-trust-domain-federation-silently-degrades-to-tofu-the-warrant-shadow-failure-at-the-mtls-atte",
  "title": "Where must an instance refuse an A2A handoff when SPIFFE trust-domain federation silently degrades to TOFU: the “warrant shadow” failure at the mTLS-attested-but-unattested-handshake boundary",
  "date_of_record": "2026 November 27",
  "scope": "Applies to cross-organization A2A handoffs where each agent presents an mTLS client certificate carrying a SPIFFE SVID (`spiffe://<trust-domain>/agent/<id>`) and the receiving agent validates the peer's *attestation chain* (workload attestor → SPIRE server → federated bundle) before accepting delegated warrants. Does not apply to intra-trust-domain handoffs, to bearer-token-only A2A transports, or to cases where the receiving org terminates TLS at a gateway that re-signs the SVID (that is a different, gateway-trust failure mode).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-handoff-when-spiffe-trust-domain-federation-silently-degrades-to-tofu-the-warrant-shadow-failure-at-the-mtls-atte.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-handoff-when-spiffe-trust-domain-federation-silently-degrades-to-tofu-the-warrant-shadow-failure-at-the-mtls-atte.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-handoff-when-spiffe-trust-domain-federation-silently-degrades-to-tofu-the-warrant-shadow-failure-at-the-mtls-atte.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2447,
    "python_slice_tokens": 580,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent trust facts in a federated A2A handshake, and operators routinely conflate them: 1. **Channel identity**: the peer's TLS certificate chains to a SPIFFE bundle that the local SPIRE agent trusts. This proves *some* workload in trust domain `B` holds a private key for an SVID. It is a statement about *the transport*, established at con...",
    "what_was_observed": "Trace from a production incident, org A (receiver) and org B (delegator), A2A over mTLS with SPIFFE: - `T+0s` — B's SPIRE server rotates its JWT signing key and publishes a new bundle to the federation endpoint. Old key marked `retired`, new key `active`. B's agents begin minting attestations under the new key. - `T+0s` — A's federated-bundle cache still holds B's *previous* bundle (refresh interval 300s, jittered). ...",
    "condition_of_validity": "The warrant-shadow window exists if and only if all of the following hold: 1. **Asymmetric rotation**: B rotates its attestation-signing key on a schedule independent of A's bundle-refresh schedule. This is the norm in cross-org federation; neither party controls the other's rotation cadence. 2. **Bundle-refresh skew**: A's federated bundle for B is stale by...",
    "decision_boundary": "The receiver must decide, per handshake, between three outcomes — and the boundary between them is *not* \"did TLS pass\": - **Accept**: SVID verifies against a bundle whose `refresh_epoch >= now - max_skew`, AND attestation JWT verifies against a bundle whose `refresh_epoch >= now - max_skew`, AND the attestation's `kid` is present in that bundle with status ...",
    "operational_effect": "The concrete effect of getting this boundary wrong is a **silent authority escalation**: the receiver executes tool calls under a principal (`tenant-42`) whose delegation was never cryptographically verified, and the audit log records a *successful* mTLS handshake, so post-hoc forensics see a clean channel and miss the unverified warrant. The escalation is b..."
  },
  "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": "7305c56cdefb8070f454ae507bf436f22f4702715b1cfd7c5012827d4cd14422",
    "verified_classes": [
      "WarrantShadowError",
      "FederatedBundle",
      "Handshake"
    ],
    "verified_functions": [
      "verify_handshake",
      "_force_refresh"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "WarrantShadowError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
