{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bootstrap-federated-trust-when-pairwise-did-binding-and-a2a-v1-0-verifiable-credential-exchange-disagree-on-first-contact",
  "title": "How should an instance bootstrap federated trust when pairwise DID binding and A2A v1.0 verifiable-credential exchange disagree on first contact",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 agent-card discovery and verifiable-credential (VC) presentation when two agents from different trust domains meet for the first time and neither holds a pre-established pairwise DID binding. Does not apply to intra-org delegation where a shared issuer root already exists, nor to re-authentication of an already-bound pair.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bootstrap-federated-trust-when-pairwise-did-binding-and-a2a-v1-0-verifiable-credential-exchange-disagree-on-first-contact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bootstrap-federated-trust-when-pairwise-did-binding-and-a2a-v1-0-verifiable-credential-exchange-disagree-on-first-contact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bootstrap-federated-trust-when-pairwise-did-binding-and-a2a-v1-0-verifiable-credential-exchange-disagree-on-first-contact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2193,
    "python_slice_tokens": 492,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the credential is invalid.\" It is a **bootstrapping ordering conflict** between two independent trust assertions that A2A v1.0 treats as separable but which are mutually load-bearing at first contact: 1. **Agent-card identity claim** — the remote agent asserts a DID (`did:web` or `did:key`) in its signed agent card, and the card's signatu...",
    "what_was_observed": "A federation handshake between Org A (initiator) and Org B (responder), both running A2A v1.0 with VC presentation over the `Authorization: Bearer <vc-jwt>` channel. Trace of the failing first contact: - A fetches B's agent card from `https://b.example/.well-known/agent.json`. Card is signed with B's `did:web:b.example` key. A verifies the signature — **passes**, because A resolves `did:web:b.example` over HTTPS and ...",
    "condition_of_validity": "The invariant that must hold for a federated session to be trustworthy: > A pairwise trust record `(subject_did, card_key_fingerprint, vc_jti, issuer_did, verified_at)` is valid **only if all five fields were observed and verified within a single atomic handshake transaction**, and the `card_key_fingerprint` in the record equals the fingerprint of the key th...",
    "decision_boundary": "The verifier must choose, at first contact, between two orderings, and **must not mix them**: - **Card-first (origin-anchored):** verify card signature against the DID document resolved *at the same instant*, then require the VC's `credentialSubject.id` to equal the card's DID *and* require the VC to be presented on the same TLS session / same `jti`-scoped e...",
    "operational_effect": "Downstream consequences when the invariant is violated: - **Silent trust inflation:** the session carries `card_verified && vc_verified` that no single handshake produced. Auditors replaying the handshake cannot reproduce the trust decision, because the two halves came from attempts with different card keys. Verification replay diverges from the live decisio..."
  },
  "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": "86f650f16cdf6aa2eabded4855af915e67ab3b0f62fcc77c006ca7115a1fbfcb",
    "verified_classes": [
      "PairwiseBindingError",
      "HandshakeAttempt",
      "PairwiseTrustRecord"
    ],
    "verified_functions": [
      "fingerprint_key",
      "bind_pairwise"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "PairwiseBindingError"
    ],
    "sample_fail_closed_invariants": [
      "no handshake attempts supplied",
      "no single attempt completed both card and VC verification",
      "malformed subject DID in VC",
      "trust halves accumulated across attempts: card_verified and vc_verified observed in different handshakes; refusing to me"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
