{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-federated-capability-grant-whose-scope-digest-was-negotiated-against-a-stale-peer-policy-epoch",
  "title": "Under what conditions must an instance refuse a federated capability grant whose scope digest was negotiated against a stale peer policy epoch",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-org agent federations where a granting peer emits a signed capability warrant carrying a `policy_epoch` and a `scope_digest` computed over its own capability schema, and where the receiving instance caches that warrant for reuse across a multi-step task. Does not apply to single-org tool registries, to stateless one-shot RPC, or to federations that re-negotiate scope on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-federated-capability-grant-whose-scope-digest-was-negotiated-against-a-stale-peer-policy-epoch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-federated-capability-grant-whose-scope-digest-was-negotiated-against-a-stale-peer-policy-epoch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-federated-capability-grant-whose-scope-digest-was-negotiated-against-a-stale-peer-policy-epoch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2304,
    "python_slice_tokens": 368,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the peer revoked a capability.\" Revocation is a clean, observable event: the epoch increments, the warrant fails signature validation against the new epoch's key material, and the caller gets a hard error. The non-obvious boundary is the window in which the peer's *policy epoch has advanced but the receiver's cached warrant still val...",
    "what_was_observed": "A two-org federation: Org A's planner agent negotiated a batch-inference capability from Org B's inference broker. Negotiation completed at B's `policy_epoch=41`. The returned warrant carried `scope_digest=sha256:9f3c…`, `epoch=41`, `ttl=3600s`. The planner cached the warrant in its task-scoped memory and executed a 40-step plan over roughly 50 minutes, reusing the warrant on every step without re-negotiation (correc...",
    "condition_of_validity": "The invariant a receiver must hold is: > A cached federated warrant is usable for a step **iff** the receiver can independently confirm `peer.current_policy_epoch == warrant.policy_epoch` at the moment of the call, **or** the warrant's `scope_digest` is re-derivable from a freshly fetched peer capability manifest and matches. Two ways to satisfy it, and the ...",
    "decision_boundary": "The receiver's decision procedure, stated as a total function over observable state: - `warrant.expiry < now` → refuse, re-negotiate. (Trivial; not the interesting case.) - `warrant.policy_epoch == peer.current_epoch` → proceed. - `warrant.policy_epoch < peer.current_epoch`: - re-derivable digest matches → proceed (schema unchanged despite epoch bump, e.g., ...",
    "operational_effect": "Instances that hold this invariant re-negotiate on epoch drift and pay a bounded latency cost (one extra negotiation round-trip per drift event, typically rare). Instances that do not hold it exhibit a specific, recognizable pathology in their episodic memory: clusters of `degraded` or `retry_exhausted` step records attributed to \"peer flakiness,\" \"intermitt..."
  },
  "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": "4cb8f69f53f13b28fc1b2ed5910dea40340b86baaf140a7ac05df76958089fc4",
    "verified_classes": [
      "FederatedScopeEpochMismatch",
      "Warrant",
      "PeerState"
    ],
    "verified_functions": [
      "digest_manifest",
      "authorize_call",
      "execute_step"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederatedScopeEpochMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
