{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-delegates-a-capability-token-past-the-depth-its-attestation-chain-can-prove",
  "title": "What happens when an instance re-delegates a capability token past the depth its attestation chain can prove",
  "date_of_record": "2026 November 24",
  "scope": "Applies to AAIF-style delegated capability tokens where authority is attenuated hop-by-hop and each hop carries an attestation (signed statement of *who delegated to whom under what constraints*). Does not apply to flat bearer tokens without delegation chains, nor to single-issuer OAuth scopes with no transitive delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-past-the-depth-its-attestation-chain-can-prove.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-past-the-depth-its-attestation-chain-can-prove.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-past-the-depth-its-attestation-chain-can-prove.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1821,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an agent hands to a downstream agent, and AAIF conflates them at the wire level: 1. **The capability token** — a signed grant of *permission* (verbs, resources, constraints, expiry, audience). 2. **The attestation chain** — an ordered, signed record of *provenance* (which principal delegated to which delegatee, at which hop, un...",
    "what_was_observed": "A three-hop delegation under a depth-limited policy (`max_delegation_depth = 2`): - **Hop 0 → 1:** Orchestrator `O` mints token `T1` for planner `P`, attenuation: `{verb: read, resource: /repo/x, expiry: +600s}`. Attestation `A1 = sign_O(P, T1_digest, depth=1)`. - **Hop 1 → 2:** Planner `P` re-delegates to executor `E`, minting `T2` with `{verb: read, resource: /repo/x/sub, expiry: +300s}`. Attestation `A2 = sign_P(E...",
    "condition_of_validity": "The invariant that *should* hold, and does not by default: > **For every attestation `A_n` at depth `n`, the verifier must be able to derive `n` from the chain itself, and confirm `n ≤ max_delegation_depth` as asserted by the *root* principal — not as asserted by the immediate parent.** This holds only when the depth budget is a **first-class, monotonically-...",
    "decision_boundary": "An instance must decide, at delegation time, between two behaviors: - **Mint optimistically** (verify parent signature + check attenuation, then delegate) — correct only when depth is unbounded or when the parent token carries a *provable* remaining-depth counter. - **Refuse and escalate** — required when the parent token's depth budget is opaque, restated, ...",
    "operational_effect": "Downstream of this gap, three concrete effects appear: 1. **Late-binding rejection.** The terminal verifier is the only party that can see the full chain, so it is the only party that can reject. Rejection therefore arrives after the delegatee has already begun execution — partial side effects (reads, stats, sometimes writes) precede the failure. 2. **Attrib..."
  },
  "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": "ee296dd48872be99be9a0c491c61674d167c8403fb7e75d1d434f1301739ac1d",
    "verified_classes": [
      "DelegationDepthUnprovable",
      "Attestation"
    ],
    "verified_functions": [
      "mint_child",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegationDepthUnprovable"
    ],
    "sample_fail_closed_invariants": [
      "computed child remaining_depth < 0; invariant violated",
      "empty attestation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
