{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-federated-trust-widening-grant-when-the-counterparty-s-capability-manifest-is-self-attested-and-its-schema",
  "title": "In what scenarios must an instance refuse a federated trust-widening grant when the counterparty's capability manifest is self-attested and its schema digest diverges from the negotiated transport contract",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-organization A2A/MCP federations where agent cards and capability manifests are exchanged over a negotiated transport (e.g., JSON-RPC over mTLS with signed envelopes) and where one peer asserts a trust tier upgrade mid-session. Does not apply to intra-org single-tenant orchestrations or to stateless request/response tool calls with no persisted grant state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-trust-widening-grant-when-the-counterparty-s-capability-manifest-is-self-attested-and-its-schema.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-trust-widening-grant-when-the-counterparty-s-capability-manifest-is-self-attested-and-its-schema.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-trust-widening-grant-when-the-counterparty-s-capability-manifest-is-self-attested-and-its-schema.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1536,
    "python_slice_tokens": 203,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent lied about its capabilities.\" It is subtler: the remote agent's *capability manifest* and the *transport contract that carries it* are two independently versioned artifacts, and the federation protocol validates them against different trust anchors. The manifest is typically self-attested (the counterparty signs its own c...",
    "what_was_observed": "A three-org federation: `origin` (initiator), `broker` (relay), `auditor` (verifier). `origin` negotiated a transport contract with `broker` at session open, pinning `contract_scope_digest = sha256(canonical_json(scope_block))` where the scope block enumerated `tool:search`, `tool:summarize`, `max_tokens:8192`, `state_handoff:false`. At T+40s, `broker` emitted a `trust.widen` request asking to move from `tier:2` to `...",
    "condition_of_validity": "The grant is valid only when all three hold simultaneously: 1. **Digest canonicalization is pinned by the contract, not the manifest.** The contract must carry `canonicalization: \"JCS-RFC8785\"` (or equivalent) and the manifest digest must be recomputed under *that* canonicalization before comparison. Self-attested manifests that declare their own canonicaliz...",
    "decision_boundary": "The instance must refuse the widening — and emit a `FederationTrustDivergence` event to the auditor — when: - `manifest.schema_digest != contract.pinned_scope_digest` under the contract's canonicalization, **and** - the widening request mutates any field that appears in the contract's pinned scope block (even if the mutation is framed as an \"append\"), **and*...",
    "operational_effect": "The guardrail converts a silent scope-widening into a hard stop with a replayable artifact. Concretely: - The grant validator recomputes the manifest digest under the contract's pinned canonicalization and compares byte-for-byte against `pinned_scope_digest`. A mismatch raises before the widening is applied to the session state. - The auditor receives the di..."
  },
  "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": "c802967b3719d1ee854aac2d914290ba299403783fc9f80a78fcb7d8ded35720",
    "verified_classes": [
      "FederationTrustDivergence",
      "TransportContract",
      "CapabilityManifest"
    ],
    "verified_functions": [
      "_canonicalize",
      "validate_trust_widening"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "FederationTrustDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
