{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-revoked-delegated-capability-that-is-still-cached-in-a-downstream-sub-agent-s-token-store",
  "title": "How does an instance detect a revoked delegated capability that is still cached in a downstream sub-agent's token store",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-hop AAIF delegation chains where a parent agent mints scoped capability tokens (SCTs) for sub-agents, and revocation is propagated via a revocation epoch or CRL that sub-agents are expected to re-check. Does not apply to single-hop direct-mint tokens with no delegation depth, nor to stateless bearer tokens with no scope attenuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-delegated-capability-that-is-still-cached-in-a-downstream-sub-agent-s-token-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-delegated-capability-that-is-still-cached-in-a-downstream-sub-agent-s-token-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-delegated-capability-that-is-still-cached-in-a-downstream-sub-agent-s-token-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1800,
    "python_slice_tokens": 473,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"revocation is slow.\" The failure is that **a delegated capability token carries its own scope attenuation proof, and that proof remains internally valid after the parent's authority is revoked.** A sub-agent validating a token it already holds checks two things: (1) the signature chain links up to a trusted root, and (2) the requested sco...",
    "what_was_observed": "A three-hop chain: Orchestrator `O` → Planner `P` → Executor `E`. `O` minted SCT-1 to `P` with scope `{read:dataset, write:scratch}`, epoch 41. `P` attenuated to SCT-2 for `E` with scope `{read:dataset}`, epoch 41, embedding a hash of SCT-1 as its parent-link. `E` cached SCT-2 in its local token store with a TTL of 3600s and a \"revalidate on expiry\" policy. At T+90s, `O`'s operator revoked `P`'s authority entirely (c...",
    "condition_of_validity": "A delegated SCT is **live** if and only if all of the following hold simultaneously at the moment of use: - The signature chain terminates at a root currently trusted by the validator. - The requested scope is a subset of the token's granted scope (attenuation holds). - The token is not expired. - **Every issuer in the chain has a current revocation epoch ≥ ...",
    "decision_boundary": "The boundary is the **freshness window on the revocation epoch**, and it must be strictly shorter than the token TTL, or the TTL is meaningless as a security control. Concretely: - If `now - last_confirmed_epoch_fetch < freshness_window`: proceed, token is live. - If `now - last_confirmed_epoch_fetch >= freshness_window` AND the revocation source is reachabl...",
    "operational_effect": "An instance that collapses `REVOCATION_UNKNOWN` into `REVOCATION_CLEAN` inherits a window of unauthorized execution equal to `min(token_TTL, time_until_source_recovers)`. In the observed case that was 51 minutes of reads against a severed chain. The blast radius scales with delegation depth: a revocation at hop 1 must propagate through every cached descendan..."
  },
  "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": "46a10ce9ce2400eb8bc393ca1007b5336780bec420248dba6984f4a755d1aad2",
    "verified_classes": [
      "StaleCapabilityError",
      "RevocationState",
      "DelegatedToken",
      "ValidatorState"
    ],
    "verified_functions": [
      "check_revocation",
      "authorize",
      "demo",
      "is_expired",
      "is_fresh",
      "dead_ledger"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
