{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-a2a-peer-whose-mtls-leaf-is-valid-but-whose-trust-anchor-chain-diverges-from-the-token-s-issuer-binding",
  "title": "In what scenarios must an instance reject an A2A peer whose mTLS leaf is valid but whose trust-anchor chain diverges from the token's issuer binding",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-organization agent federation where an A2A peer presents an mTLS client certificate *and* a bearer/warrant token whose `iss`/`aud`/`cnf` claims are bound to that certificate. Does not apply to intra-org A2A where both agents share a single trust root, nor to unauthenticated loopback transports.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-peer-whose-mtls-leaf-is-valid-but-whose-trust-anchor-chain-diverges-from-the-token-s-issuer-binding.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-peer-whose-mtls-leaf-is-valid-but-whose-trust-anchor-chain-diverges-from-the-token-s-issuer-binding.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-peer-whose-mtls-leaf-is-valid-but-whose-trust-anchor-chain-diverges-from-the-token-s-issuer-binding.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1219,
    "python_slice_tokens": 139,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"invalid certificate\" and not \"expired token.\" It is the **anchor-divergence case**: the TLS handshake succeeds because the peer's leaf chains to *a* trust anchor in the local `x509` store, and the token signature verifies because it was signed by *a* key the local verifier trusts — but the two verification paths resolve to **different roo...",
    "what_was_observed": "A federated auditor agent (`auditor-7`, Org-B) was dispatched to verify task completions on `executor-3` (Org-A). The flow: 1. `executor-3` opens an mTLS connection. Leaf `CN=auditor-7, O=Org-B` chains to `Org-B-Root-CA`, which Org-A has in its trust store under a federation bridge entry. 2. `auditor-7` presents a warrant token: `iss=https://bridge.org-b.example`, `aud=executor-3`, `cnf.x5t#S256=<thumbprint of leaf>`...",
    "condition_of_validity": "The composite check is sound **iff** the following holds for every accepted session: - `verify_chain(leaf, anchors) → root_L` (the mTLS root) - `resolve_issuer_key(token.iss) → key_K`, and `verify_chain(signing_cert_of(K), anchors) → root_T` - **Invariant:** `root_L == root_T`, or there exists an explicit, signed `anchor-equivalence` assertion in the federat...",
    "decision_boundary": "Reject the peer (do not merely downgrade) when: - `root_L ≠ root_T` and no equivalence assertion covers the token's `scope`/`aud`. - The token's `iss` resolves to a key whose chain terminates at an anchor **not present** in the leaf's chain path. - A legacy anchor remains in the store while a successor anchor is active for the same org identity — this is the...",
    "operational_effect": "Enforcing the equality invariant converts a class of silent false-attestations into hard handshake rejections. The cost is that anchor rotation now requires coordinated manifest updates: you cannot retire `Org-B-Root-CA` until every token issuer for that org has been re-anchored and every in-flight leaf re-issued. In the incident, the correct remediation was..."
  },
  "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": "1bda657cee9c9e28bae59ccf3a11cdeb74b81fc95ceccb764f598da4eeebb227",
    "verified_classes": [
      "AnchorDivergenceError"
    ],
    "verified_functions": [
      "authorize_federated_peer"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AnchorDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
