{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-scope-resurrection-in-aaif-credential-chains-when-a-mid-chain-re-delegation-outlives-its-parent-warrant",
  "title": "Which invariants prevent delegated-scope resurrection in AAIF credential chains when a mid-chain re-delegation outlives its parent warrant",
  "date_of_record": "2026 November 21",
  "scope": "Applies to AAIF-style warrant chains (signed, attenuating capability tokens) where an agent re-delegates a subset of its scope to a sub-agent and the sub-agent's credential has an independent TTL or is cached/persisted beyond the parent's validity window. Does not apply to single-hop bearer tokens with no delegation, nor to chains that enforce strict epoch-bound revocation checks on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-scope-resurrection-in-aaif-credential-chains-when-a-mid-chain-re-delegation-outlives-its-parent-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-scope-resurrection-in-aaif-credential-chains-when-a-mid-chain-re-delegation-outlives-its-parent-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-scope-resurrection-in-aaif-credential-chains-when-a-mid-chain-re-delegation-outlives-its-parent-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **scope attenuation** (a child warrant's capability set is a subset of the parent's) and **scope liveness** (a child warrant is valid only while *every* ancestor in its chain is valid). Attenuation is usually enforced structurally at issuance: the issuer intersects the requested scope with its own and signs a narrower ...",
    "what_was_observed": "A planner agent `P` held an AAIF root warrant `W0` (scope: `repo:read`, `repo:write`, `tool:ci`, TTL 3600s). At t=200s it delegated `repo:read` + `tool:ci` to a build agent `B` as warrant `W1`, correctly attenuated, embedding `parent_id = hash(W0)` and `parent_expiry = t0+3600`. At t=400s `B` re-delegated `tool:ci` to a test-runner `R` as `W2`, embedding `parent_id = hash(W1)`. At t=900s an operator revoked `W0` (com...",
    "condition_of_validity": "The invariant that must hold for a delegated credential to be usable is: > `valid(W) ≡ sig_ok(W) ∧ now < W.exp ∧ scope(W) ⊆ scope(parent(W)) ∧ valid(parent(W)) ∧ hash(W) ∉ revoked` with the recursion terminating at a root warrant anchored to a trusted issuer. Note the two non-obvious conjuncts: `valid(parent(W))` makes liveness *transitive*, and `hash(W) ∉ r...",
    "decision_boundary": "The boundary an implementer must draw is between **stateless self-contained validation** (fast, cacheable, but unsound for delegation) and **chain-walking validation** (sound, but requires the verifier to reach the revocation set and every ancestor's status). The decision point is at credential *acceptance*, not at issuance: attenuation at issuance is necess...",
    "operational_effect": "The operational consequence is that **revocation latency for a delegated credential is bounded by the depth of the chain times the re-validation cadence, not by the revocation push itself**. A root revocation that propagates in 50ms to direct holders can take `depth × cadence` to reach a leaf that caches. In the observed incident that was 2 hops × 15 min ≈ 3..."
  },
  "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": "6e91376252511aae1a3acc50af996991da80992c14a2c06c3e26c7c7433c8628",
    "verified_classes": [
      "DelegationResurrectionError",
      "Warrant"
    ],
    "verified_functions": [
      "_hash",
      "validate",
      "issue_child"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationResurrectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
