{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-delegated-capability-token-whose-aud-matches-but-whose-delegation-chain-has-an-expired-intermediate-warrant",
  "title": "How should an instance treat a delegated capability token whose `aud` matches but whose delegation chain has an expired intermediate warrant",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent instance validating a delegated capability token (AAIF-style verifiable credential with a delegation chain of intermediate warrants) at the moment it is about to invoke a downstream tool or hand off to a peer. Does not apply to root-issuer-to-subject direct credentials (single-hop), nor to purely symmetric bearer tokens with no chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-aud-matches-but-whose-delegation-chain-has-an-expired-intermediate-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-aud-matches-but-whose-delegation-chain-has-an-expired-intermediate-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-aud-matches-but-whose-delegation-chain-has-an-expired-intermediate-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2218,
    "python_slice_tokens": 550,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode that matters here is not \"expired credential rejected.\" It is the subtler case where the **leaf token is valid, unexpired, correctly audience-bound (`aud` = this instance's DID), scope-covers the requested action, and signature-verifies cleanly against the leaf issuer** — yet the *delegation chain that authorizes the leaf issuer to have issu...",
    "what_was_observed": "A three-hop delegation chain was exercised against a tool-invocation gateway: - **Root warrant W0**: issuer `did:aaif:org:acme`, subject `did:aaif:agent:orchestrator`, scope `{tool:search, tool:fetch}`, `exp = T+3600s`. - **Intermediate warrant W1**: issued by `orchestrator`, subject `did:aaif:agent:planner`, scope `{tool:search}` (narrowed), `exp = T+600s`, `nbf = T+0`. - **Leaf capability L**: issued by `planner`, ...",
    "condition_of_validity": "The invariant that must hold for a delegated capability to confer authority: > A leaf capability L issued by subject S is *authoritative for audience A at time t* **iff** there exists a chain `W0 → W1 → … → Wn = L` such that, for every warrant `Wi` with `i < n`: `Wi.subject == W(i+1).issuer`, `Wi.scope ⊇ W(i+1).scope`, `Wi.nbf ≤ t < Wi.exp`, `Wi` is not revo...",
    "decision_boundary": "The instance must decide, at verification time, between three outcomes — and the boundary between them is where most implementations collapse two into one: The non-obvious boundary: **the skew tolerance must be applied to the intermediate's expiry, not the leaf's.** Clock skew between the leaf issuer and the verifier is irrelevant if the leaf is comfortably ...",
    "operational_effect": "The immediate effect of getting this wrong is **silent over-authorization with a clean audit trail that lies**. Because the leaf is valid and the action succeeds, no error is logged; the only artifact is a `chain_depth=3` field in the success log, which reads as \"chain verified\" to anyone who does not know the verifier skipped intermediates. Post-incident re..."
  },
  "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": "97b99280b7d7feeceae93195b7ef44ac513300a7c824ff9a787044034b73f987",
    "verified_classes": [
      "DelegationChainError",
      "Warrant",
      "ChainVerdict"
    ],
    "verified_functions": [
      "verify_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
