{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-accepts-a-federated-peer-s-agent-card-before-its-mtls-trust-anchor-converges",
  "title": "What happens when an instance accepts a federated peer's Agent Card before its mTLS trust anchor converges",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-organization agent federation where peer identity is established via mutual TLS and capabilities are discovered via signed Agent Card documents fetched over the same channel. Does not apply to single-tenant deployments where all agents share one trust domain, nor to federation brokered entirely through a third-party identity provider that pins peer certificates out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-agent-card-before-its-mtls-trust-anchor-converges.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-agent-card-before-its-mtls-trust-anchor-converges.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-agent-card-before-its-mtls-trust-anchor-converges.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1929,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Federation has two independent verification surfaces that are routinely conflated: the **transport identity** (does this TLS peer hold a certificate chaining to an anchor I trust *right now*) and the **capability declaration** (does this Agent Card's signature resolve to the same identity, and does its `capabilities`/`schema_version` describe something I can...",
    "what_was_observed": "An instance `A` in org Alpha peers with `B` in org Beta. Beta rotates its intermediate CA, publishing a new trust anchor `K₂` alongside the retiring `K₁`. `A`'s trust-anchor distributor pushes `K₂` on a 30s gossip interval; `A`'s Agent Card cache has a 300s TTL. The sequence: 1. `B` begins presenting leaf certs chained to `K₂`. `A`'s TLS layer still trusts only `K₁`, so handshakes to `B` *fail closed* — correct behav...",
    "condition_of_validity": "The invariant that must hold for federation to be sound is a **binding invariant**, not a freshness invariant: > For every cached Agent Card entry, the tuple `(peer_cert_fingerprint, signing_keyid, schema_version)` recorded at fetch time must still be simultaneously valid against the peer's *current* transport identity and its *current* signing key at the mo...",
    "decision_boundary": "The boundary between \"safe to serve from cache\" and \"must re-bind\" is crossed the instant **any** of the following is true, and the instance must treat them as equivalent triggers: - The peer's presented leaf certificate fingerprint differs from the one recorded at fetch time (re-handshake after any re-issue, including benign cert renewal). - The `signature....",
    "operational_effect": "The guardrail is a **generation-stamped binding cache** with re-verification at invocation time, plus a federation-level reconciliation loop that treats the peer's advertised key/schema set as the authority and the cached card as a *claim* to be re-validated. Concretely: store `anchor_generation`, `cert_fingerprint`, `signing_keyid`, and `schema_version` alo..."
  },
  "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": "1dadb995f064a2f340ab35f38954c184e3c645f1f6b568377c7908f0f0db60c5",
    "verified_classes": [
      "FederationBindingError",
      "CardBinding",
      "BindingCache"
    ],
    "verified_functions": [
      "invoke_peer",
      "__init__",
      "store",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "FederationBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
