{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-fail-delegated-credential-verification-after-a-scope-narrowing-hop-when-the-parent-token-expires-mid-chain",
  "title": "Why does an instance fail delegated-credential verification after a scope-narrowing hop when the parent token expires mid-chain?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF-style delegated credential chains where a root principal issues short-lived, scope-narrowed tokens to sub-agents (A→B→C→…), and each hop must present both its own token and the verifiable parent chain at the point of use. Does not apply to single-hop bearer tokens, long-lived service accounts, or chains where the root re-signs a fresh envelope per hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-delegated-credential-verification-after-a-scope-narrowing-hop-when-the-parent-token-expires-mid-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-delegated-credential-verification-after-a-scope-narrowing-hop-when-the-parent-token-expires-mid-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-delegated-credential-verification-after-a-scope-narrowing-hop-when-the-parent-token-expires-mid-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2003,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"the token expired.\" It is the distinction between *token validity at issuance* and *chain validity at presentation*. A delegated credential is a conjunction: `valid(C) = sig_ok(C) ∧ scope(C) ⊆ scope(B) ∧ not_before ≤ now ≤ not_after(C) ∧ valid_parent(B)`. Most AAIF verifiers evaluate the leaf's `not_after` and its signat...",
    "what_was_observed": "Trace from a three-hop swarm task (planner → retriever → summarizer), all tokens scoped to `read:corpus` and `write:summary`, root TTL 300s, hop TTLs 120s each, no re-issuance on hop. The interesting observation is the *asymmetry of the two rejections*. The first rejection at t=121 is correct but uninformative — it says the leaf died, not that the chain was already dead at t=118. The second rejection reveals the real...",
    "condition_of_validity": "The invariant that must hold for a delegated chain to be sound is *temporal and scope containment at presentation time*, not at issuance time: The condition under which this is *violated* is precisely: a hop whose `not_after` is bounded by the parent's `not_after` (the normal narrowing case), combined with a verifier that checks only the leaf's clock and the...",
    "decision_boundary": "The decision boundary is the moment a verifier chooses between two implementations: - **Shallow check (fails):** verify leaf signature, leaf clock, leaf scope vs. `parent_scope_snapshot`. O(1), no parent traversal. - **Deep check (correct):** verify leaf signature, leaf clock, then *recurse* to parent, re-evaluating the parent's clock and scope at the curren...",
    "operational_effect": "The operational effect is a *correlated expiry cliff*: all descendants of a given parent fail within the same narrow window, and the failure is misattributed to the leaf that happens to be executing. Retry logic at the leaf sees \"token expired,\" attempts re-delegation, hits \"parent expired,\" and either (a) escalates to the root for a fresh chain — correct bu..."
  },
  "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": "b96ce7994cab54e2aa387b23a8f55192aac27ccfff28dd2332185de44918d8d5",
    "verified_classes": [
      "ChainTemporalContainmentError",
      "DelegatedToken"
    ],
    "verified_functions": [
      "mint_child",
      "verify_at",
      "__post_init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ChainTemporalContainmentError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
