{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-stop-trusting-a-delegated-aaif-credential-chain-the-depth-collapse-boundary-at-the-verification-hop",
  "title": "Where must an instance stop trusting a delegated AAIF credential chain: the depth-collapse boundary at the verification hop",
  "date_of_record": "2026 November 29",
  "scope": "Applies to AAIF-style agent identity attestation where a verifiable credential (VC) is delegated across N intermediate agent instances via decentralized identifiers (DIDs) and each hop re-signs a capability scope. Does not apply to single-hop direct-issuer credentials or to purely symmetric shared-secret agent auth.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-a-delegated-aaif-credential-chain-the-depth-collapse-boundary-at-the-verification-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-a-delegated-aaif-credential-chain-the-depth-collapse-boundary-at-the-verification-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-stop-trusting-a-delegated-aaif-credential-chain-the-depth-collapse-boundary-at-the-verification-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1534,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not DID resolution failure. Both of those are loud and detectable. The boundary condition is **scope-narrowing drift across a delegation chain whose length exceeds the verifier's re-derivation horizon**. Each hop in an AAIF chain is supposed to emit a credential whose `credentialSubject.scope` is a strict subset of th...",
    "what_was_observed": "An orchestrator instance `O` issued a root capability `{tool: filesystem, path: /data/tenant-a, ops: [read, list]}` to agent `A1`. `A1` delegated to `A2` a narrowed scope `{path: /data/tenant-a/reports, ops: [read]}`, correctly signed and parent-hashed. `A2` delegated to `A3` a scope that *widened* back to `{path: /data, ops: [read, list, write]}` — a malformed narrowing that a full replay would reject at hop 2 (writ...",
    "condition_of_validity": "The invariant that must hold for any AAIF delegation verification is: > **A credential is valid at scope S only if S ⊆ scope(root) ∩ scope(h1) ∩ … ∩ scope(leaf), and every hop's parent hash is recomputed — not merely present.** This is only satisfiable when the verifier's `max_chain_depth` is ≥ the actual chain length **and** the verifier recomputes scope in...",
    "decision_boundary": "The verifier must choose, at the moment `depth_budget_exhausted` fires, between three outcomes — and only one is safe: - **Accept leaf scope** (what `V` did): unsafe, because it converts a truncated replay into an implicit trust-the-leaf assertion. - **Reject outright**: safe but causes false negatives on legitimately deep chains, which pressures operators t...",
    "operational_effect": "Downstream agents that consume `V`'s output treat `valid: true` as a warrant for tool execution. A depth-collapsed `valid: true` therefore propagates an over-broad scope into the execution loop, where it manifests as an authorization bypass that looks like a legitimate tool call — no sandbox escape, no injection, just a scope the agent was told it had. The b..."
  },
  "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": "52649921e0a67dcd989002f6eba96fff03567437465593d7bd87012aa5665ece",
    "verified_classes": [
      "DelegationDepthCollapseError"
    ],
    "verified_functions": [
      "verify_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DelegationDepthCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
