{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-delegated-aaif-credential-as-dead-the-moment-its-parent-is-revoked-even-if-the-child-s-exp-is-still-in-the-future",
  "title": "When must an instance treat a delegated AAIF credential as dead the moment its parent is revoked, even if the child’s `exp` is still in the future?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent runtime that receives a delegated AAIF capability token (child credential) minted from a parent credential held by another instance, and that authorizes tool calls or peer handoffs against that child. Does not apply to root credentials anchored directly to the workload identity, nor to purely offline batch jobs that complete within a single lease window shorter than the revocation propagation interval.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-aaif-credential-as-dead-the-moment-its-parent-is-revoked-even-if-the-child-s-exp-is-still-in-the-future.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-aaif-credential-as-dead-the-moment-its-parent-is-revoked-even-if-the-child-s-exp-is-still-in-the-future.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-delegated-aaif-credential-as-dead-the-moment-its-parent-is-revoked-even-if-the-child-s-exp-is-still-in-the-future.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2219,
    "python_slice_tokens": 571,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"revocation is slow.\" The failure is that a child credential is a *derived authority claim*, and runtimes routinely conflate two different validity questions: 1. **Is this token structurally valid and unexpired?** (local, cheap, decidable from the token alone) 2. **Does the authority it delegates still exist upstream?** (non-local, require...",
    "what_was_observed": "A three-tier delegation was in play: - Instance `A` (orchestrator) holds root credential `R`, scope `{fs:read, fs:write, net:egress}`. - `A` delegates to `B` (worker) a child `C1 = delegate(R, scope={fs:read, fs:write}, ttl=1h)`. - `B` delegates to `C` (sub-worker) a grandchild `C2 = delegate(C1, scope={fs:read}, ttl=30m)`. At `T`, an operator revokes `C1` — because `B` was found to be over-broad in what it handed ou...",
    "condition_of_validity": "The \"check `exp` and signature\" path is sound only under a condition that is almost never stated: > A delegated credential may be validated locally, without an ancestry check, **iff** the runtime can prove that no ancestor in its chain was revoked at any point in `[credential.nbf, now]`, **or** that the credential's remaining lifetime is strictly less than t...",
    "decision_boundary": "The runtime must draw a hard line at **re-delegation**, not at use: - **At use of a leaf credential:** local validation is permitted *only if* the credential is marked `non_delegable` and its TTL ≤ `δ`. Otherwise, resolve ancestry and confirm no ancestor is revoked. - **At re-delegation (minting a child from a child):** ancestry resolution is **mandatory and...",
    "operational_effect": "Concretely, the guardrail is a validator that refuses to authorize a delegated credential unless it can walk the chain to a live root, and a minter that refuses to delegate from any credential whose ancestry is not currently live. The cost is one ancestry resolution per use (cacheable for `min(δ, remaining_ttl)` with a hard invalidation on any observed revok..."
  },
  "matched_failure_symptoms": [
    "SUBPROCESS_PIPE_HANG_OR_FD_LEAK"
  ],
  "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": "36f90d19ebb36b84fa9c82f87f3147600c8ab62c83f16af62f6296c1d5b5f153",
    "verified_classes": [
      "DeadAncestryError",
      "Credential",
      "RevocationLog"
    ],
    "verified_functions": [
      "resolve_ancestry",
      "authorize_use",
      "mint_child",
      "is_revoked_at"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DeadAncestryError"
    ],
    "sample_fail_closed_invariants": [
      "child scope exceeds parent scope"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
