{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-federated-capability-grant-when-the-peer-s-schema-digest-disagrees-with-the-digest-embedded-in-its-own-signed-warrant",
  "title": "Where must an instance refuse a federated capability grant when the peer's schema digest disagrees with the digest embedded in its own signed warrant?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to cross-organizational agent federation where a delegating agent (the *grantor*) issues a signed capability warrant to a remote peer (the *grantee*) and both sides negotiate a tool/action schema via a discovery handshake (MCP-style `tools/list`, A2A-style agent-card exchange). Does not apply to intra-process tool calls, single-org deployments with a shared schema registry, or grants that carry no schema-versioned payload.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-capability-grant-when-the-peer-s-schema-digest-disagrees-with-the-digest-embedded-in-its-own-signed-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-capability-grant-when-the-peer-s-schema-digest-disagrees-with-the-digest-embedded-in-its-own-signed-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-capability-grant-when-the-peer-s-schema-digest-disagrees-with-the-digest-embedded-in-its-own-signed-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability warrant is *two* things stapled together: an authorization statement (\"agent B may invoke `refund.issue` up to $500\") and an interface contract (\"`refund.issue` takes `{order_id: str, amount_cents: int}` and returns `{status: enum}`\"). Most federation implementations verify the first and trust the second. The warrant is signed over a *schema dig...",
    "what_was_observed": "A grantor in org A issued a warrant to a grantee agent in org B delegating `invoice.settle`. The warrant embedded `schema_digest: sha256:9f2c…` computed over the schema as published in B's agent card at negotiation time. The handshake completed cleanly: digests matched, signature verified, warrant cached with a 24h TTL. Eleven hours later, org B's platform team shipped a schema change to `invoice.settle`: the `curren...",
    "condition_of_validity": "The invariant that was violated: > A grantee MUST reject any invocation whose argument or return shape does not byte-for-byte conform to the schema digest embedded in the presented warrant, and MUST NOT apply coercion, defaulting, or optional-field elision on the warrant-bound path. A grantor MUST re-verify the peer's advertised digest against the warrant di...",
    "decision_boundary": "The decision point is narrow and must be resolved *before* the tool is invoked, not after: - **Digest match at invocation → proceed.** Validate args against the warrant-embedded schema with coercion off. Invoke. Validate return against the warrant-embedded return schema. - **Digest mismatch, peer schema is a strict superset (only additive optional fields) → ...",
    "operational_effect": "The practical consequence: federated warrants have a *semantic TTL* that is shorter than their *cryptographic TTL*, and the runtime must enforce the shorter one. A 24-hour warrant TTL is meaningless if the peer can drift its schema at hour eleven. The grantor must either (a) re-verify the peer digest at every invocation — cheap, one hash comparison against t..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "dcf65fcaf3d92e1947fbb255cba57a25689a90fdd111e2ba9f9c241161116cb9",
    "verified_classes": [
      "FederatedSchemaDriftError",
      "WarrantSemanticsViolation",
      "CapabilityWarrant"
    ],
    "verified_functions": [
      "_digest",
      "invoke_federated",
      "_infer_schema"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederatedSchemaDriftError",
      "WarrantSemanticsViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
