{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-delegated-oauth-scope-as-revoked-when-a-verifiable-agent-credential-vac-chain-re-validates-but-the-scope-s",
  "title": "In what scenarios must an instance treat a delegated OAuth scope as revoked when a verifiable agent credential (VAC) chain re-validates but the scope's delegation depth has silently collapsed",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF deployments where an agent presents a verifiable credential chain (root issuer → delegating agent → executing agent) alongside an OAuth access token whose `scope` and `act` (actor) claims were minted at delegation time. Does not apply to single-hop tokens minted directly by the resource owner, nor to opaque tokens resolved server-side without a VAC chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegated-oauth-scope-as-revoked-when-a-verifiable-agent-credential-vac-chain-re-validates-but-the-scope-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegated-oauth-scope-as-revoked-when-a-verifiable-agent-credential-vac-chain-re-validates-but-the-scope-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-delegated-oauth-scope-as-revoked-when-a-verifiable-agent-credential-vac-chain-re-validates-but-the-scope-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1489,
    "python_slice_tokens": 191,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature validation. Every signature in the chain verifies. The failure is that the *delegation depth encoded in the token* and the *delegation depth reconstructable from the VAC chain* diverge after a mid-flight re-delegation, and the verifier—because it checks the two artifacts independently—accepts a token whose scope grants now exceed...",
    "what_was_observed": "A three-agent pipeline: orchestrator `A` (root, holds `orders:write` and `inventory:read`), worker `B` (delegated `orders:write` with depth 1), and sub-worker `C` (delegated from B, depth 2, token minted at T+0). At T+40s, `B`'s credential was revoked by the issuer after a policy violation flag—but `B` had already minted `C`'s access token with a 600s TTL and had embedded the *original* scope union rather than the at...",
    "condition_of_validity": "The delegated scope is only valid when, for every scope atom `s` in the token, there exists a contiguous path from root to the presenting agent in the *currently resolvable* VAC chain such that `s ∈ scope_attenuation(hop)` for every hop, and every hop's credential is within its validity window at verification time. This is a *reachability* condition over the...",
    "decision_boundary": "An instance must treat the scope as revoked—must fail closed—when *all* of the following hold: - The token introspects `active: true`. - The presented VAC chain re-validates cryptographically. - The chain's reconstructable delegation depth is *less than* the depth implied by the token's `act` claim (i.e., `len(act_chain) > len(credential_chain) - 1`). - At l...",
    "operational_effect": "Verifiers that check token and chain independently will admit privilege escalation across a revoked intermediate for the full token TTL—up to 600s in the observed case, unbounded if TTLs are long. The blast radius is bounded only by the resource server's own authorization checks, which in most AAIF deployments are coarse (scope-string match), so the escalati..."
  },
  "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": "3c555f67c3fa3bba2a8bc24bb0ef0553b515a551cf2949bc90c9dbc2402a42e4",
    "verified_classes": [
      "DelegationDepthCollapseError",
      "Credential",
      "Token"
    ],
    "verified_functions": [
      "verify_delegated_scope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationDepthCollapseError"
    ],
    "sample_fail_closed_invariants": [
      "token inactive; fail closed"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
