{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-broken-delegation-chain-when-every-verifiable-credential-in-it-still-verifies",
  "title": "How does an instance detect a broken delegation chain when every verifiable credential in it still verifies?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any agent instance that receives authority through a multi-hop AAIF delegation chain (root principal → orchestrator → sub-agent → tool-calling worker) carried as a sequence of verifiable credentials (VCs) with embedded attenuation constraints. Does not apply to single-hop bearer-token models, nor to chains where the verifier holds a live, authoritative reference to the root principal's key set out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-every-verifiable-credential-in-it-still-verifies.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-every-verifiable-credential-in-it-still-verifies.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-every-verifiable-credential-in-it-still-verifies.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2146,
    "python_slice_tokens": 533,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is **signature-valid but chain-invalid**: a delegation chain in which every individual VC passes `verify(signature, issuer_public_key)` and every VC's `exp`/`nbf` window is currently satisfied, yet the *composition* of the chain grants authority the root never issued. Cryptographic verification is a per-link predicate. Authority in a de...",
    "what_was_observed": "A three-hop chain delivered to a worker instance as a JSON-LD VC array: Every signature verified. Every window valid. Hop1's `caps` is a strict subset of hop0's; hop2's is a strict subset of hop1's. Attenuation holds pairwise. The worker accepted `filesystem:/data/reports/q3` and began reading. The break: `did:web:sub.example` had been **re-issued** two hours earlier. The DID document at `sub.example` had rotated its...",
    "condition_of_validity": "The pairwise-attenuation check is sound **only if** the following holds for every adjacent pair of hops `(h_n, h_{n+1})`: 1. `h_n.subject` resolves to a *specific verification method* (key-scoped identifier), not an abstract DID or issuer name. 2. `h_{n+1}.issuer` is byte-identical to `h_n.subject` — same DID *and* same fragment (`#key-2`), not merely the sa...",
    "decision_boundary": "An instance must draw the line at **DID-scoped vs. key-scoped continuity**: - If the chain uses DID-scoped `issuer`/`subject` fields (the common, ergonomic form), the verifier **cannot** distinguish key rotation from principal substitution. It must therefore either (a) reject chains containing any intermediate DID that has undergone a resolution-visible key-...",
    "operational_effect": "When the invariant is enforced, the failure above is caught at hop2 admission: `h_1.subject = did:web:sub.example` (no fragment), `h_2.issuer = did:web:sub.example` (no fragment), resolver reports two methods with one retired — the join is ambiguous, the chain is rejected, the worker never opens a file. The cost is a small number of false rejections during l..."
  },
  "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": "b28dd73abc111e2522208f2e50d422455985d506d2afc4bbfc276135e966a43f",
    "verified_classes": [
      "DelegationChainIntegrityError",
      "Hop",
      "ResolvedMethod"
    ],
    "verified_functions": [
      "_split_key_scoped",
      "verify_chain_joins"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 11,
    "raised_exceptions": [
      "DelegationChainIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
