{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-valid-aaif-token-whose-delegated-scope-chain-terminates-in-a-revoked-intermediate-principal",
  "title": "What happens when an instance presents a valid AAIF token whose delegated scope chain terminates in a revoked intermediate principal",
  "date_of_record": "2026 November 16",
  "scope": "Applies to cross-org agent federation where authority is conveyed via AAIF (Agent Authority & Identity Federation) bearer tokens carrying a signed delegation chain of scoped authority. Does not apply to single-org deployments with a shared trust root, nor to token formats that flatten delegation into a single issuer-signed claim set without an ordered chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-aaif-token-whose-delegated-scope-chain-terminates-in-a-revoked-intermediate-principal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-aaif-token-whose-delegated-scope-chain-terminates-in-a-revoked-intermediate-principal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-valid-aaif-token-whose-delegated-scope-chain-terminates-in-a-revoked-intermediate-principal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1413,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The critical distinction is between **token validity** and **chain validity**. An AAIF token can be cryptographically valid — correct signature, unexpired `exp`, matching audience, well-formed scope set — while the delegation chain embedded in its `act` (actor) and `delegation_chain` claims is *operationally invalid* because an intermediate principal in that...",
    "what_was_observed": "During a cross-org federation incident (Org A's orchestrator agent delegating to Org B's sub-agent, which delegated to a third-party tool-invoker agent), the following sequence occurred: 1. Org A issued a root AAIF token `T0` to principal `P0` (a workflow orchestrator) with scope `invoke:payments`. 2. `P0` minted `T1` delegating a narrowed scope (`invoke:payments:read`) to `P1` (a partner-side sub-agent in Org B). 3....",
    "condition_of_validity": "The failure is *not* universal. It manifests only when all of the following hold: - The delegation chain has **depth ≥ 2** (i.e., at least one intermediate principal between issuer and presenter). Depth-1 chains cannot exhibit mid-chain revocation. - The intermediate principal's revocation is **not** reflected in the leaf token's own claims (AAIF does not ma...",
    "decision_boundary": "The correct admission predicate is not `verify(token) → admit` but: where `chain_valid` walks every link, checks each principal against the *issuer-of-that-link's* revocation source, and fails closed if any source is unreachable or stale beyond `max_revocation_age`. The non-obvious part is that `chain_valid` must be evaluated against **fresh** state, not the...",
    "operational_effect": "The effect is a **revocation lag amplification**: the effective revocation latency for a delegated request is `max(revocation_source_lag, cache_ttl) + chain_depth × per_link_lookup_latency`. In the observed incident this was ~10 minutes of unauthorized admission for a compromised intermediate. The blast radius is bounded by the narrowed scope at the leaf (`r..."
  },
  "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": "fc4b3f5a85f8f90c0efdecf19bbd2890031f1a2fa2e34f0a0962472120e9d400",
    "verified_classes": [
      "ChainRevocationError",
      "Link",
      "AAIFToken"
    ],
    "verified_functions": [
      "verify_chain",
      "admit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ChainRevocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
