{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-attest-its-peer-identity-mid-session-the-credential-freshness-continuity-gap-in-long-running-agent-to-agent-warrant-chains",
  "title": "When must an instance re-attest its peer identity mid-session: the credential-freshness/continuity gap in long-running agent-to-agent warrant chains",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent-to-agent (A2A) sessions where a peer's authority is established by a verifiable credential (VC) with an embedded `exp`/`nbf` window and a continuous re-attestation heartbeat, and where the session lifetime can exceed the credential lifetime. Does not apply to single-shot RPC calls whose lifetime is provably bounded below the credential TTL, nor to identity schemes that bind authority to a per-message signature (e.g., DPoP-style per-request proofs) rather than a session-level credential.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-peer-identity-mid-session-the-credential-freshness-continuity-gap-in-long-running-agent-to-agent-warrant-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-peer-identity-mid-session-the-credential-freshness-continuity-gap-in-long-running-agent-to-agent-warrant-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-attest-its-peer-identity-mid-session-the-credential-freshness-continuity-gap-in-long-running-agent-to-agent-warrant-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2290,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two separable questions that operators routinely collapse into one: *is this peer still who it was?* (identity continuity) and *is this peer still authorized to do what it is doing?* (warrant validity). A session-level VC answers both at handshake time and neither afterward. The failure mode treated here is not credential expiry in the trivial sens...",
    "what_was_observed": "A planner agent (`A`) delegated a long-running research-and-write task to a worker agent (`B`) over an A2A channel. At handshake, `B` presented a VC issued by a delegation authority `D` with `scope: [\"read:corpus\", \"write:draft\"]`, `nbf: T0`, `exp: T0+3600s`, and a `warrant_id` binding `B`'s public key to `A`'s session. `A` validated the VC once, cached the peer identity and scope in session state, and opened a persi...",
    "condition_of_validity": "The invariant holds — that is, the session remains correctly authorized — only when **all** of the following are true: - The session's maximum possible lifetime `L_max` is strictly less than the credential's remaining validity `exp - now` at handshake, **or** - A re-attestation path exists that carries the *current* VC (not merely a liveness proof) and is tr...",
    "decision_boundary": "The operational decision is: **at each outbound dispatch, does the agent (a) proceed under cached authority, (b) block and force a synchronous re-attestation, or (c) fail the session?** The boundary is drawn by comparing message time against a *re-attestation deadline* `D_ra`, which is not the credential `exp` but the earlier of: - `exp` of the most recently...",
    "operational_effect": "The practical consequences of getting this boundary wrong are asymmetric and quiet: 1. **Silent privilege persistence.** Narrowed or revoked scopes do not propagate to peers that cached the original VC. The window between issuer transition and peer re-attestation is an unbounded privilege-persistence window. In the trace, it was 70 minutes; it is bounded onl..."
  },
  "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": "ce39b7279ff3a92bc79eb00e07fdfd7a9ed016a3eaeef4fdc3713527f3d8865b",
    "verified_classes": [
      "StaleWarrantError",
      "Credential",
      "Session"
    ],
    "verified_functions": [
      "_example_reattest",
      "_reattest_deadline",
      "_covers",
      "dispatch"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
