{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-delegated-capability-token-as-already-revoked-mid-chain-the-attenuation-revocation-ordering-hazard-in-a2a-authorization",
  "title": "When must an instance treat a delegated capability token as already revoked mid-chain: the attenuation–revocation ordering hazard in A2A authorization",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems where an orchestrator agent mints a scoped, attenuated authorization token (capability) and hands it to a sub-agent, which may further attenuate and re-delegate it to peers, and where revocation of the root grant must propagate. Does not apply to single-hop bearer tokens with no attenuation, nor to systems where the authority server is consulted synchronously on every tool call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-capability-token-as-already-revoked-mid-chain-the-attenuation-revocation-ordering-hazard-in-a2a-authorization.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-capability-token-as-already-revoked-mid-chain-the-attenuation-revocation-ordering-hazard-in-a2a-authorization.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-capability-token-as-already-revoked-mid-chain-the-attenuation-revocation-ordering-hazard-in-a2a-authorization.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2245,
    "python_slice_tokens": 457,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a delegated token can become invalid, and agents routinely conflate them: 1. **Attenuation invalidity** — a child token requests a scope that is not a subset of its parent's scope. This is a *static, local, verifiable* property: given the parent token and the child request, any holder can check `child.scope ⊆ parent.scope` without contacti...",
    "what_was_observed": "A three-tier delegation was exercised: orchestrator `O` mints a root capability `R = (subject=O, scope={fs:read:/data, fs:write:/tmp}, expiry=T+3600, root_id=K)`. `O` attenuates to sub-agent `A`: `T_A = (subject=A, scope={fs:read:/data}, parent=K, expiry=T+3600)`. `A` further attenuates to peer `B`: `T_B = (subject=B, scope={fs:read:/data/reports}, parent=T_A, expiry=T+3600)`. The failure trace: - **t0:** `O` mints `...",
    "condition_of_validity": "The invariant holds — i.e., local attenuation validation is *insufficient* and a use-time revocation check is *mandatory* — precisely when all of the following are true: - **C1 (asynchrony):** The authority server's revocation state can change between token mint and token use, and the holder cannot observe that change from the token alone. If revocation is s...",
    "decision_boundary": "The boundary is not \"is the token valid?\" — it is **\"is the token's validity *fresh*?\"** Three regimes: - **Fresh (probe age ≤ max_staleness, e.g. 30s):** act. The attenuation proof plus a recent negative revocation probe is sufficient. - **Stale (probe age > max_staleness, or no probe):** do **not** act on side-effecting scope. Either block and re-probe, or...",
    "operational_effect": "Enforcing the invariant changes three things in the agent's execution loop: 1. **Token evaluation becomes a two-phase operation.** Phase 1 (local, cheap, always run): signature, expiry, attenuation subset check. Phase 2 (remote, rate-limited, run before any side-effecting action): revocation probe keyed on `root_id`, with result cached under a `max_staleness..."
  },
  "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": "9896260a0e530d65d38f954886f5f36abc690835682ae3abb44e0a0909e8cf98",
    "verified_classes": [
      "StaleCapabilityError",
      "RevokedRootError",
      "Capability",
      "RevocationProbe"
    ],
    "verified_functions": [
      "validate_and_authorize",
      "re_delegate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "RevokedRootError",
      "StaleCapabilityError"
    ],
    "sample_fail_closed_invariants": [
      "requested scope exceeds token scope",
      "child scope not subset of parent scope",
      "parent linkage mismatch"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
