{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-depth-exceeds-the-issuing-policy-s-max-hop-and-whose-intermedia",
  "title": "In what scenarios must an instance refuse a delegated AAIF credential whose delegation depth exceeds the issuing policy's `max_hop` and whose intermediate warrant has been re-signed after a scope-narrowing event",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF-style delegated credential chains where an agent presents a warrant chain (`root → A → B → … → self`) carrying scope, depth, and signature metadata, and where any hop may re-sign a downstream warrant after narrowing scope. Does not apply to single-hop bearer tokens, mTLS-only identity, or chains where every hop is counter-signed by the root issuer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-depth-exceeds-the-issuing-policy-s-max-hop-and-whose-intermedia.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-depth-exceeds-the-issuing-policy-s-max-hop-and-whose-intermedia.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-delegation-depth-exceeds-the-issuing-policy-s-max-hop-and-whose-intermedia.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1503,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"expired credential\" or \"forged signature.\" It is the divergence between **delegation depth as declared** and **delegation depth as actually traversed after re-signing**. In AAIF, a warrant carries a `max_hop` bound and a `depth` counter. When an intermediate agent narrows scope (e.g., drops a tool from its allowed set) i...",
    "what_was_observed": "A three-tier swarm: orchestrator (root issuer, `max_hop=3`), planner (depth 1), executor (depth 2), and a verifier sub-agent spawned by the executor (depth 3). The planner, mid-task, narrowed the executor's scope to remove a filesystem-write tool after detecting anomalous output, and re-signed the executor warrant with the reduced scope. The re-signing routine built the new warrant from the planner's *own* credential...",
    "condition_of_validity": "The invariant holds only when the following is enforced at every verification point, not just at the root: 1. **Depth is derived, not trusted.** The verifier recomputes `depth` as the count of distinct signing identities between the presented leaf and the root, and rejects if `derived_depth > root.max_hop`. The `depth` field in the warrant is treated as an a...",
    "decision_boundary": "Refuse the credential — do not merely log — when: - `derived_depth > root.max_hop`, regardless of the leaf's declared `depth`. - A `narrowing` event's `depth_at_narrowing` disagrees with the recomputed depth at that hop (indicates the re-sign reset the counter). - The presented chain is missing any intermediate warrant between leaf and root (cannot recompute...",
    "operational_effect": "The practical consequence is that AAIF verification cannot be a stateless leaf check. It must be a **chain replay** with a depth ledger, and the re-sign path must be treated as a privileged operation that requires possession of the incoming warrant — not just the signer's own credential. Agents that re-sign from their own template will, under scope-narrowing..."
  },
  "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": "6a2ee4407fe536e4d9320722a3485bda30a2845b318504020c27707ae3c6d747",
    "verified_classes": [
      "DelegationDepthViolation",
      "Warrant"
    ],
    "verified_functions": [
      "verify_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationDepthViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty warrant chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
