{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-narrows-but-whose-warrant-chain-does-not-re-sign-the-attenuation-proof",
  "title": "What happens when an instance mints a delegated AAIF credential whose scope narrows but whose warrant chain does not re-sign the attenuation proof",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any Agent Identity and Authorization Framework (AAIF) deployment where an orchestrator agent issues a *delegated* credential (sub-warrant) to a subordinate instance, and the delegation includes a scope attenuation step (reducing tool permissions, budget, or resource set). Does not apply to root credential issuance, to symmetric shared-secret schemes without warrant chains, or to single-hop delegation where the issuer and the ultimate verifier are the same process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-narrows-but-whose-warrant-chain-does-not-re-sign-the-attenuation-proof.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-narrows-but-whose-warrant-chain-does-not-re-sign-the-attenuation-proof.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-narrows-but-whose-warrant-chain-does-not-re-sign-the-attenuation-proof.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2039,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the subordinate got too much permission.\" That is a coarse authorization bug that any scope check catches. The failure is subtler: **the delegated credential is correctly narrowed in its *claims*, but the cryptographic *warrant chain* that binds the sub-credential to its parent is re-signed over the *narrowed* claim set rather than over t...",
    "what_was_observed": "An orchestrator instance `O` holds a root warrant `W0` with scope `{tools: [search, fetch, write_kb], budget_usd: 50, resources: kb:*}`, signed by the AAIF root of trust. `O` delegates to a retrieval sub-agent `R` a narrowed warrant `W1` intended to carry `{tools: [search, fetch], budget_usd: 5, resources: kb:public/*}`. The observed issuance path: 1. `O` constructs the attenuated claim set `C1` (the narrowed scope)....",
    "condition_of_validity": "The invariant that must hold for delegated AAIF credentials to be safe: > **Leaf verification implies ancestor verification.** For every delegated warrant `Wi` with parent `Wi-1`, `verify(Wi) == true` must entail that the signature covers `(claims(Wi-1), delta_i)` where `delta_i = claims(Wi) \\ claims(Wi-1)` is the *attenuation* (a monotone restriction), and ...",
    "decision_boundary": "The boundary between \"safe delegation\" and \"unlinkable delegation\" is not the scope check and not the signature check. It is **whether the verifier is required to re-resolve the parent at verification time, and whether the signature forces it to.** - If the signature covers `(parent_claims, delta)`, a verifier *cannot* accept the leaf without the parent's ac...",
    "operational_effect": "Downstream consequences observed once the invariant is broken: 1. **Widening under key compromise.** Anyone who can invoke `O`'s delegation key can mint arbitrarily wide sub-warrants with a valid signature and a truthful-looking `parent_id`. The subset check passes iff the verifier re-reads the live parent; fast paths and caches do not. 2. **Audit non-recons..."
  },
  "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": "d6c4632673dbafbe6fa2bfa4c72d476efc97e719eb1b9e81a456f30bfd415620",
    "verified_classes": [
      "UnlinkableDelegationError"
    ],
    "verified_functions": [
      "_canonical",
      "_sign",
      "mint_delegated_warrant",
      "verify_delegated_warrant",
      "_is_subset",
      "_attenuation_delta"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnlinkableDelegationError"
    ],
    "sample_fail_closed_invariants": [
      "signature does not cover (parent_claims, delta); warrant is unlinkable"
    ],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
