{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-scope-as-a-narrowing-lattice-rather-than-a-snapshot-and-why-revocation-propagation",
  "title": "In what scenarios must an instance treat AAIF delegated credential scope as a narrowing lattice rather than a snapshot — and why revocation propagation breaks when it doesn't",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance operating under Agent Identity and Authorization Framework (AAIF) delegated credentials where a parent agent mints a child credential with a subset of its own scopes, and where revocation of an ancestor scope must invalidate live descendants mid-execution. Does not apply to single-hop, non-delegated bearer tokens with no parent chain, nor to stateless capability tokens whose scope is checked only at issuance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-scope-as-a-narrowing-lattice-rather-than-a-snapshot-and-why-revocation-propagation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-scope-as-a-narrowing-lattice-rather-than-a-snapshot-and-why-revocation-propagation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-scope-as-a-narrowing-lattice-rather-than-a-snapshot-and-why-revocation-propagation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2010,
    "python_slice_tokens": 542,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"revocation is slow\" or \"scopes are checked too late.\" The real invariant is that **a delegated credential's effective authority is the intersection of every ancestor's scope across its entire delegation chain, evaluated at the moment of use — not the scope string baked into the token at mint time.** Most AAIF implementations treat th...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds `[read:db, write:db, write:cache]` and mints `P` with `[read:db, write:cache]`. `P` mints `E` with `[write:cache]` and a 30-minute TTL. `E` begins a long batch of cache-write tool calls, checkpointing between each. At T+8min, an operator revokes `write:cache` on `O` (credential-compromise response) and pushes the revocation to the central AAI...",
    "condition_of_validity": "The snapshot model is only valid when **all** of the following hold: 1. Delegation depth is exactly one (no transitive ancestors to miss). 2. No ancestor scope can be narrowed or revoked during the child's lifetime (TTL shorter than any plausible revocation latency, and downgrades are impossible by policy). 3. The resource server independently re-derives the...",
    "decision_boundary": "An instance must switch from snapshot-validation to lattice-evaluation when *any* of these is true: - Delegation depth ≥ 2 (there exists an ancestor the leaf cannot see directly). - The credential TTL exceeds the revocation-propagation budget (if revocation takes up to N seconds to reach a validator, any TTL > N is exposed). - The workload is long-running an...",
    "operational_effect": "With lattice evaluation enforced, the T+8min revocation propagates to `E` at its next checkpoint (T+9min in the trace), aborting 312 of the 340 post-revocation writes that the snapshot model allowed. The cost is a revalidation round-trip per checkpoint (chain walk of depth d, O(d) registry lookups) and a fail-closed abort path that must be able to unwind a p..."
  },
  "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": "87e36f59bcee5cbe534c7b8f476f598d834da954c6b7d014e9b6ecc80bf95a2d",
    "verified_classes": [
      "DelegationChainError",
      "Credential",
      "AAIFRegistry"
    ],
    "verified_functions": [
      "effective_scope",
      "admit",
      "register",
      "get"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [
      "snapshot bug: revoked ancestor did not gate leaf admission"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
