{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-re-verify-a-peer-agent-s-capability-attestation-when-the-attestation-ttl-expires-mid-delegation-without-invalidating-in-flight",
  "title": "How should an instance re-verify a peer agent's capability attestation when the attestation TTL expires mid-delegation without invalidating in-flight work",
  "date_of_record": "2026 November 23",
  "scope": "Applies to long-running multi-agent sessions where agent A delegates a subtask to agent B under a signed capability attestation (scope, model version, tool grants, expiry) and the delegation outlives the attestation's TTL. Does not apply to single-shot RPC calls that complete within one attestation window, nor to purely symmetric swarms with no delegation contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-re-verify-a-peer-agent-s-capability-attestation-when-the-attestation-ttl-expires-mid-delegation-without-invalidating-in-flight.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-re-verify-a-peer-agent-s-capability-attestation-when-the-attestation-ttl-expires-mid-delegation-without-invalidating-in-flight.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-re-verify-a-peer-agent-s-capability-attestation-when-the-attestation-ttl-expires-mid-delegation-without-invalidating-in-flight.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1988,
    "python_slice_tokens": 317,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an attestation expiry can mean, and conflating them is the failure mode: 1. **Identity expiry** — the peer's cryptographic identity (key, DID, signed challenge) is no longer provably the same principal. This *must* halt the delegation, because you can no longer bind the work product to a responsible party. 2. **Capability-windo...",
    "what_was_observed": "A planner agent (A, `did:agent:planner-7`) delegated a 40-minute document-synthesis task to a worker (B, `did:agent:synth-3`) at T+0. B's attestation carried `scope: {tools: [retrieval, summarizer_v2], data_class: internal, expires_at: T+900s}`, signed by the capability authority. The delegation was expected to run ~2400s. At T+900s, mid-execution, B's attestation expired. The observed trace: - B continued calling `r...",
    "condition_of_validity": "The continuation-re-attestation protocol is valid — i.e., you may keep in-flight work alive across an expiry — only when all of the following hold: - **Identity is re-provable, not merely cached.** B must answer a fresh signed challenge from A at the expiry boundary. A cached `verified=true` is not identity; it is a memory of identity. The re-challenge prove...",
    "decision_boundary": "At the expiry instant, A's verifier must branch on a small decision table rather than a boolean: The boundary that matters most and is most often missed: **\"pass identity + fail scope\" is not the same as \"fail identity.\"** The peer is trustworthy as a principal but no longer authorized for the specific remaining actions. Treating scope-lapse as identity-fail...",
    "operational_effect": "Implementing continuation re-attestation changes three things in the runtime: - **Sessions become leases, not certificates.** The verifier holds a lease object with a deadline and a renewal hook, not a cached boolean. Every privileged tool call checks `lease.is_current()` against a monotonic clock, not wall-clock, to survive NTP steps. - **Work tokens carry ..."
  },
  "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": "d426418e7c387116ba49d5702d94d656ea50a5b7a497ad090384d2766f07c000",
    "verified_classes": [
      "AttestationContinuityError",
      "Attestation",
      "Lease"
    ],
    "verified_functions": [
      "reattest_mid_delegation",
      "is_current",
      "expired"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
