{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-delegated-credential-whose-issuer-chain-re-roots-mid-task-the-aaif-delegation-depth-reset-invariant",
  "title": "Under what conditions must an instance reject a delegated credential whose issuer chain re-roots mid-task: the AAIF delegation-depth reset invariant",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF (Agent Authentication & Identity Framework) delegated credential issuance where an executing agent instance receives a chain of signed delegation tokens (root principal → orchestrator → sub-agent → tool-invoking instance) and continues a multi-step task across re-issuance events. Does not apply to single-hop bearer tokens, static API keys, or non-AAIF OAuth flows where no delegation chain is materialized.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-credential-whose-issuer-chain-re-roots-mid-task-the-aaif-delegation-depth-reset-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-credential-whose-issuer-chain-re-roots-mid-task-the-aaif-delegation-depth-reset-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-credential-whose-issuer-chain-re-roots-mid-task-the-aaif-delegation-depth-reset-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1755,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **re-issuance of a credential along the same trust root** and **re-rooting of the delegation chain to a new trust anchor mid-execution**. AAIF delegation tokens carry a `root_id`, a `depth` counter, and a monotonic `chain_epoch`. Re-issuance—refreshing an expiring token—preserves `root_id` and `chain_epoch` and increme...",
    "what_was_observed": "An instance executing a 14-step tool workflow held a level-3 credential (`root_id=A`, `depth=3`, `chain_epoch=41`) during steps 1–9. At step 10 the orchestrator was rescheduled onto a new pod. The new orchestrator had been bootstrapped by a recovery controller that minted a fresh root (`root_id=B`) and issued a level-2 credential to the same logical sub-agent identity (`depth=2`, `chain_epoch=1`). The instance's veri...",
    "condition_of_validity": "The invariant that must hold for an instance to safely continue a task across credential re-issuance is: > For the lifetime of a task, the tuple `(root_id, task_warrant_hash)` presented by any credential used by the instance MUST be byte-identical to the tuple captured at task start; `depth` may only increase, and `chain_epoch` may only increase, never reset...",
    "decision_boundary": "The boundary is drawn between **refresh** and **re-root**, and it must be decided at the verifier, not at the orchestrator. The orchestrator is precisely the component whose rescheduling triggers the failure, so it cannot be trusted to classify its own re-issuance as benign. The instance's verifier must maintain a task-scoped credential ledger keyed by `task...",
    "operational_effect": "When the verifier enforces the tuple invariant, the step-10 reschedule produces a `DelegationRerootError` at the instance, the task checkpoints at step 9, and the instance halts pending a `warrant_amendment` that names `root_id=A` and `root_id=B` and enumerates the scope delta. The recovery controller must then either re-issue under the original root `A` (pr..."
  },
  "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": "127b00b22fd7251fb4baa82e01d3640e4328642495e89fcc6dc2c3116fd59534",
    "verified_classes": [
      "DelegationRerootError",
      "Credential",
      "TaskLedger"
    ],
    "verified_functions": [
      "verify_reissuance"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationRerootError"
    ],
    "sample_fail_closed_invariants": [
      "warrant_amendment does not name the observed root transition"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
