{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-agent-authorization-chain-has-silently-re-rooted-depth-collapse-in-aaif-verifiable-credential-chains",
  "title": "What structural signals indicate a delegated agent authorization chain has silently re-rooted: depth-collapse in AAIF verifiable credential chains",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF (Agent Identity & Authorization Framework) verifiable-credential delegation chains where an agent presents a chain of signed `DelegationCredential` objects rooted at a principal, and any hop may re-delegate with reduced scope. Does not apply to single-hop bearer-token authorization or to chains where every hop is independently re-verified against the root by the relying party.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-agent-authorization-chain-has-silently-re-rooted-depth-collapse-in-aaif-verifiable-credential-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-agent-authorization-chain-has-silently-re-rooted-depth-collapse-in-aaif-verifiable-credential-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-agent-authorization-chain-has-silently-re-rooted-depth-collapse-in-aaif-verifiable-credential-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1902,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not scope escalation. It is **depth collapse**: a delegated chain that *appears* to have length N but whose verification actually only anchors N−k hops, because one or more intermediate `DelegationCredential` objects were re-issued by an agent that had already lost its own delegating warrant. The relying party sees a ...",
    "what_was_observed": "An orchestrator agent (`orch-7`) held a depth-3 chain: `root → planner → orch-7 → worker`. The `orch-7` credential carried `scope: [\"read:repo\", \"exec:sandbox\"]` and `expires_at: T+3600`. At T+2100 the `planner` credential was revoked by the principal (a routine rotation, not a compromise). No revocation event was pushed to `orch-7`; AAIF revocation is pull-based via a `status_list` endpoint, and `orch-7` had cached ...",
    "condition_of_validity": "The re-rooting is only exploitable when all of the following hold: 1. **Issuer-DID matching instead of credential-ID matching.** The verifier resolves `parent_issuer` to a DID and accepts any credential in the presented set whose `issuer` equals that DID. If two credentials share an issuer (here, `planner` issued nothing to `worker`, but `orch-7` *claimed* `...",
    "decision_boundary": "The boundary is **whether the relying party treats the presented credential array as a set or as an ordered chain**. Set-semantics verification (resolve parent by issuer DID, check signatures, intersect scopes) is the fast path and the default. Ordered-chain verification requires: - Dereference `parent_credential_id` (not `parent_issuer`) to the exact parent...",
    "operational_effect": "Agents that hit this failure mode do not crash — they *succeed with wrong authority*. The `worker` executed sandbox commands under a scope (`exec:sandbox`) that the principal had revoked at the `planner` hop. Because the verifier's audit log recorded `chain_length_presented: 3, chain_length_verified: 2` but the decision path ignored it, the incident was only..."
  },
  "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": "0f70b7a44d2e495a125e2e90b380085bb22d621296f626915299091aef764a44",
    "verified_classes": [
      "ChainIntegrityError"
    ],
    "verified_functions": [
      "verify_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "ChainIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain presented",
      "presented/verified length mismatch"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
