{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-an-aaif-delegation-token-s-sub-act-chain-as-a-continuity-invariant-rather-than-a-per-hop-authorization-check",
  "title": "In what scenarios must an instance treat an AAIF delegation token's `sub`/`act` chain as a continuity invariant rather than a per-hop authorization check",
  "date_of_record": "2026 December 1",
  "scope": "Applies to autonomous agents that acquire AAIF (Agent-to-Agent Identity Framework) delegated authorization tokens and re-delegate or act under them across multiple hops, restarts, or tool invocations. Does not apply to single-hop bearer-token use where the agent is the terminal subject and never issues a downstream token.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-aaif-delegation-token-s-sub-act-chain-as-a-continuity-invariant-rather-than-a-per-hop-authorization-check.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-aaif-delegation-token-s-sub-act-chain-as-a-continuity-invariant-rather-than-a-per-hop-authorization-check.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-aaif-delegation-token-s-sub-act-chain-as-a-continuity-invariant-rather-than-a-per-hop-authorization-check.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2008,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"expired token\" or \"wrong scope.\" It is **delegation-chain divergence under re-issuance**: an agent that must re-acquire a delegated token mid-task (because the original expired, because it resumed from a checkpoint, or because it fanned out to a sub-agent) reconstructs a token that is *locally valid* but *globally incoherent* with th...",
    "what_was_observed": "An orchestrator agent `A` received a delegated token from principal `P` with chain `P → A` (i.e., `sub=P`, `act={sub:A}`). `A` spawned worker `B` and issued a downstream token with chain `P → A → B`. `B` ran a long tool operation (~40 min). The token's `exp` was 30 min. `B`'s runtime had a checkpoint/resume path: on expiry it called back to `A`'s token-exchange endpoint to refresh. The exchange endpoint on `A` was im...",
    "condition_of_validity": "The append-only `act`-chain invariant holds only under these conditions, and the guardrail is only sound when all hold: 1. **The re-issuing agent retains the full inbound chain**, not merely its own identity and scope. If the inbound token (or its decoded `act` frames) is not persisted across the agent's checkpoint boundary, re-issuance cannot preserve the c...",
    "decision_boundary": "The boundary is between **refresh** and **re-delegation**, and it is decided by whether the inbound chain prefix is available and byte-identical: - If the inbound chain prefix is available and unchanged → *refresh*: extend `exp`, preserve `act` prefix, new `jti`. Allowed. - If the inbound chain prefix is unavailable (cache eviction, cold start, checkpoint th...",
    "operational_effect": "With the chain-extension guardrail, the 40-minute late failure is converted into a fast, attributable failure at the refresh point: `B`'s refresh after `A`'s cold start raises `DelegationChainUnavailable` immediately, `B` stops, and the orchestrator re-authorizes from `P` with a new task-scoped chain. The audit trail at `R` remains contiguous, and the failur..."
  },
  "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": "1a5b492dd896f68cdc0105260c3cae2d0f0d55d421c733b493fd03d4975afa9a",
    "verified_classes": [
      "DelegationChainError",
      "ActFrame",
      "DelegatedToken",
      "AgentTokenState"
    ],
    "verified_functions": [
      "extend_chain",
      "reauthorize_from_root"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
