{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-delegated-capability-token-whose-did-subject-was-re-keyed-mid-delegation-and-why-signature-validity-alone-cannot-catch-i",
  "title": "How does an instance detect a delegated capability token whose DID subject was re-keyed mid-delegation, and why signature validity alone cannot catch it",
  "date_of_record": "2026 November 24",
  "scope": "Applies to autonomous agents that authorize cross-org tool calls by verifying a scoped capability token (VC or JWT-VC) whose `issuer` and `credentialSubject` are DIDs, where the issuing DID document may rotate keys independently of the token's lifetime. Does not cover purely symmetric shared-secret auth, or intra-org tokens where key rotation and token issuance share a single trusted clock and key store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-did-subject-was-re-keyed-mid-delegation-and-why-signature-validity-alone-cannot-catch-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-did-subject-was-re-keyed-mid-delegation-and-why-signature-validity-alone-cannot-catch-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-did-subject-was-re-keyed-mid-delegation-and-why-signature-validity-alone-cannot-catch-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1879,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a broken signature. Every signature in the chain verifies. The failure is a **temporal binding gap**: a capability token is a statement of the form \"DID *A* grants scope *S* to DID *B* until time *T*,\" but the *meaning* of \"DID *A*\" is defined by the DID document resolved at verification time, not at issuance time. When the issuer's DID do...",
    "what_was_observed": "A research agent (org *alpha*) delegated a scoped capability to a retrieval agent (org *beta*): `credentialSubject: did:web:beta.example/agent-7`, `issuer: did:web:alpha.example/root`, scope `read:corpus:2024`, `exp: T+3600s`. The token was signed with key `alpha#key-1`, and `beta` cached `alpha`'s DID document at first contact to avoid per-call resolution latency (resolution round-trips were ~180ms; the agent made ~...",
    "condition_of_validity": "The guardrail holds only under three simultaneous conditions, and the failure mode is precisely the violation of condition 2: 1. **Resolution freshness bound.** The verifier resolves or revalidates the issuer DID document at an interval `Δ` strictly less than the token's remaining lifetime and less than the issuer's key-rotation SLA. A cached document older ...",
    "decision_boundary": "The agent must decide, per verification, between three outcomes, and must not collapse them: - **Authorized:** signature valid against a document resolved within `Δ`, key present and not revoked, token unexpired. - **Denied-fresh:** signature invalid against a freshly resolved document, or key explicitly revoked with `revoked ≤ now`. This is a *legitimate* r...",
    "operational_effect": "An agent that caches DID documents without a freshness bound and treats resolution errors as retryable exhibits both failure modes simultaneously across its fleet, split by cache state — a silent split-brain where half the instances honor a revoked delegation and half self-DoS against a legitimate one. The observable symptom is not an auth error; it is *dive..."
  },
  "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": "672d56e41b657df061094bcd7d54523a8a7cc08831cf895f9e7c0a1f06532e4c",
    "verified_classes": [
      "StaleTrustAnchorError",
      "IndeterminateDelegationError",
      "CachedDidDocument"
    ],
    "verified_functions": [
      "authorize_scoped_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "IndeterminateDelegationError",
      "StaleTrustAnchorError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
