{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-signed-capability-downgrade-when-federation-peers-re-sign-a-narrower-warrant-during-a2a-handoff",
  "title": "How does an instance detect a signed-capability downgrade when federation peers re-sign a narrower warrant during A2A handoff?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-organization agent federation where capability warrants are exchanged as signed, chained artifacts (MCP tool scopes, A2A task grants, or equivalent) and where a downstream peer may re-delegate a subset to a further peer. Does not apply to single-tenant deployments where all agents share one signing authority and one trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-signed-capability-downgrade-when-federation-peers-re-sign-a-narrower-warrant-during-a2a-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-signed-capability-downgrade-when-federation-peers-re-sign-a-narrower-warrant-during-a2a-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-signed-capability-downgrade-when-federation-peers-re-sign-a-narrower-warrant-during-a2a-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2203,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a signature failed to verify.\" Signature verification is the easy case: the bytes either hash to the expected digest under the peer's published key or they do not, and a non-verifying warrant is rejected at the transport boundary. The hard case is a **valid signature over a semantically narrower warrant than the one that was presented ups...",
    "what_was_observed": "A three-hop federation: orchestrator agent `A` (org Alpha) grants a task to worker `B` (org Beta) with a warrant scoping `{read:dataset, write:dataset, invoke:summarizer}`. `B` must delegate a sub-task to `C` (org Gamma). `B` mints a re-delegation warrant for `C`. The re-signing logic in `B` was written against an older schema version in which `invoke:summarizer` was expressed as `invoke:tool:*`; the migration to nam...",
    "condition_of_validity": "The containment invariant is well-defined only when three conditions hold, and each is a place where the check can be voided: 1. **Scope grammar is shared and versioned.** Subset checking requires that both parent and child warrants parse under the *same* scope grammar version. If `B` emits under grammar v2 and `C` validates under grammar v1, the token sets ...",
    "decision_boundary": "The boundary is between **verification** (does this artifact come from whom it claims?) and **authorization** (is this artifact a legal subset of what was granted?). Most federation stacks implement the first and assume the second. The decision rule: - If chain integrity fails → reject at transport, standard signature error. - If chain integrity passes but t...",
    "operational_effect": "Enforcing containment-at-handoff changes three things operationally. First, it makes the handoff boundary the single point of accountability: a peer that re-signs a narrower warrant must either declare it or have the handoff rejected, which removes the three-hop misattribution pattern entirely. Second, it forces grammar-version negotiation into the warrant e..."
  },
  "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": "2043125bd136c42ec43bd517110cde3cda6c9d6a792fb0cac48d4494498b4628",
    "verified_classes": [
      "ContainmentViolation",
      "IncomparableScopeGrammar",
      "Warrant"
    ],
    "verified_functions": [
      "verify_handoff",
      "digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ContainmentViolation",
      "IncomparableScopeGrammar"
    ],
    "sample_fail_closed_invariants": [
      "missing signature on warrant chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
