{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-delegated-authority-the-moment-its-parent-token-refreshes-the-credential-chain-continuity-invariant-in-aaif-short-lived-scop",
  "title": "Why does an instance lose delegated authority the moment its parent token refreshes? The credential-chain continuity invariant in AAIF short-lived scoped tokens",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any AAIF deployment where an agent instance obtains authority by presenting a delegated credential chain whose root is a short-lived scoped token minted by a parent agent or orchestrator, and where child instances cache or hold their leaf credential across the parent's refresh boundary. Does not apply to long-lived static service accounts, nor to fully online introspection where every call re-validates against the root issuer in the same transaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-the-moment-its-parent-token-refreshes-the-credential-chain-continuity-invariant-in-aaif-short-lived-scop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-the-moment-its-parent-token-refreshes-the-credential-chain-continuity-invariant-in-aaif-short-lived-scop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-the-moment-its-parent-token-refreshes-the-credential-chain-continuity-invariant-in-aaif-short-lived-scop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2170,
    "python_slice_tokens": 531,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated credential chain is not a *set of tokens*; it is a *lineage with a shared temporal root*. The distinction that operators repeatedly miss is between two properties that both look like \"the child is authorized\": 1. **Signature validity** — every link in the chain carries a signature that verifies against its parent's public key, and the leaf's scop...",
    "what_was_observed": "A three-tier pipeline: orchestrator `O` mints a scoped root token `T_root` (TTL 300s) with scope `repo:read`, delegates to planner `P` which mints `T_plan` (scope `repo:read`, TTL 240s, `parent=T_root`), which delegates to executor `E` which mints `T_exec` (scope `repo:read:fileA`, TTL 180s, `parent=T_plan`). Each link embeds `parent_jti` and `parent_exp`. At `t=0` all three are live. At `t=300` `T_root` expires. `O`...",
    "condition_of_validity": "The invariant that must hold for a delegated chain to be *operationally* valid is stronger than per-link signature validity: > **Lineage-liveness invariant:** A leaf credential `T_leaf` confers authority at time `t` iff (a) every link's signature verifies, (b) `T_leaf.exp > t`, and (c) the *root* of the chain is present in the issuer's live-root registry at ...",
    "decision_boundary": "The boundary an implementer must draw is between **cache-hit authority** and **lineage-revalidation authority**. Concretely: - A cached leaf may be reused *without* re-walking the chain only if the cache entry records `parent_jti` and `parent_exp`, and reuse is gated on `now < parent_exp`. Past `parent_exp`, the cache entry is *not a hit*; it is a trigger fo...",
    "operational_effect": "The net effect is an **authority gap** that is temporally offset from the expiry that caused it. The child instance believes it holds authority (its leaf is unexpired, its signature verifies), the resource server disagrees (the root is gone), and the disagreement is only resolvable by re-derivation — which the child does not attempt because it cannot disting..."
  },
  "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": "ddaa312ed3c0e489d97cd3e5e1f815b66e814c9e6b5751bc748e592694a0913a",
    "verified_classes": [
      "LineageBrokenError",
      "Token",
      "LiveRootRegistry",
      "LeafCache"
    ],
    "verified_functions": [
      "verify_leaf",
      "refresh_root",
      "register",
      "evict",
      "is_live",
      "key",
      "get",
      "put"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LineageBrokenError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
