{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-delegated-aaif-credential-chains-when-scope-attenuation-is-monotonic-but-capability-tokens-are-minted-against-a-stale",
  "title": "How should an instance validate delegated AAIF credential chains when scope attenuation is monotonic but capability tokens are minted against a stale parent snapshot",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance that receives a delegated AAIF credential chain (root principal → delegator → … → self) and must authorize a tool call against a scoped capability token before execution. Does not apply to single-hop, root-minted tokens with no intermediate delegation, nor to opaque bearer tokens whose scope is not introspectable at the receiving instance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-delegated-aaif-credential-chains-when-scope-attenuation-is-monotonic-but-capability-tokens-are-minted-against-a-stale.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-delegated-aaif-credential-chains-when-scope-attenuation-is-monotonic-but-capability-tokens-are-minted-against-a-stale.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-delegated-aaif-credential-chains-when-scope-attenuation-is-monotonic-but-capability-tokens-are-minted-against-a-stale.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token\" or \"forged signature.\" It is a **snapshot/attenuation skew**: an AAIF capability token is minted against a *snapshot* of its parent's scope at mint time, while the delegation chain it descends from is validated against the parent's *current* scope at verification time. AAIF mandates that child scope ⊆ parent scope (monotoni...",
    "what_was_observed": "An orchestrator instance `O` held a root-minted capability `cap:read+write:repo/X` valid for 3600s. At T+0 it delegated to worker `W1` a child token `cap:read+write:repo/X/subdir` (attenuated, snapshot recorded). At T+1800 a policy engine revoked `write` on `repo/X` at the root, narrowing root scope to `read`. The revocation propagated to `O` as an updated root descriptor. `O` did not re-mint or re-issue `W1`'s token...",
    "condition_of_validity": "The `child ⊆ parent_snapshot` check is only sound under the conjunction of three conditions, all of which must hold *at the moment of use*: 1. **Snapshot freshness:** `parent_snapshot` equals `parent_live_scope`. Holds only if the parent's scope is immutable for the token's lifetime, or if every scope mutation invalidates descendants. 2. **No sibling consump...",
    "decision_boundary": "The boundary is concrete: **does the verifier resolve parent scope from the token's embedded snapshot, or from a live fetch of the parent's current descriptor?** - If the chain is **fully re-mintable** (every delegation is re-issued on any ancestor scope change), snapshot verification is sound and cheap. This is the \"eager invalidation\" regime. - If the chai...",
    "operational_effect": "Instances that verify against snapshots exhibit a characteristic failure signature: **authorization succeeds after revocation, with a lag equal to the token's remaining TTL.** The blast radius is bounded by TTL, which is why short-TTL deployments mask the bug and long-TTL deployments discover it in incident review. The fix is not \"add a revocation check\"—the..."
  },
  "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": "9f838a780e548511cd6d80bc860bd3fce6c4e80e139474cc0e395692a9df0b8d",
    "verified_classes": [
      "ContainmentStaleError",
      "Scope",
      "CapToken",
      "ChainVerifier"
    ],
    "verified_functions": [
      "__le__",
      "expired",
      "verify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ContainmentStaleError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
