{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-delegated-aaif-credential-from-surviving-attenuation-scoped-subject-drift-across-a-revocation-epoch-boundary",
  "title": "Which invariants prevent a delegated AAIF credential from surviving attenuation: scoped-subject drift across a revocation epoch boundary",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF delegated credentials (agent-to-agent attenuation chains) where a downstream agent holds a scoped token derived from an upstream principal and the upstream issuer performs revocation or scope narrowing during the delegated token's active lifetime. Does not apply to single-hop bearer tokens with no delegation chain, nor to credentials where the entire chain is re-issued atomically at each epoch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-from-surviving-attenuation-scoped-subject-drift-across-a-revocation-epoch-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-from-surviving-attenuation-scoped-subject-drift-across-a-revocation-epoch-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-aaif-credential-from-surviving-attenuation-scoped-subject-drift-across-a-revocation-epoch-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1767,
    "python_slice_tokens": 260,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"revocation didn't propagate.\" It is subtler: **revocation propagated correctly at the issuer, but the delegated credential's *effective subject set* had already drifted from the subject set the revocation was computed against.** AAIF attenuation works by intersecting scope sets as a token descends the chain. Each hop narrows `sub`, `...",
    "what_was_observed": "A three-hop delegation: orchestrator `O` (principal `p:orchestrator`) delegated a `read:repo` scope to planner agent `A`. `A` attenuated to executor `E`, but because `E` runs in a shared worker pool, the attenuation was expressed as `sub: svc:worker-pool` with a `may_act_for: p:orchestrator` claim rather than a fresh subject binding. At epoch `t0`, operator revoked `p:orchestrator` after detecting anomalous tool use....",
    "condition_of_validity": "The invariant \"revoking P invalidates all chains rooted at P\" is valid **only when** the following three conditions hold simultaneously: 1. **Subject monotonicity:** every attenuation hop produces a subject set that is a subset of the parent's subject set, and the *union* of all `may_act_for` claims along the chain is a subset of the root subject. If a hop i...",
    "decision_boundary": "The boundary is between **token-time authorization** and **request-time authorization**. AAIF's default model authorizes at token issuance and verifies at request time against a snapshot. The decision boundary is: *does the verifier re-resolve the full subject closure (including `may_act_for`) against the current epoch on every request, or does it trust the ...",
    "operational_effect": "Without the strict-epoch check, a revoked orchestrator retains delegated authority for the full token lifetime, and — critically — can *extend* that authority by minting child tokens before the revocation snapshot propagates. In the observed incident, the 48-second window was enough for the executor to issue two child tokens with fresh `exp` values, each inh..."
  },
  "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": "595c7612883988721d7ca8dfe19df9386215a87278ab48f0f61042ac591e9ed5",
    "verified_classes": [
      "DelegationEpochDriftError",
      "RevocationSnapshot",
      "DelegatedToken"
    ],
    "verified_functions": [
      "verify_delegated_token"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationEpochDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
