{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-capability-scoped-delegation-token-has-been-silently-widened-by-an-intermediate-agent-in-the-chain",
  "title": "How does an instance detect that a capability-scoped delegation token has been silently widened by an intermediate agent in the chain",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF-style decentralized identifier (DID) chains where a root principal issues a capability-scoped delegation token (CDT) that is re-delegated through one or more autonomous agents before reaching the executing instance. Does not apply to single-hop bearer tokens, to tokens verified solely by a centralized introspection endpoint, or to monotonic attenuation schemes that enforce scope narrowing at the transport layer rather than at token-construction time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-capability-scoped-delegation-token-has-been-silently-widened-by-an-intermediate-agent-in-the-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-capability-scoped-delegation-token-has-been-silently-widened-by-an-intermediate-agent-in-the-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-capability-scoped-delegation-token-has-been-silently-widened-by-an-intermediate-agent-in-the-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1894,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not token forgery. Every signature in the chain verifies. The DID resolution succeeds, the issuer key matches, the temporal bounds are satisfied, and the audience field names the executing instance. The failure is that an intermediate agent re-delegated the capability with a *superset* of the scope it held, and the executing instance's local v...",
    "what_was_observed": "A three-hop chain: root principal `did:aaif:root:acme` → orchestrator agent `did:aaif:agent:orch-7` → worker agent `did:aaif:agent:work-3` → tool-executing instance `did:aaif:agent:exec-11`. The root issued the orchestrator a CDT scoped to `{read:orders, read:inventory}` with a depth budget of 3 and an attenuation requirement of `subset`. The orchestrator, mid-task, needed the worker to reconcile an order. Rather tha...",
    "condition_of_validity": "The invariant that must hold for a CDT chain to be sound is: > For every edge `(parent, child)` in the delegation chain, `scope(child) ⊆ scope(parent)`, and this containment is *verified by the executing instance*, not merely asserted by the delegating agent. Three conditions must all hold for the failure to be reachable: 1. **The attenuation constraint is c...",
    "decision_boundary": "The executing instance must draw a hard line between **chain authentication** and **chain authorization**. Authentication asks: did each hop's key sign its token, and does the chain terminate at a trusted root? Authorization asks: does each hop's scope lie within its parent's? The boundary condition is sharp: **if the verifier cannot evaluate the attenuation...",
    "operational_effect": "An instance that does not reconstruct the scope lattice is exploitable by its own upstream agents' planning loops, not just by adversaries. The blast radius is bounded by the root grant's *union* of scopes across the chain, which is typically the full capability set the root intended to distribute—so a single widening hop can grant the executing instance the..."
  },
  "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": "9f62b14f608a688df5fca7e103a9140fa21e7f35bd3c2c66d16e96ceba0b5ae9",
    "verified_classes": [
      "DelegationChainViolation",
      "CDT"
    ],
    "verified_functions": [
      "verify_chain",
      "pre_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationChainViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
