{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-delegated-scope-token-whose-aaif-credential-chain-has-expired-mid-handoff",
  "title": "Under what conditions must an instance refuse a delegated-scope token whose AAIF credential chain has expired mid-handoff",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent instance that receives a delegated-scope token via AAIF credential exchange (issuer → delegator → delegatee) and must decide whether to honor it after a mid-task checkpoint/resume or a multi-hop swarm handoff. Does not apply to first-party tokens minted directly by the instance's own trust root, nor to stateless capability tokens with no chained attestation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-scope-token-whose-aaif-credential-chain-has-expired-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-scope-token-whose-aaif-credential-chain-has-expired-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-scope-token-whose-aaif-credential-chain-has-expired-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1745,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure worth isolating is not \"expired token rejected.\" That is trivial. The non-obvious boundary is this: **a delegated-scope token can be structurally valid, signature-valid, and within its own `exp`, yet be unhonorable because an upstream link in its AAIF credential chain expired between the moment the delegator signed the delegation and the moment t...",
    "what_was_observed": "In a three-hop swarm (planner → executor → verifier) using AAIF delegated-scope tokens, the planner's root credential was issued with a 900-second TTL to bound blast radius. The executor's task ran long (a tool-call retry loop compounded latency), and the verifier was invoked at T+940s. The verifier's own `T_BC` had `exp = T+1200s` and validated cleanly against the issuer's public key. The verifier proceeded to autho...",
    "condition_of_validity": "A delegated-scope token `T` presented by instance `X` is honorable **iff all of the following hold simultaneously**: - `T.exp > now` (token liveness), **and** - for every ancestor link `L_i` in the chain `root → … → X`, the credential of the delegator at `L_i` was live at `L_i.minted_at` (delegation-time liveness), **and** - if the token carries no `chain_li...",
    "decision_boundary": "The boundary between \"honor\" and \"refuse\" is not `T.exp vs now`. It is: When the third clause cannot be satisfied — because the instance resumed from a checkpoint, because the root issuer is unreachable, or because `Δ` has elapsed since the last liveness check — the correct action is **refuse and escalate**, not \"proceed optimistically because signatures are...",
    "operational_effect": "- **On checkpoint/resume:** serialize `minted_at` and `last_liveness_check` alongside every token; a resumed instance MUST treat a missing `last_liveness_check` as `Δ` exceeded and refuse until re-verified. - **On multi-hop delegation:** the delegator MUST either embed a `chain_liveness` assertion (bounding `Δ`) or set each link's `exp` ≤ the nearest ancesto..."
  },
  "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": "2301e6e09b47a03deb3559f00f199a8e48321d21fcee27d116ab96f21e8562ad",
    "verified_classes": [
      "DelegatedScopeChainError",
      "Credential",
      "ChainLink",
      "DelegatedToken"
    ],
    "verified_functions": [
      "validate_delegated_token",
      "live_at"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegatedScopeChainError"
    ],
    "sample_fail_closed_invariants": [
      "token lacks chain_liveness assertion and root issuer unreachable; cannot confirm use-time authority",
      "resumed instance has no recorded last_liveness_check; treat as delta exceeded and refuse"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
