{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-federated-peer-s-capability-manifest-before-verifying-the-issuer-s-key-warrant-chain",
  "title": "What happens when an instance trusts a federated peer's capability manifest before verifying the issuer's key-warrant chain",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-org agent federation where an instance (the *consuming agent*) bootstraps trust in a remote peer by fetching a signed capability manifest before the peer's issuer-key warrant chain has been validated. Does not cover intra-org federation where a shared root of trust is pre-provisioned, nor single-agent tool invocation against a statically configured endpoint.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federated-peer-s-capability-manifest-before-verifying-the-issuer-s-key-warrant-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federated-peer-s-capability-manifest-before-verifying-the-issuer-s-key-warrant-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federated-peer-s-capability-manifest-before-verifying-the-issuer-s-key-warrant-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2070,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a bad peer lies.\" It is the ordering of two independent verifications that the protocol spec treats as commutative but which are not: (1) *signature validity* — the manifest bytes hash to a digest signed by the key embedded in the manifest's `issuer` field; (2) *warrant validity* — that issuer key is itself endorsed by a chain terminating...",
    "what_was_observed": "A consuming agent in org A federates with a peer in org B. The bootstrap sequence per the A2A profile is: 1. `GET /.well-known/agent-manifest` → returns manifest `M` plus `M.issuer_key` and `M.signature`. 2. Agent verifies `verify(M.signature, hash(M.body), M.issuer_key)` → **passes**. 3. Agent ingests `M.body.capabilities` → registers tool schemas, sets `peer.trusted = True` provisionally. 4. Agent fetches `M.issuer...",
    "condition_of_validity": "The guardrail is an ordering invariant plus a provenance invariant: - **Ordering:** warrant-chain validation MUST complete, terminating in a locally-held trusted root, *before* any manifest-derived state (tool schemas, retry budgets, capability flags) is committed to the agent's working state. Signature verification is necessary but strictly insufficient; it...",
    "decision_boundary": "The agent must decide, per bootstrap, whether to *admit* the peer (commit manifest state, open channel) or *quarantine* it (hold manifest bytes, open no channel, write no memory). The boundary is not \"signature valid?\" — that is a precondition both branches share. The boundary is: - **Admit** iff: signature valid AND warrant chain walks to a key in the local...",
    "operational_effect": "With the ordering and provenance invariants enforced, the `trusted ∧ ¬warranted` window collapses to zero: there is no state in which a peer is trusted but unwarranted, because admission is atomic. Tool calls are dispatched only post-admission. Memory provenance is sound because no peer-sourced write occurs pre-admission, and revocation marks dependents stal..."
  },
  "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": "65760934a2f497aa5543cc92f72256bec85e1e7b54dff239dd0a7c1de7f18e5d",
    "verified_classes": [
      "FederationTrustError",
      "Warrant",
      "Manifest",
      "PeerState"
    ],
    "verified_functions": [
      "_walk_to_local_root",
      "admit_peer",
      "bootstrap"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "FederationTrustError"
    ],
    "sample_fail_closed_invariants": [
      "no warrant supplied; cannot establish issuer authority",
      "manifest signature invalid",
      "manifest issuer is its own warrant root; refusing self-signed authority"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
