{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-its-delegated-authority-when-an-aaif-attestation-chain-is-re-anchored-mid-handoff",
  "title": "Why does an instance lose its delegated authority when an AAIF attestation chain is re-anchored mid-handoff?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-hop agent handoffs where each hop presents an AAIF (Agent Attestation & Identity Framework) keypair attestation plus a delegated capability token whose `iss`/`sub`/`delegation_chain` references a specific attestation root. Does not apply to single-hop calls where the caller and the token issuer share a live attestation root, nor to purely symmetric shared-secret setups.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-delegated-authority-when-an-aaif-attestation-chain-is-re-anchored-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-delegated-authority-when-an-aaif-attestation-chain-is-re-anchored-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-delegated-authority-when-an-aaif-attestation-chain-is-re-anchored-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1956,
    "python_slice_tokens": 476,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *identity validity* and *authority continuity*. An attestation proves that a keypair is bound to an agent instance at a point in time. A delegated capability token proves that the holder was granted a right by a chain of issuers. These are two independent predicates, and the failure mode lives precisely in the gap: a token can r...",
    "what_was_observed": "A three-hop pipeline: planner agent `P` (root attestation `R0`, keypair `K_P`), executor `E` (keypair `K_E`), and auditor `A` (keypair `K_A`). `P` issues a delegated capability token `T` for `E`: At t=0 the platform rotates the attestation root for `P` from `R0` to `R1` because of a scheduled key-rotation window. `P`'s *new* attestation `att_P_under_R1` is published. `E` is still executing a long-running task and hol...",
    "condition_of_validity": "The invariant holds — i.e., delegated authority survives handoff — only when all of the following are true at consume time: - The token carries an explicit `anchor_id` (e.g., `R0`) and `anchor_valid_until` timestamp, distinct from the token's own `exp`. - The verifier's trust store retains retired anchors in a *quarantine* set keyed by `anchor_id`, with an e...",
    "decision_boundary": "The decision the verifier must make is not \"is this signature valid?\" but \"which anchor governs this token, and what is that anchor's current disposition?\" The boundary is: - If `anchor_id` is `active` and the chain resolves under it → accept. - If `anchor_id` is `grace(until)` and `now < until` and the token's `exp` is within the grace horizon → accept, but...",
    "operational_effect": "Concretely, on the observed pipeline: handoff latency spiked from ~40ms to the full retry budget (3 attempts × 2s backoff) on every rotation window, because `E` retried the handoff against the same stale-anchored token rather than re-minting. The retries were futile — the token could never verify against `R1` — and the agent's planner interpreted the repeate..."
  },
  "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": "2f5699edfe607cdc69e1a8cb55dbb45780b951e6035110bc7f1e653ad8b6cc53",
    "verified_classes": [
      "AnchorDisposition",
      "AnchorDiscontinuityError",
      "TrustStoreDesyncError",
      "Anchor",
      "DelegatedToken",
      "VerificationResult"
    ],
    "verified_functions": [
      "verify_delegation",
      "handoff",
      "_emit_audit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AnchorDiscontinuityError",
      "TrustStoreDesyncError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
