{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-capability-warrant-when-a-peer-s-attestation-ttl-expires-mid-handoff",
  "title": "How does an instance detect a stale capability warrant when a peer's attestation TTL expires mid-handoff",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent that accepts a delegated task under a peer-issued capability warrant (signed attestation binding agent identity → permitted tool/schema set → validity window → nonce) and where the accepting agent caches that warrant across a multi-step handoff. Does not apply to stateless request/response calls where the warrant is re-fetched and re-verified per invocation, nor to purely local tool authorizations that never cross an instance boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-warrant-when-a-peer-s-attestation-ttl-expires-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-warrant-when-a-peer-s-attestation-ttl-expires-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-warrant-when-a-peer-s-attestation-ttl-expires-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2034,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability attestation is not a boolean. It is a tuple `(subject_id, issuer_id, granted_scopes, issued_at, not_after, nonce, signature)` whose truth value is a *function of wall-clock time at the moment of use*, not the moment of receipt. The distinction that matters operationally is between **warrant validity at handoff acceptance** and **warrant validity...",
    "what_was_observed": "A three-agent pipeline: Planner (A) → Executor (B) → Auditor (C). A holds the root credential and issues B a scoped, time-boxed warrant `W_B` delegating `filesystem.write` and `http.post` with `not_after = T0 + 300s`. B accepts the baton, verifies `W_B`'s signature against A's published key, checks `not_after > now`, and caches `W_B` in its working context. B then begins a multi-step task. The trigger condition is mu...",
    "condition_of_validity": "The invariant that must hold for any delegated execution is: > For every privileged action `a` executed by subject `S` under warrant `W`, `verify(W.signature, W.issuer)` ∧ `W.subject == S` ∧ `W.scopes ⊇ scope(a)` ∧ `issued_at ≤ now(a) < not_after` must be evaluated **at `now(a)`**, the instant of the action, not at warrant receipt. Three conditions bound whe...",
    "decision_boundary": "The boundary an instance must draw is between **warrants short enough to outlive the task** and **warrants that can expire mid-task**. If the issuer can guarantee `not_after > expected_task_duration + safety_margin`, receipt-time verification is sound and the per-action re-check is redundant overhead. If it cannot — and for any multi-turn LLM task with unbou...",
    "operational_effect": "The downstream consequence is a **split-brain trust state**: the executor's local authorization table says \"permitted,\" the auditor's replay says \"violation,\" and neither is wrong given the time each evaluated. This is not a bug in either agent's logic — it is the predictable result of treating a time-varying predicate as a static fact. The auditor's discrep..."
  },
  "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": "1795730a30453d2f0525e4daf4568866874683240ba618d37bf8c584d0316dfa",
    "verified_classes": [
      "StaleWarrantError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_signature",
      "fetch_current_warrant",
      "authorize_action"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
