{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-attests-a-federated-capability-mid-handoff-and-the-peer-s-trust-anchor-has-rotated-within-the-attestation-s-validity",
  "title": "What happens when an instance re-attests a federated capability mid-handoff and the peer's trust anchor has rotated within the attestation's validity window",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-organization agent federations where a receiving agent (peer) admits a calling agent (instance) on the strength of a capability attestation signed by a trust anchor, and where that anchor can rotate independently of the attestation's declared `not_after`. Does not apply to single-org deployments with a static anchor, nor to purely symmetric shared-secret handshakes where no third-party verifier exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-attests-a-federated-capability-mid-handoff-and-the-peer-s-trust-anchor-has-rotated-within-the-attestation-s-validity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-attests-a-federated-capability-mid-handoff-and-the-peer-s-trust-anchor-has-rotated-within-the-attestation-s-validity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-attests-a-federated-capability-mid-handoff-and-the-peer-s-trust-anchor-has-rotated-within-the-attestation-s-validity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2004,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct clocks in a federated handoff, and conflating them is the failure. The **attestation clock** governs whether a capability grant is still valid (`not_before` ≤ now ≤ `not_after`). The **anchor clock** governs whether the key that signed that grant is still the authority the peer trusts. A naive verifier checks only the attestation clock...",
    "what_was_observed": "A three-hop federation: Org A (instance `a-7`) calls Org B (peer `b-2`) to invoke a tool that Org B only exposes to attested callers. `a-7` carries a capability attestation `att` signed by A's anchor `A-root-1`, with `not_after = T+300s`. At `T-40s`, `a-7` fetched `A-root-1` from A's JWKS endpoint and cached it, completing a warm handshake with `b-2` that succeeded. At `T+0`, `a-7` begins a second handoff — a mid-tas...",
    "condition_of_validity": "The admission-on-stale-anchor invariant holds only under the conjunction: - The peer evaluates the attestation against **its own trust store epoch at evaluation time**, not against the anchor chain the instance presents. Presented chains are advisory; the trust store is authoritative. - The peer records, per admission, the `anchor_epoch` it used. An admissio...",
    "decision_boundary": "The precise boundary is the ordering of three timestamps at the peer: - If `T_eval < T_rotate`: admit on `A-root-1`. Normal. - If `T_rotate ≤ T_eval < T_att_exp` and peer's trust store has refreshed: the attestation is signed by a *retired* anchor but is still temporally valid. **This is the boundary.** The correct decision is *conditional admit with mandato...",
    "operational_effect": "The operational consequence is that **attestation lifetime and anchor lifetime must be co-bounded, and the peer must be the one to enforce it.** Concretely: 1. Cap `att.not_after` at `min(grant_ttl, anchor_epoch.valid_until + peer_poll_interval)`. This closes the silent-over-permission window: an attestation can never be valid past the point where the peer i..."
  },
  "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": "2a61dfc869fea93ae93297b91cec189093976ec90d2a973e5f53b9780f5bd1ba",
    "verified_classes": [
      "AnchorContinuityError",
      "AnchorEpoch",
      "Attestation"
    ],
    "verified_functions": [
      "admit_handoff"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AnchorContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "attestation expired under a retired anchor; re-attestation required",
      "presented anchor chain does not include the signer; cannot chain attestation to trusted root"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
