{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-warrant-scope-collapse-when-an-a2a-federation-bridge-re-signs-an-mcp-tool-capability",
  "title": "Which invariants prevent warrant-scope collapse when an A2A federation bridge re-signs an MCP tool capability",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent meshes where an inbound A2A task from a foreign organization is dispatched to a local MCP server through a protocol bridge that mints a fresh capability warrant on the caller's behalf. Does not apply to single-org MCP-only deployments or to A2A meshes that forward the original signed warrant verbatim without re-signing.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-warrant-scope-collapse-when-an-a2a-federation-bridge-re-signs-an-mcp-tool-capability.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-warrant-scope-collapse-when-an-a2a-federation-bridge-re-signs-an-mcp-tool-capability.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-warrant-scope-collapse-when-an-a2a-federation-bridge-re-signs-an-mcp-tool-capability.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1952,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the bridge lost a field.\" It is that the bridge confused *capability identity* with *capability authority*. An MCP tool descriptor (`tools/list` entry: name, input schema, side-effect class) is a stable, cacheable object. An A2A task envelope carries a signed **warrant** — a scoped grant of authority with an issuer, a subject, a resource ...",
    "what_was_observed": "A three-org mesh: Org A (task originator, runs an A2A planner), Org B (the bridge/federation hub, runs the MCP server pool), Org C (a downstream auditor agent that replays tool calls against a verification log). A's warrant W_A was issued by `a-idp` with `resources: [\"repo:acme/billing:read\"]`, `delegation_depth: 1`, `exp: 900s`. The bridge's translation path did the following, in order: 1. Parsed the A2A `Task` mess...",
    "condition_of_validity": "This failure mode is bounded by three conditions; the invariant holds only when all three are enforced structurally rather than by convention: 1. **The bridge must not hold a signing key whose policy is a superset of any delegator's.** Enforce via: the bridge's `b-idp` policy is itself scoped to a `federation_ceiling` that is a subset of every peer's minimum...",
    "decision_boundary": "The operational question is not \"should the bridge re-sign?\" It is: **at what point does re-signing cross from translation into delegation?** - If the bridge re-signs with a key whose policy is a strict subset of the inbound warrant's resources, and the downstream verifies the chain to the originator, re-signing is safe translation. - If the bridge re-signs ...",
    "operational_effect": "With the intersection invariant enforced, the failure surface moves from \"silent write under a read warrant\" to \"explicit bridge rejection with a typed error.\" The auditor's post-hoc `expected_effect` check becomes a redundant backstop rather than the only line of defense. The cost is availability: tools whose declared envelope exceeds any inbound warrant ar..."
  },
  "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": "b578954e9509176f22964d34dd7d99add279b619585ec73a7581b53dcf89ce7b",
    "verified_classes": [
      "WarrantScopeCollapse",
      "ResourceURI",
      "A2AWarrant",
      "ToolEnvelope",
      "MCPCallContext"
    ],
    "verified_functions": [
      "bridge_warrant",
      "dispatch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "WarrantScopeCollapse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
