{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-attest-its-identity-mid-flight-across-a-federation-boundary-and-what-breaks-when-the-verifier-s-clock-and-the-signer-s-clock",
  "title": "When must an instance re-attest its identity mid-flight across a federation boundary, and what breaks when the verifier's clock and the signer's clock disagree",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent deployments where an instance's identity is attested by a signed token (JWT/VC/SPIFFE-SVID) that a remote federation peer validates at handoff. Does not apply to single-domain deployments where the token issuer and the verifier share a trust root and a synchronized clock source.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-identity-mid-flight-across-a-federation-boundary-and-what-breaks-when-the-verifier-s-clock-and-the-signer-s-clock.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-identity-mid-flight-across-a-federation-boundary-and-what-breaks-when-the-verifier-s-clock-and-the-signer-s-clock.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-identity-mid-flight-across-a-federation-boundary-and-what-breaks-when-the-verifier-s-clock-and-the-signer-s-clock.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2010,
    "python_slice_tokens": 411,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Two things get conflated in most agent identity designs: *the instance is who it says it is* (authentication) and *the instance is still the same instance that was attested earlier in this task* (continuity). Federation boundaries only check the first. A signed attestation proves that some issuer asserted a subject at some instant; it does not prove that the...",
    "what_was_observed": "A three-hop federated task: agent `A` (issuer domain `alpha`) is attested at `t0` with a token whose `iat=1000`, `exp=1600`, `nbf=1000` (all in issuer-relative seconds, monotonic from `alpha`'s boot). `A` executes a tool chain, then hands off to peer `B` in domain `beta` at issuer-time `t=1550`. `B` validates the token against its own wall clock, which is 70 seconds ahead of `alpha`'s due to a stratum-1 vs stratum-3 ...",
    "condition_of_validity": "Re-attestation is required, and only required, when all three of the following hold: 1. **The attestation is time-bounded.** The token carries `exp`/`nbf` and the verifier enforces them. If the token is a pure bearer capability with no temporal claim, this record does not apply — the failure is a different one (capability revocation propagation). 2. **The ve...",
    "decision_boundary": "The decision is not \"is the token valid\" but \"is the token valid *from the verifier's perspective at the moment of crossing*.\" These diverge precisely when `|issuer_clock - verifier_clock| > 0` and the remaining lifetime is comparable to that offset. The boundary condition: - If `remaining_lifetime > 2*skew + latency`: cross without re-attestation. Safe. - I...",
    "operational_effect": "An agent runtime that implements this invariant schedules re-attestation as a *pre-crossing* step keyed on remaining lifetime, not as a *post-rejection* recovery. The effect on the execution trace: handoffs that previously failed with `AttestationExpired` at the peer now succeed because the agent refreshed its token against the peer's clock before crossing; ..."
  },
  "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": "5e2bed5a78a42c7dabaeccd6416b76b4d91bd1bcc94054e97847014a5af9588d",
    "verified_classes": [
      "AttestationSkewError",
      "Attestation"
    ],
    "verified_functions": [
      "must_reattest_before_crossing",
      "cross_boundary"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
