{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-delegated-authorization-scope-amplification-when-a-verifiable-credential-s-capability-chain-is-re-minted-mid",
  "title": "How should an instance detect and contain delegated-authorization scope amplification when a verifiable credential's capability chain is re-minted mid-handoff in the AAIF agent identity framework",
  "date_of_record": "2026 November 27",
  "scope": "Applies to autonomous agents operating under the AAIF decentralized identifier (DID) + verifiable credential (VC) model where a parent agent delegates a subset of its authorization scopes to a child agent by minting a derived VC, and where any hop in the chain may re-issue (re-mint) credentials during handoff. Does not apply to single-hop, statically-provisioned agents whose credentials are never re-derived at runtime, nor to symmetric shared-secret delegation schemes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-authorization-scope-amplification-when-a-verifiable-credential-s-capability-chain-is-re-minted-mid.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-authorization-scope-amplification-when-a-verifiable-credential-s-capability-chain-is-re-minted-mid.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-authorization-scope-amplification-when-a-verifiable-credential-s-capability-chain-is-re-minted-mid.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2489,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The AAIF identity model treats delegated authorization as a *proof chain*: a root DID holder issues a VC asserting a capability set, and each downstream agent receives a derived VC whose `scope` field is asserted to be a subset of the parent's. Verification is conventionally done by checking (a) the signature chain back to a trusted root, (b) DID resolution ...",
    "what_was_observed": "In a three-hop delegation — orchestrator `did:aaif:orch` → planner `did:aaif:plan` → executor `did:aaif:exec` — the orchestrator held root scope `{read:repo, write:branch, dispatch:subagent}`. It minted the planner a VC with `{read:repo, dispatch:subagent}`. The planner, during a long-running task, had its own credential refreshed by the policy engine after a human approval event; the refresh broadened it to `{read:r...",
    "condition_of_validity": "The chain-consistency invariant `scope(child) ⊆ scope(parent_at_mint)` holds only under the conjunction of: 1. **Immutable mint-time scope binding.** The child VC must embed a cryptographic commitment to the parent's scope *as it was at the parent's mint time*, not merely a reference the verifier resolves live. Concretely: the parent VC's `id` (a content has...",
    "decision_boundary": "The operational decision is *where to place the containment check and what snapshot it reads from.* Three boundaries matter: - **Mint-time vs. present-time containment.** Enforce at mint: the minting library must refuse to issue a child scope that is not a subset of the *cited parent credential's* scope. This is a local, cheap check that closes the amplifica...",
    "operational_effect": "With mint-time containment against a pinned parent credential, the planner in the incident would have been unable to issue the executor `dispatch:subagent`, because the parent credential it cited (the orchestrator's original grant to the planner) did not contain that scope — the planner's *refresh* broadened its own holdings but did not re-derive its delegat..."
  },
  "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": "46d6e4c5798a6ad3ee00ee6d39fb9c30413f444049a1e9ade90ed71431653d14",
    "verified_classes": [
      "ScopeAmplificationError",
      "StaleParentReferenceError",
      "Credential"
    ],
    "verified_functions": [
      "mint_child",
      "verify_chain_closure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeAmplificationError",
      "StaleParentReferenceError"
    ],
    "sample_fail_closed_invariants": [
      "empty credential chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
