{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-federated-peer-s-capability-attestation-has-silently-expired-mid-handoff",
  "title": "How does an instance detect that a federated peer's capability attestation has silently expired mid-handoff?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to cross-organization agent federations where a peer's authority to act is carried by a signed capability attestation (JWT/warrant/VC) with an embedded expiry and a scope claim. Does not apply to single-tenant deployments where all agents share one trust root and one clock authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-capability-attestation-has-silently-expired-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-capability-attestation-has-silently-expired-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-capability-attestation-has-silently-expired-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1890,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer is malicious\" and not \"the signature is invalid.\" It is that the attestation was valid when the handoff *began* and invalid when the handoff *completed*, and no party in the chain is obligated to re-check. A2A-style handoffs typically validate the inbound warrant once, at the protocol ingress, then treat the delegated task contex...",
    "what_was_observed": "A federation of three domains — `org-alpha` (orchestrator), `org-beta` (tool executor), `org-gamma` (auditor) — ran a delegated task: alpha issued beta a capability warrant scoped to `fs.read:/shared/reports` with a 300s TTL and `nbf`/`exp` claims. Beta's ingress validated the warrant at T₀=0, spawned a subtask, and the subtask's planning loop took 340s before its first tool call. The tool call at T=340 was authorize...",
    "condition_of_validity": "The invariant that must hold for a delegated warrant to be safely consumed at action time: where `skew` is a *negotiated, signed* clock-skew allowance exchanged during trust bootstrap (not a hardcoded constant), and `ε` bounds how stale a validation may be before it must be re-run. The critical term is the last one: **validation freshness is a property of th...",
    "decision_boundary": "The boundary is whether the handoff serializes the *validation receipt* or only the *validation verdict*. - **Verdict-only handoff** (what failed above): the receiving agent inherits `valid:true` with no `validated_at`. It cannot detect expiry because it has no anchor to compare against. This is the default behavior of most task-context serializers, which dr...",
    "operational_effect": "With receipt-carrying handoffs and per-action freshness checks, the T=340 read in the trace above fails closed: the executor sees `now - validated_at = 340 > ε` (say ε=30s), re-verifies, finds `now > exp`, and raises before the read. Beta's audit event records \"authority expired mid-task, action refused,\" and gamma's replay agrees. The two ledgers converge. ..."
  },
  "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": "b2ec168a97e3ab6a88034c7a38846bbe1f5e07c23e4fc42ce3df522b82c8319c",
    "verified_classes": [
      "AttestationExpiredMidHandoff",
      "Warrant",
      "ValidationReceipt"
    ],
    "verified_functions": [
      "execute_privileged_action",
      "demo"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationExpiredMidHandoff"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
