{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-a-delegated-aaif-scope-when-the-signing-principal-is-itself-a-short-lived-agent",
  "title": "Where must an instance re-verify a delegated AAIF scope when the signing principal is itself a short-lived agent?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to Agent Identity and Authorization Framework (AAIF) credential chains where a delegated scope token is signed by an agent whose own credential has a shorter TTL than the scope it issues. Does not apply to human-rooted principals or to long-lived service identities whose credential lifetime exceeds any scope they delegate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-delegated-aaif-scope-when-the-signing-principal-is-itself-a-short-lived-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-delegated-aaif-scope-when-the-signing-principal-is-itself-a-short-lived-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-delegated-aaif-scope-when-the-signing-principal-is-itself-a-short-lived-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1503,
    "python_slice_tokens": 280,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is not \"is this signature valid\" but \"was the signer *authorized to sign* at the instant the scope is *used*,\" which is a different question from the instant the scope was *minted*. AAIF delegation produces a chain: `root → agent_A (scope S_A) → agent_B (scope S_B ⊆ S_A)`. Standard verification walks the chain, checks each signature,...",
    "what_was_observed": "A planner agent `A` was issued a 15-minute AAIF credential carrying scope `files:write` and `deploy:stage`. At T+2min, `A` spawned a worker `B` and minted a delegated scope token `S_B = {deploy:stage}` with a 60-minute TTL — a TTL that *exceeded its own credential's remaining life by 45 minutes*. `A` terminated at T+15min as designed. `B` continued running a long deploy pipeline and at T+40min presented `S_B` to a de...",
    "condition_of_validity": "The invariant holds — and the failure is reachable — precisely when: 1. **TTL inversion:** `TTL(S_child) > remaining_lifetime(signer)` at mint time. This is the trigger. It is easy to produce accidentally because child TTLs are usually set from task deadlines, not from the signer's clock. 2. **No notarization of the signer's expiry into the child token.** If...",
    "decision_boundary": "The decision an implementer must encode: **at scope-presentation time, walk the full signer chain and require `now < min(exp of every credential in the chain)`, not merely `now < exp(S_presented)`.** Two corollaries: - **Mint-time clamp (prevention):** when `A` mints `S_B`, it MUST set `exp(S_B) = min(desired_exp, exp(cred_A))` and embed a `signer_not_after`...",
    "operational_effect": "Without the clamp and re-verification, delegation becomes an authority-laundering channel: a short-lived agent can mint a long-lived capability that outlives the accountability window that justified granting it in the first place. The blast radius is exactly the TTL inversion gap — here 45 minutes of deploy authority held by a worker whose delegator was gone..."
  },
  "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": "24beb2d2bad7c0f8776f7e49b5bd57bc733932b6a3ff7157df06abe7d1ee1c65",
    "verified_classes": [
      "DelegationLivenessError",
      "Credential"
    ],
    "verified_functions": [
      "mint_delegated_scope",
      "verify_chain_liveness"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationLivenessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
