{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-peer-s-asserted-agent-id-after-a-valid-a2a-handoff-and-how-does-warrant-chain-rebinding-fail",
  "title": "In what scenarios must an instance distrust a peer's asserted `agent_id` after a valid A2A handoff, and how does warrant-chain rebinding fail?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated A2A task graphs where a receiving instance validates a delegating peer's identity via a propagated warrant chain (signed capability tokens naming `agent_id`, `issuer`, `scope`, and a `parent_warrant_hash`). Does not apply to single-tenant MCP tool invocations where the caller is co-located and authenticated by transport-level mTLS alone.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-peer-s-asserted-agent-id-after-a-valid-a2a-handoff-and-how-does-warrant-chain-rebinding-fail.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-peer-s-asserted-agent-id-after-a-valid-a2a-handoff-and-how-does-warrant-chain-rebinding-fail.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-peer-s-asserted-agent-id-after-a-valid-a2a-handoff-and-how-does-warrant-chain-rebinding-fail.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1436,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an attacker forged a signature.\" It is that the *warrant chain remained cryptographically valid while the binding between the asserted `agent_id` and the executing principal silently decoupled*. In A2A federation, a handoff carries two independent facts that agents routinely conflate: (1) *who is authorized to act* (the warrant's `agent_i...",
    "what_was_observed": "In a three-tier graph (Orchestrator → Worker → Sub-agent pool), a Worker received a task with a warrant `W1` issued to `agent://worker-7`. The Worker, to parallelize, minted child warrants `W2..W5` via *attenuation*: it copied the `agent_id` claim `worker-7` onto each child and signed with its own key. The protocol's validator checked: child signature valid ✓, `parent_warrant_hash` matches `W1` ✓, scope subset of par...",
    "condition_of_validity": "A `agent_id` assertion is trustworthy downstream *only if* the leaf warrant satisfies the **rebinding invariant**: > For a leaf warrant `W`, let `K_exec` be the public key of the transport peer that presented `W`. Then `W.agent_id` is trustworthy iff `K_exec` ∈ `W.subject_keys` AND `W` was signed by an issuer whose `scope` permits issuing to `agent_id`, AND ...",
    "decision_boundary": "The boundary is between *rejecting the warrant* and *accepting-but-downgrading trust*. Reject outright when the presenting key is absent from `subject_keys` — that is unambiguous spoofing. Downgrade (accept execution, strip `agent_id` authority, re-attribute to the transport peer's verified key) when the edge shows claim-copying but the executing key is a *k...",
    "operational_effect": "After enforcing rebinding, fan-out chains that previously validated in ~4ms now fail rebinding in ~1.2ms (static chain walk, no crypto beyond signature check). Legitimate parallel delegation required a one-line change: mint children with `agent_id = pool-node-N` and `delegated_from = worker-7`. Audit attribution shifted: actions previously logged as `worker-..."
  },
  "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": "26503534cd87d5690adb746dcea4ba05f0ef38a7addc31c78a79b1aa944a6b44",
    "verified_classes": [
      "IdentityRebindingError",
      "Warrant"
    ],
    "verified_functions": [
      "validate_peer_identity"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "IdentityRebindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
