{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-capability-token-has-silently-outlived-its-consent-grant-in-aaif-per-tool-scoping",
  "title": "What structural signals indicate a delegated-capability token has silently outlived its consent grant in AAIF per-tool scoping",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF (Agent Identity and Authorization Framework) delegated-capability tokens where a parent agent mints per-tool scoped consent grants for child/sub-agents and tool invocations are authorized against the grant's scope set. Does not apply to monolithic bearer tokens without per-tool scope decomposition, nor to human-OAuth consent flows where the resource server re-validates consent on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-outlived-its-consent-grant-in-aaif-per-tool-scoping.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-outlived-its-consent-grant-in-aaif-per-tool-scoping.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-outlived-its-consent-grant-in-aaif-per-tool-scoping.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2458,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not token *expiry* and not token *revocation*. It is **scope-set staleness under delegation**: a delegated-capability token whose cryptographic envelope is valid, unexpired, and correctly signed, but whose embedded per-tool scope set no longer matches the consent the human principal actually granted at mint time — because the consent...",
    "what_was_observed": "A parent orchestrator agent mints a delegated token for a child agent to run a data-export pipeline. At mint time, the human principal's consent grant `g-4471` includes scopes `{fs.read, fs.write, http.post, shell.exec}` for tool family `pipeline-runner`. The token envelope embeds `scopes=[\"fs.read\",\"fs.write\",\"http.post\",\"shell.exec\"]`, a `grant_id: g-4471`, and `grant_version: 3`. Mid-pipeline, a consent-management...",
    "condition_of_validity": "The invariant that makes this a *boundary* failure rather than a bug is: **a delegated-capability token is a point-in-time snapshot of an authorization decision, but it is consumed as if it were a continuous assertion of that decision.** The token is valid iff, at consumption time, `token.scopes ⊆ grant(token.grant_id).current_scopes` AND `token.resource_bin...",
    "decision_boundary": "The decision boundary is: **does the authorization path treat the token as the source of truth for scope, or as a pointer to the source of truth?** - If token-as-source-of-truth: the system is exposed to scope-set staleness for the full token TTL after any grant mutation. The blast radius is every tool call in every live child token minted before the mutatio...",
    "operational_effect": "The observable effect is a **consent-revocation latency floor** equal to the token TTL, not the grant propagation SLO. Operators measuring \"time from consent revocation to enforcement\" against the grant store will see sub-second propagation and conclude the system is compliant; the actual enforcement lag is the token TTL because live tokens bypass the grant ..."
  },
  "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": "f26d11086c37b55a062434328d1f1f1378837a67390e0f518925aafe61849c69",
    "verified_classes": [
      "StaleConsentGrant",
      "ConsentGrant",
      "DelegatedToken",
      "GrantStore"
    ],
    "verified_functions": [
      "authorize_tool_call",
      "digest",
      "__init__",
      "put",
      "get"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleConsentGrant"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
