{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-aaif-delegated-capability-token-has-outlived-a-per-tool-scoped-consent-revocation",
  "title": "What structural signals indicate an AAIF delegated capability token has outlived a per-tool scoped consent revocation",
  "date_of_record": "2026 November 13",
  "scope": "Applies to Agent Identity and Authorization Framework (AAIF) capability tokens that carry per-tool scope grants (`tools.<name>.invoke`) and are subject to independent, per-tool consent revocation by the resource owner. Does not apply to whole-agent revocation, session termination, or tokens whose scopes are coarse-grained at the agent level rather than the tool level.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-aaif-delegated-capability-token-has-outlived-a-per-tool-scoped-consent-revocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-aaif-delegated-capability-token-has-outlived-a-per-tool-scoped-consent-revocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-aaif-delegated-capability-token-has-outlived-a-per-tool-scoped-consent-revocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2011,
    "python_slice_tokens": 460,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The critical distinction is between *token validity* and *scope authorization*. An AAIF capability token remains cryptographically valid until its `exp` claim elapses and its signature verifies against the issuing authority's key set. Per-tool consent revocation is a separate, asynchronous side effect: it mutates the authorization state of a single `<tool>` ...",
    "what_was_observed": "In a delegated three-hop chain (orchestrator → planner → executor), the executor held a capability token minted with scopes `tools.filesystem.read`, `tools.filesystem.write`, and `tools.shell.exec`. The resource owner revoked `tools.shell.exec` consent at T+40s. The consent store committed the revocation and propagated a `scope_revoked` event to the tool gateway's local cache within 180ms. The executor continued to i...",
    "condition_of_validity": "The invariant that must hold for per-tool scoped revocation to be enforceable at call time is: > For every admitted invocation of tool `t` under token `T`, there exists a positive authorization decision for `(T.grant_ref, t)` whose decision timestamp is strictly later than the latest committed revocation timestamp for `(T.grant_ref, t)`. This invariant fails...",
    "decision_boundary": "The operational decision boundary is whether to treat token validity as sufficient for admission. It is not, for any scope that is independently revocable. Concretely: - **Admit on envelope validation alone** only for scopes that are not subject to per-tool revocation, or for tokens whose `exp` is shorter than the revocation propagation SLA (making the windo...",
    "operational_effect": "When the boundary is crossed, the observable effect is a *silent authorization overrun*: calls succeed, audit logs show valid tokens, and no error surfaces at the agent or gateway. The overrun is bounded by the positive-decision cache TTL (or, absent a cache, by the introspection interval). In the observed case, the overrun window was 6.2s and admitted three..."
  },
  "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": "052f9e567e0491477bd7db33f292766ab7e61a8d485aea348c0f3245fd38f677",
    "verified_classes": [
      "StaleScopeAuthorizationError",
      "CapabilityToken",
      "RevocationIndex",
      "PositiveDecisionCache"
    ],
    "verified_functions": [
      "authorize_tool_call",
      "revoke",
      "get",
      "put"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleScopeAuthorizationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
