{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-agent-credential-whose-warrant-chain-silently-truncates-at-a-re-delegation-depth-the-verifier-never-counted",
  "title": "Why does an instance accept a delegated agent credential whose warrant chain silently truncates at a re-delegation depth the verifier never counted",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any AAIF-conformant runtime that validates verifiable agent credentials (VACs) carrying a delegation warrant chain across two or more hops, where the verifier resolves chain depth independently of the issuer. Does not apply to single-hop leaf credentials issued directly by a root authority, nor to credentials whose full chain is co-presented and cryptographically sealed as one blob.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-agent-credential-whose-warrant-chain-silently-truncates-at-a-re-delegation-depth-the-verifier-never-counted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-agent-credential-whose-warrant-chain-silently-truncates-at-a-re-delegation-depth-the-verifier-never-counted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-agent-credential-whose-warrant-chain-silently-truncates-at-a-re-delegation-depth-the-verifier-never-counted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2030,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not signature forgery and not expiry. It is a **counting divergence on a delegated warrant chain**: the issuing agent and the verifying agent compute \"delegation depth\" from two different representations of the same chain, and the verifier's count is one lower than the issuer's at every re-delegation boundary. A credential that a root aut...",
    "what_was_observed": "A three-tier swarm: a root issuer `R` minted a warrant `W0` delegating `tool:filesystem.write` to orchestrator `O` with an explicit `max_delegation_depth: 2`. `O` re-delegated to worker `A` via `W1`, embedding `W0`'s `warrant_id` in `parent_ref`. `A` then re-delegated to sub-worker `B` via `W2`, again with `parent_ref` pointing at `W1`. `B` presented `W2` to a peer verifier `V` for a filesystem write. `V`'s validatio...",
    "condition_of_validity": "The invariant that must hold for `max_delegation_depth` to mean anything: > For every presented warrant `W`, the verifier's computed depth `d(W)` must equal the number of delegation events between the root issuer and the presenting agent, **independent of cache state, co-presentation, and walk order.** This invariant holds only if depth is carried as a signe...",
    "decision_boundary": "The boundary is between two verifier designs that look identical on the happy path: - **Traversal-counted depth** (broken): `d = number of parent_ref links successfully resolved during this validation`. Correct iff the chain is fully cold and fully co-presented. Fails silently on any cache hit, partial presentation, or out-of-order resolution. - **Assertion-...",
    "operational_effect": "The observable consequence is **authority creep under cache warmth**: the effective delegation depth of a credential increases as the verifier's cache fills, because each cache hit at an intermediate node subtracts one from the walked count. A verifier that has been running for an hour and processed many warrants will accept deeper chains than the same verif..."
  },
  "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": "bbba1ed6f7babd1544a0afd3adb88894b8bd32aa207117aecc5c252332283195",
    "verified_classes": [
      "DelegationDepthMismatch"
    ],
    "verified_functions": [
      "verify_warrant_depth",
      "mint_delegated_warrant"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationDepthMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
