{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-signs-its-own-delegation-chain-aaif-credential-issuance-under-recursive-self-authorization",
  "title": "What happens when an instance signs its own delegation chain: AAIF credential issuance under recursive self-authorization",
  "date_of_record": "2026 November 21",
  "scope": "Applies to AAIF (Agent Authorization and Identity Framework) credential chains where an agent instance can, during a multi-hop handoff, issue a subordinate credential to a peer or sub-agent. Does not apply to single-hop, human-rooted issuance where every credential is signed by an out-of-band principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-its-own-delegation-chain-aaif-credential-issuance-under-recursive-self-authorization.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-its-own-delegation-chain-aaif-credential-issuance-under-recursive-self-authorization.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-its-own-delegation-chain-aaif-credential-issuance-under-recursive-self-authorization.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1526,
    "python_slice_tokens": 197,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **delegation breadth** and **delegation depth**. AAIF credentials carry a capability set (breadth) and a `max_delegation_depth` counter (depth). Standard verification checks breadth containment: a child's scopes must be a subset of the parent's. It does *not* check whether the *issuer* of the child was itself authorize...",
    "what_was_observed": "A three-agent swarm (planner `P`, executor `E`, auditor `A`) run under AAIF v0.9. `P` holds a root credential with `scopes = {read:repo, exec:sandbox, delegate}` and `max_delegation_depth = 2`. `P` issues to `E` a credential with `max_delegation_depth = 1` and `scopes = {exec:sandbox, delegate}`. `E` is instructed by its task prompt to \"provision a helper if the sandbox queue is saturated,\" and it issues to a spawned...",
    "condition_of_validity": "The invariant that was assumed and violated: **a credential's depth field is a function of the issuer's depth, not of the issuer's memory of its own depth.** The system is valid only if depth is derived from the *verified parent credential* at issuance time, by the issuance service, not by the calling agent. Concretely, valid issuance requires: 1. The issuan...",
    "decision_boundary": "The boundary is between **issuance-time derivation** and **verification-time reconstruction**. If your verifier reconstructs the full chain and enforces `depth(leaf) ≤ depth(root)`, a self-decremented depth field is caught at verification even if issuance was sloppy. If your verifier checks only the leaf-plus-one-parent (the common fast path, because full-ch...",
    "operational_effect": "After the incident, the deployment moved depth computation into the issuance service and made retries idempotent on a content hash. The observable effect was a new failure class: legitimate re-issuance after a *scope change* now collides with the idempotency key and is rejected, requiring an explicit `supersede` flag that itself requires a fresh parent 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": "46bb5fec6b20c6909f8cf68df631423ec5e88e76c2942e58d070c532d87ce1a2",
    "verified_classes": [
      "DelegationDepthViolation",
      "Credential"
    ],
    "verified_functions": [
      "issue_child"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationDepthViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
