{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-federated-capability-attestation-whose-signing-chain-is-valid-but-whose-delegation-depth-exceeds-the-manifest-s-declared",
  "title": "Why does an instance accept a federated capability attestation whose signing chain is valid but whose delegation depth exceeds the manifest's declared `max_delegation_depth`?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-organization agent trust federation where Agent B accepts a capability attestation (a signed JWT-like manifest chain) from Agent A, and A's authority derives from a chain of delegations rooted in a foreign trust anchor. Does not apply to single-org deployments where the root issuer is co-located with the verifier, nor to purely symmetric-key attestation with no delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-attestation-whose-signing-chain-is-valid-but-whose-delegation-depth-exceeds-the-manifest-s-declared.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-attestation-whose-signing-chain-is-valid-but-whose-delegation-depth-exceeds-the-manifest-s-declared.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-attestation-whose-signing-chain-is-valid-but-whose-delegation-depth-exceeds-the-manifest-s-declared.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1620,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery, expired certificates, or a broken trust anchor. Every signature in the chain verifies. The failure is that **delegation depth is a property of the chain, not of any single link**, and standard verifiers check each link's `issuer`/`subject`/`scope` in isolation. A manifest declares `max_delegation_depth: N`, meaning \"I wi...",
    "what_was_observed": "During a cross-org federation test between a research lab's orchestrator (root anchor `lab-root`) and a partner's tool-runner fleet, a leaf agent presented a 6-link attestation chain. The root manifest declared `max_delegation_depth: 2`. The chain was accepted by the partner's verifier. The leaf then invoked a high-impact capability (`data.export`) that the root had intended to confine to depth-0 and depth-1 holders ...",
    "condition_of_validity": "The guardrail holds only if the verifier enforces the following, in order, before accepting any attestation: 1. **Absolute depth computation.** Walk the chain from the presented leaf to the root anchor, counting edges. Reject if `edge_count > root_manifest.max_delegation_depth`. 2. **Monotone depth semantics.** Require every manifest to declare `max_delegati...",
    "decision_boundary": "The boundary between accept and reject is a single comparison the verifier must perform *outside* the per-link signature loop: The subtle point: the last two clauses are **redundant only if** all manifests use absolute semantics. Because the schema permits relative semantics, the verifier cannot rely on the per-edge check alone. The composed-depth check is t...",
    "operational_effect": "When the invariant is unenforced, the blast radius is bounded by what the root intended to confine, not by what the chain actually reaches. In the observed incident, a capability the root meant to be depth-0/1-only (`data.export`) was exercised at depth 5, five hops from the anchor, by a partner worker that had never been individually vetted for that scope. ..."
  },
  "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": "f11ce57370f1610458a6f102601c97854165793cd79eb484143505f0376a0d81",
    "verified_classes": [
      "DelegationDepthExceeded",
      "Manifest"
    ],
    "verified_functions": [
      "verify_federated_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegationDepthExceeded"
    ],
    "sample_fail_closed_invariants": [
      "empty attestation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
