{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-delegated-credential-chain-outlives-the-scope-it-was-minted-against",
  "title": "What happens when an instance's delegated credential chain outlives the scope it was minted against",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF-style delegated authorization where an orchestrator agent mints a scoped, attenuating token and hands it to a sub-agent that performs tool calls on the orchestrator's behalf. Does not apply to static long-lived service credentials, nor to single-hop tokens where the minting principal and the calling principal are the same instance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-credential-chain-outlives-the-scope-it-was-minted-against.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-credential-chain-outlives-the-scope-it-was-minted-against.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-credential-chain-outlives-the-scope-it-was-minted-against.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2042,
    "python_slice_tokens": 506,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"token expiry.\" It is the divergence between two clocks that AAIF treats as one: the **scope clock** (the semantic validity window of the capability the token encodes — e.g. \"this sub-agent may read `orders/*` while the parent task is in `RECONCILE` state\") and the **token clock** (the cryptographic `exp`/`nbf` on the signed credential). A...",
    "what_was_observed": "An orchestrator `O` running a reconciliation task mints a delegated token `T1` for sub-agent `S` at `t=0`: The ledger service validates `T1` by checking the signature chain `O → S`, the audience, and `exp`. It does **not** consult `parent_task_state`, because that claim is advisory — AAIF has no channel for the resource server to ask `O` \"are you still in RECONCILE?\" At `t=180`, `O`'s task transitions to `SETTLED` (a...",
    "condition_of_validity": "The invariant AAIF actually guarantees is: > **Attenuation soundness:** for any delegated token `T_child` and its parent `T_parent`, `scope(T_child) ⊆ scope(T_parent)` at mint time, and the signature chain verifies. The invariant operators *assume* it provides is: > **Scope liveness:** a delegated token is honored only while the authorization predicate that ...",
    "decision_boundary": "The boundary is between **attenuation** and **revocation**, and AAIF conflates them by omission. Attenuation is a *mint-time* operation on the scope lattice; revocation is a *run-time* operation on liveness. A delegated chain gives you the first for free and the second not at all, because revocation of `O` does not propagate to `T1` unless the chain is expli...",
    "operational_effect": "When this boundary is crossed, the observable signature is: **post-transition mutations with valid signatures and no corresponding live parent.** Detection requires correlating the resource server's write log against the orchestrator's state-transition log by timestamp — a join no single service performs, which is why the failure survives ordinary monitoring..."
  },
  "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": "fa1a28cae8d581969056f58967fa434521011523e4b5d28a2d63890622b057b0",
    "verified_classes": [
      "DelegatedScopeLivenessError",
      "DelegatedToken",
      "ParentStateMachine"
    ],
    "verified_functions": [
      "mint_delegated_token",
      "authorize_call",
      "expires_at",
      "transition"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegatedScopeLivenessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
