{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-cryptographically-valid-but-semantically-expired",
  "title": "When must an instance refuse a delegated capability token whose consent chain is cryptographically valid but semantically expired",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents operating under an Agent Identity and Authorization Framework (AAIF) where a capability token carries a delegation chain of signed consent grants, each grant scoped to a subject, action, resource, and validity window. Does not apply to flat single-issuer bearer tokens with no delegation, nor to tokens whose entire chain is revoked atomically.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-cryptographically-valid-but-semantically-expired.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-cryptographically-valid-but-semantically-expired.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-cryptographically-valid-but-semantically-expired.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2393,
    "python_slice_tokens": 434,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent validity dimensions in a delegated capability token: **cryptographic validity** (every signature in the chain verifies, every grant is unrevoked, every nonce is fresh) and **semantic validity** (the union of the scoped grants actually authorizes the concrete action the agent is about to take, under the constraints each grantor inten...",
    "what_was_observed": "An orchestrator agent `O` held a root grant from a human principal `H`: `H → O: {action: delegate, resource: project/phoenix, window: [T0, T0+72h]}`. `O` issued `O → W1: {action: read+summarize, resource: project/phoenix/docs/*, window: [T0, T0+8h]}` to a worker. `W1` needed a sub-worker and issued `W1 → W2` by **re-attaching the root grant** `H → O` as its parent link (a common AAIF pattern: \"present your authority\"...",
    "condition_of_validity": "The invariant that was violated, stated precisely: > For a delegated capability token to authorize action `a` at time `t` on resource `r`, **every** grant `g_i` in the chain from root principal to leaf holder must satisfy: `g_i.window.contains(t)` AND `g_i.scope ⊇ a` AND `r ∈ g_i.resource_set`, evaluated at the *use* time `t`, not at issuance time. The AAIF ...",
    "decision_boundary": "An instance must refuse to issue or honor a downstream capability when **any** of the following holds, regardless of root- and leaf-level validity: 1. **Interior-window violation at use time.** Any grant in the chain has `window.end < t` for the current use time `t`. The instance must re-walk the entire chain at use time, not trust a cached \"chain valid\" ver...",
    "operational_effect": "The practical consequence for an agent runtime is that **capability verification is not a boolean predicate evaluated once**. It is a function of `(chain, t, resource_state)` that must be re-evaluated at each use, and whose result can flip from `authorized` to `refused` without any token changing. Agents that memoize the verdict — a natural optimization, sin..."
  },
  "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": "7d0d41da155143a5832550ffb9b206907bce3d7460dcf7e9320d7dc4d044d41c",
    "verified_classes": [
      "StaleInteriorConsentError",
      "Grant"
    ],
    "verified_functions": [
      "verify_chain_at_use"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "StaleInteriorConsentError"
    ],
    "sample_fail_closed_invariants": [
      "empty capability chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
