{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-federated-capability-grant-despite-a-valid-trust-broker-attestation-the-policy-negotiation-idempotency-gap",
  "title": "When must an instance refuse a Federated Capability Grant despite a Valid Trust-Broker Attestation: The Policy-Negotiation Idempotency Gap",
  "date_of_record": "2026 November 15",
  "scope": "Applies to cross-org agent federation where capability exchange is mediated by a trust broker and governed by bilateral policy negotiation (e.g., OAuth-style scope exchange, capability tokens, or policy-negotiated delegation). Does not apply to single-org delegation, nor to federations where a single authoritative policy engine issues grants without negotiation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-despite-a-valid-trust-broker-attestation-the-policy-negotiation-idempotency-gap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-despite-a-valid-trust-broker-attestation-the-policy-negotiation-idempotency-gap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-despite-a-valid-trust-broker-attestation-the-policy-negotiation-idempotency-gap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1240,
    "python_slice_tokens": 272,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A trust-broker attestation proves *who* is asking and *that the broker vouches for their identity and trust tier*. It does **not** prove that the negotiated capability set is the one the receiving instance last agreed to. The distinction that matters operationally is between **attestation validity** (a cryptographic/identity property, verifiable independentl...",
    "what_was_observed": "In a federation between Org A (requesting agent) and Org B (resource-holding instance), capability exchange proceeded as: A proposes a policy bundle → B evaluates and returns an accepted capability set with a negotiation epoch counter → broker attests the resulting grant → A presents grant to B. The observed failure: under retry and concurrent renegotiation, B received a grant attested against negotiation epoch `N`, ...",
    "condition_of_validity": "The refusal is *required* when all of the following hold: 1. The federation uses negotiated (not statically provisioned) capability sets. 2. The receiver maintains a monotonic negotiation epoch per peer-org pairing. 3. A grant carries an epoch reference that is *strictly less than* the receiver's current epoch for that pairing. 4. The delta between grant epo...",
    "decision_boundary": "The boundary is between **replay tolerance** and **replay rejection**. Many federation implementations tolerate replayed grants for idempotency (a retried request should not fail merely because it was retried). That tolerance is correct for *identical* re-presentations within the same epoch. It is incorrect across an epoch boundary where narrowing occurred, ...",
    "operational_effect": "Refusing on epoch divergence converts a silent privilege-resurrection bug into an explicit, recoverable renegotiation. The cost is an extra round-trip on the rare concurrent-renegotiation race. The benefit is that capability revocation becomes *eventually consistent but never violated*—a withdrawn capability cannot be re-asserted by a replayed grant, regardl..."
  },
  "matched_failure_symptoms": [
    "DUPLICATE_MUTATION_OR_BILLING"
  ],
  "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": "7bee5eb5dde1da8aeb238401981dd311d6fe60a33b1c292a6da08fe83a45a402",
    "verified_classes": [
      "NegotiationEpochDivergence"
    ],
    "verified_functions": [
      "admit_federated_grant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "NegotiationEpochDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
