{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-capability-attestation-during-cross-organizational-federation-policy-negotiation",
  "title": "How does an instance detect a stale capability attestation during cross-organizational federation policy negotiation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to federated agent meshes where an agent instance (the *requester*) negotiates a capability warrant with a peer instance (the *issuer*) in another trust domain, and where the issuer's capability envelope is attested by a signed claim whose validity is bounded by a TTL and a policy-version pin. Does not apply to intra-org delegation where the policy authority is shared, nor to purely capability-discovery queries that carry no execution warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-attestation-during-cross-organizational-federation-policy-negotiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-attestation-during-cross-organizational-federation-policy-negotiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-attestation-during-cross-organizational-federation-policy-negotiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1537,
    "python_slice_tokens": 194,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer lied\" and it is not \"the signature failed to verify.\" It is a **time-of-check / time-of-use skew between the policy-negotiation handshake and the attestation's policy-version pin**. A capability attestation is bound to two independent clocks: a wall-clock expiry (TTL) and a *policy epoch* — the version identifier of the issuer's ...",
    "what_was_observed": "A requester in domain A negotiated a `write:ledger` capability from an issuer in domain B at `t0`. The handshake returned: - a signed attestation `A` with `expires_at = t0 + 3600s`, - `policy_epoch = \"e17\"` embedded in the signed claims, - a warrant token the requester cached in its working memory for the duration of a long-running multi-step task. At `t0 + 900s`, the issuer's policy authority published epoch `e18`, ...",
    "condition_of_validity": "The guardrail holds only when all three of the following are true: 1. **Epoch is a first-class claim.** The attestation's signed claims include `policy_epoch`, and the issuer's enforcement point rejects any warrant whose `policy_epoch` is not the current advertised epoch *or* an epoch explicitly listed in the issuer's `accepts_epochs` window (a bounded backw...",
    "decision_boundary": "The instance must choose between two postures at the moment it detects an epoch mismatch on a cached warrant: - **Re-negotiate (preferred when the task is resumable):** discard the stale warrant, re-run the capability handshake to obtain an `e18`-minted warrant, and resume. Cost: one extra round-trip and possible loss of in-flight task state if the re-negoti...",
    "operational_effect": "Once epoch-aware validation was added, the requester's retry storm collapsed to a single re-negotiation per epoch transition, and the opaque `403`s became actionable `epoch_stale` signals that the reasoning loop could branch on. The invariant to encode: **a capability attestation is valid only while `signature_ok AND now < expires_at AND policy_epoch ∈ issue..."
  },
  "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": "906bd2031ac161ba8ae067c1eee2984c84cebc4114716e5f173be826218f6e05",
    "verified_classes": [
      "StaleCapabilityAttestation",
      "CapabilityShapeChanged",
      "Attestation",
      "IssuerPolicyView"
    ],
    "verified_functions": [
      "validate_at_use",
      "resume_with_renegotiation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityShapeChanged",
      "StaleCapabilityAttestation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
