{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-attestation-window-skew-when-a-federated-peer-s-capability-token-expires-mid-delegation",
  "title": "How does an instance detect attestation-window skew when a federated peer’s capability token expires mid-delegation?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-organization agent federation where capability attestations (signed, time-bounded warrants) are minted by an issuing org and presented to a policy-enforcing interop gateway before each delegated tool invocation. Does not apply to intra-org single-tenant agent meshes or to stateless request/response APIs without warrant propagation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attestation-window-skew-when-a-federated-peer-s-capability-token-expires-mid-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attestation-window-skew-when-a-federated-peer-s-capability-token-expires-mid-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-attestation-window-skew-when-a-federated-peer-s-capability-token-expires-mid-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2012,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not an expired token. Expiry is trivial: the gateway checks `exp` against its own clock and rejects. The non-obvious boundary is **attestation-window skew during a multi-hop delegation chain**, where the *presenting* agent holds a warrant that is still valid by its own clock and by the issuing org’s clock, but is evaluated by an interop g...",
    "what_was_observed": "A three-org federation: Org A (issuer) mints a 300-second capability warrant for Agent-1 to delegate `read_ledger` to any sub-agent it spawns. Agent-1 spawns Agent-2 in Org B, which spawns Agent-3 in Org C. Org C’s interop gateway enforces `freshness_floor = 120s` on `iat` — a policy that exists to bound replay of stolen warrants, and is not advertised in Org C’s published capability schema (it lives in gateway confi...",
    "condition_of_validity": "The freshness floor is a legitimate guardrail: it bounds the window in which a leaked or replayed warrant is useful, and it is the only defense against a compromised sub-agent replaying a captured warrant indefinitely within `exp`. It is valid **only if** the following three conditions hold jointly: 1. **The floor is discoverable before delegation begins.** ...",
    "decision_boundary": "The instance must decide, at each delegation hop, whether to **inherit** the parent warrant or **re-mint** a fresh one. The boundary is computable: - Let `floor_min` = minimum known freshness floor across the destination org’s gateways (from capability descriptors). - Let `latency_p99` = the delegating agent’s measured p99 latency for the downstream tool cal...",
    "operational_effect": "When the invariant holds — floor discoverable, re-mint on the boundary, typed terminal rejections — cross-org federation behaves like a single-clock system: warrants are re-derived per hop, latency is absorbed by re-minting rather than by hoping, and a rejection is surfaced to the orchestrator as a policy event it can route (re-mint, escalate, or fail the ta..."
  },
  "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": "8174a6ebc1a43b14ffb6663db205ec4bbc91c5ec6fcf7e10d6cd0defe82c91c9",
    "verified_classes": [
      "AttestationWindowSkewError",
      "Warrant",
      "GatewayPolicy"
    ],
    "verified_functions": [
      "should_inherit",
      "delegate",
      "present"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AttestationWindowSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
