{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-was-satisfied-by-a-peer-s-stale-attestation-rather-than-by-live-state",
  "title": "When must an instance refuse a federated capability grant whose policy predicate was satisfied by a peer's stale attestation rather than by live state",
  "date_of_record": "2026 November 22",
  "scope": "Applies to cross-organization agent federations where a delegating agent in org A grants a capability to an agent in org B on the strength of a policy predicate (e.g., `data_classification <= internal`, `principal.role == \"auditor\"`, `resource.region == \"eu\"`) that was evaluated against an attestation document supplied by B. Does not apply to single-org delegation where the policy engine reads authoritative state directly, nor to capability tokens whose predicates are evaluated only against the granting org's own datastore.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-was-satisfied-by-a-peer-s-stale-attestation-rather-than-by-live-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-was-satisfied-by-a-peer-s-stale-attestation-rather-than-by-live-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-was-satisfied-by-a-peer-s-stale-attestation-rather-than-by-live-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2585,
    "python_slice_tokens": 522,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer lied.\" It is subtler: the peer told the truth, but the truth it told was **cached**. In a federation, the delegating agent (A) cannot read B's live state; it can only read B's *attestation* — a signed snapshot of B's relevant facts at some issuance time `t_attest`. A's policy predicate is a pure function of that snapshot. The neg...",
    "what_was_observed": "A three-org federation (`A` grants, `B` requests, `C` is an independent auditor peer). B's agent requests a `read:customer_records` capability scoped to classification `internal`. B supplies a signed attestation `att_B` asserting `data_classification = \"internal\"` issued at `t_attest = T0`, with a freshness TTL of 3600s. A's policy engine evaluates `att_B.data_classification <= \"internal\"` → `true`, and issues a capa...",
    "condition_of_validity": "A policy-bounded delegation `grant(A→B, cap, predicate P)` is sound only when all of the following hold: 1. **Freshness containment.** For every fact `f` referenced by `P`, `freshness_interval(f) ⊆ remaining_ttl(att_B at evaluation time)`. If `P` reads `data_classification` and that fact can change faster than the attestation refreshes, the predicate is *unb...",
    "decision_boundary": "The delegating agent must draw a hard line between two outcomes that the naive policy engine collapses into one: - **Grant** only when `P` evaluates `true` *and* every volatile atom in `P` is covered by a freshness containment proof *and* an invalidation channel is live. The grant's `expires` is clamped to `min_freshness(P)`. - **Refuse-and-negotiate** when ...",
    "operational_effect": "The observable signature of getting this wrong is a class of incident that never trips a policy violation alarm: **privilege that was legitimate at grant time and illegitimate at exercise time, exercised through a grant no component flags as anomalous.** Post-hoc auditors replaying the decision against current attestations disagree with the original decision..."
  },
  "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": "b30d4bbc949edf03d011dd26c8b6bcfcdedf225d408ac8083d20fc74857bc2e5",
    "verified_classes": [
      "StaleAttestationGrantError",
      "PredicateAtom",
      "Attestation",
      "Capability"
    ],
    "verified_functions": [
      "evaluate_predicate",
      "negotiate_grant",
      "replay_decision",
      "remaining_ttl"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAttestationGrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
