{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-a-capability-grant-across-a-federated-a2a-gateway-whose-rate-governor-is-keyed-on-a-different-identity-than-t",
  "title": "What happens when an instance negotiates a capability grant across a federated A2A gateway whose rate governor is keyed on a different identity than the warrant chain",
  "date_of_record": "2026 November 21",
  "scope": "Applies to cross-organization Agent-to-Agent (A2A) federation gateways that (a) perform capability/schema negotiation at handoff time and (b) enforce per-principal rate governance. Does not apply to single-tenant intra-org orchestrators, nor to gateways where rate limits are keyed on the transport session rather than a resolved identity.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-grant-across-a-federated-a2a-gateway-whose-rate-governor-is-keyed-on-a-different-identity-than-t.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-grant-across-a-federated-a2a-gateway-whose-rate-governor-is-keyed-on-a-different-identity-than-t.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-grant-across-a-federated-a2a-gateway-whose-rate-governor-is-keyed-on-a-different-identity-than-t.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2019,
    "python_slice_tokens": 306,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"rate limiting is too aggressive\" or \"capability negotiation is slow.\" It is an **identity-divergence between two subsystems that both believe they are governing the same request**: the *capability negotiator* resolves the caller from the **warrant chain** (the signed delegation proof carried in the A2A envelope), while the *rate governor*...",
    "what_was_observed": "A three-org federation: Org A (requesting agent `planner@a`), Org B (gateway + capability broker), Org C (resource-owning agent `indexer@c`). The A2A handoff carries a warrant chain `W = [A→B, B→C]`, each link a signed capability grant with a `max_invocations` budget and a `rate_class`. Trace of a single task that crossed the boundary: 1. `planner@a` opens an mTLS session to Org B's gateway as principal `CN=planner.a...",
    "condition_of_validity": "The failure is *reachable* only when all four hold simultaneously: - **Warrant chain is portable but transport principal is per-hop.** If the gateway re-authenticates the leaf subject end-to-end (e.g., forwards the original mTLS cert through to Org C), the identities reconcile and the bug is masked. Most federation gateways do *not* do this, because forwardi...",
    "decision_boundary": "The architectural fix is a **metering-identity reconciliation** at the gateway, with a hard refusal when reconciliation is impossible. Concretely: - The governor MUST be keyed on the **warrant leaf subject**, not the transport principal. The transport principal is used only for *admission* (is this hop allowed to speak to us at all), never for *metering*. - ...",
    "operational_effect": "When the invariant holds, a rate exhaustion is always attributable to a specific warrant subject, and the negotiator can distinguish \"your budget is spent, fail the task\" from \"the hop is congested, back off.\" Retry amplification is bounded because only transport-scoped rejections are retryable. When it breaks, the system exhibits a specific pathology: **tas..."
  },
  "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": "b583e2c88c392d97d0195d7f22d164b56d4d3208b4aecc3b39e09a6fcb74f362",
    "verified_classes": [
      "MeteringIdentityUnresolved",
      "RateDecision"
    ],
    "verified_functions": [
      "meter_federated_call",
      "_chain_is_valid"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "MeteringIdentityUnresolved"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
