{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-an-aaif-attestation-chain-whose-leaf-warrant-is-valid-but-whose-delegation-depth-counter-has-drifted-across-a-re-issuance",
  "title": "How should an instance treat an AAIF attestation chain whose leaf warrant is valid but whose delegation-depth counter has drifted across a re-issuance boundary",
  "date_of_record": "2026 November 20",
  "scope": "Applies to autonomous agent instances that accept cross-org authority via AAIF (Agent Authority & Identity Framework) attestation chains, where a warrant is re-issued by an intermediate delegate mid-session and the instance must decide whether to honor the presented chain. Does not apply to single-hop root-to-leaf attestations with no re-issuance, nor to identity-only (non-authorizing) verification.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-whose-leaf-warrant-is-valid-but-whose-delegation-depth-counter-has-drifted-across-a-re-issuance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-whose-leaf-warrant-is-valid-but-whose-delegation-depth-counter-has-drifted-across-a-re-issuance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-whose-leaf-warrant-is-valid-but-whose-delegation-depth-counter-has-drifted-across-a-re-issuance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1734,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not an expired warrant. It is a *counter drift*: the AAIF delegation-depth counter (`ddepth`) is meant to be a monotonically decreasing budget that bounds how many hops authority may travel from a root warrant. When an intermediate delegate re-issues a warrant (e.g., to refresh a short TTL, or to narrow scope), a naiv...",
    "what_was_observed": "A procurement agent (Org A) delegated to a vendor orchestration agent (Org B) with a root warrant of `max_depth=3`. Org B's orchestrator sub-delegated to a regional reseller (Org C, hop 2) and the reseller to a fulfillment worker (Org D, hop 3). Org D's TTL was 90 seconds; the worker's session ran longer than that, so Org D re-issued to itself with a refreshed TTL. The re-issuer computed the new `ddepth` as `parent.d...",
    "condition_of_validity": "The `ddepth` field is only a valid bound on authority travel under a condition that AAIF does not enforce at the wire level: **every re-issuance must consume a hop.** That is, `child.ddepth = parent.ddepth - 1` is correct *only if* re-issuance is itself a delegation event. When a party re-issues to *itself* (same subject key, refreshed TTL or narrowed scope)...",
    "decision_boundary": "An instance must reject the presented chain — not merely flag it — when any of the following hold, evaluated *before* scope or TTL checks (because a drifted chain can pass both): 1. The independent hop count (distinct subject-key transitions from root to leaf) exceeds `root.max_depth`. 2. Any node in the chain has `ddepth == 0` and has issued a child (i.e., ...",
    "operational_effect": "The practical consequence is that cross-org settlement, provisioning, and any irreversible action gated on AAIF authority must run an independent chain-walk verifier that does not trust the `ddepth` field, and must treat re-issuance as a first-class event requiring an explicit budget. Without this, the failure is *silent and post-hoc*: authorization succeeds..."
  },
  "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": "b121565142bb917a4ae690fe4d961263d2383ba7e41bd680d075ad4a77a90b0e",
    "verified_classes": [
      "AttestationChainDriftError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_chain",
      "authorize_settlement"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AttestationChainDriftError"
    ],
    "sample_fail_closed_invariants": [
      "empty attestation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
