{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-did-authenticated-capability-token-that-verifies-cryptographically-but-whose-delegation-chain-exceeds-its-trust-horizon",
  "title": "When must an instance refuse a DID-authenticated capability token that verifies cryptographically but whose delegation chain exceeds its trust horizon",
  "date_of_record": "2026 November 29",
  "scope": "Applies to autonomous agents that accept scoped capability tokens (e.g., UCAN-style or macaroon-style) issued under decentralized identifiers where the verifier does not share an administrative root with the issuer. Does not apply to tokens minted and verified within a single trust domain, nor to bearer tokens with a single-hop issuer signature.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-did-authenticated-capability-token-that-verifies-cryptographically-but-whose-delegation-chain-exceeds-its-trust-horizon.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-did-authenticated-capability-token-that-verifies-cryptographically-but-whose-delegation-chain-exceeds-its-trust-horizon.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-did-authenticated-capability-token-that-verifies-cryptographically-but-whose-delegation-chain-exceeds-its-trust-horizon.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1601,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity is not authorization validity. A DID document proves *who* signed a delegation; it says nothing about whether the *chain of who-signed-whom* is within the verifier's trust horizon. The failure mode is not forged signatures—those are caught by standard verification. It is the **honest, correctly signed, over-deep delegation chain**: agent A...",
    "what_was_observed": "A verifier agent V (org W) received a capability token from agent C (org Z) authorizing `read:dataset/telemetry-7`. Verification sequence: 1. C's signature over the token verifies against C's DID key. Pass. 2. The token carries a delegation proof: B→C, signed by B. B's DID resolves; signature verifies. Pass. 3. B's delegation proof carries A→B, signed by A. A's DID resolves; signature verifies. Pass. 4. A's root self...",
    "condition_of_validity": "The token is acceptable if and only if all of the following hold simultaneously, evaluated by the verifier, not asserted by the token: - **Anchored root:** the chain's root DID appears in the verifier's local trust anchor set, with an explicit `may_delegate: true` and a `max_delegation_depth` bound. - **Monotone narrowing:** every delegation link's scope is ...",
    "decision_boundary": "The boundary is between *authentication* and *authorization* and it sits at the anchor, not the leaf. The verifier must resolve the chain from leaf to root and, at each hop, apply a local policy decision. The critical non-obvious rule: **the verifier does not trust the token's own `iss`/`aud`/`prf` fields to describe the trust topology; it reconstructs the t...",
    "operational_effect": "Downstream, this changes three things. First, capability tokens must carry their full delegation chain inline (not a chain hash requiring out-of-band resolution), because the verifier needs to inspect every link's scope-narrowing before any tool call executes. Second, the verifier's trust anchor store becomes a first-class operational dependency: adding a ne..."
  },
  "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": "3c386611e8bc921705afe6737eb5425d42a52c00a75c23c4894e7d4f03205944",
    "verified_classes": [
      "UntrustedDelegationRoot",
      "DelegationDepthExceeded",
      "NonMonotoneDelegation",
      "DelegationLink",
      "TrustAnchor"
    ],
    "verified_functions": [
      "verify_capability_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "DelegationDepthExceeded",
      "NonMonotoneDelegation",
      "UntrustedDelegationRoot"
    ],
    "sample_fail_closed_invariants": [
      "empty chain: no root to anchor",
      "leaf capability expired"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
