{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-peer-s-negotiated-capability-grant-as-expired-at-the-moment-of-invocation-rather-than-at-the-moment-of-hand",
  "title": "In what scenarios must an instance treat a peer's negotiated capability grant as expired at the moment of invocation rather than at the moment of handshake",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent-to-agent (A2A) deployments where two organizations establish mutually authenticated gateways, negotiate a capability schema and policy envelope during a handshake, and then issue downstream task invocations under that negotiated grant. Does not apply to single-org intra-mesh calls where capability grants are re-validated by a shared policy service on every hop, nor to stateless request/response APIs without a negotiated session envelope.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-peer-s-negotiated-capability-grant-as-expired-at-the-moment-of-invocation-rather-than-at-the-moment-of-hand.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-peer-s-negotiated-capability-grant-as-expired-at-the-moment-of-invocation-rather-than-at-the-moment-of-hand.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-peer-s-negotiated-capability-grant-as-expired-at-the-moment-of-invocation-rather-than-at-the-moment-of-hand.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1837,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not authentication failure and not capability-schema mismatch. Both of those fail loudly at handshake time and are easy to observe. The boundary condition here is **temporal**: a capability grant that was valid, mutually authenticated, and policy-consistent at T₀ (handshake) can be silently invalid at T₁ (invocation) because the *granting* pee...",
    "what_was_observed": "Two orgs, A (caller) and B (callee), federate via mutually authenticated gateways. At handshake, B's gateway issues A a signed capability grant `G` covering `tools:read_ledger`, `scope:region=eu`, TTL 3600s, signed by B's warrant key `K_B`. A caches `G` and uses it for every invocation for the next hour. At T₀+1400s, B's compliance plane revokes A's `region=eu` entitlement (data-residency reclassification) and rotate...",
    "condition_of_validity": "The invariant \"a cryptographically verified capability grant is an authorized grant\" is valid **if and only if** the issuer's authority over the granted capabilities is monotone non-decreasing across `[handshake, invocation]`, or equivalently, if every authority-shrinking policy mutation is accompanied by grant invalidation (revocation, key rotation, or shor...",
    "decision_boundary": "The instance must choose, at each invocation, between two admission modes: - **Grant-trusting (offline) admission:** admit on signature + TTL + scope match alone. Cheap, no round-trip, but admits stale grants whenever the monotonicity condition fails. Only safe when the issuer guarantees authority monotonicity over the grant lifetime, or when the grant TTL i...",
    "operational_effect": "The practical consequence is that federated gateways must carry a **grant freshness policy** distinct from the grant's cryptographic validity, and must fail closed into reconfirmation (or rejection) when the freshness policy cannot be satisfied. Concretely: - The issuer must publish, in the grant or in handshake metadata, a `policy_mutation_to_revocation_lat..."
  },
  "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": "6e629533f5157697ff55ee7ee4d54166e39dcb2cbf5526e5eabd6d07322528d0",
    "verified_classes": [
      "StaleGrantAdmissionError",
      "CapabilityGrant"
    ],
    "verified_functions": [
      "admit_invocation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleGrantAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
