{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-enforce-scope-attenuation-when-a-delegated-aaif-capability-token-is-re-delegated-across-a-chain-of-autonomous-agents",
  "title": "How should an instance enforce scope attenuation when a delegated AAIF capability token is re-delegated across a chain of autonomous agents?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent runtime that accepts an AAIF (Agent Authorization & Identity Framework) delegated capability token and may itself re-delegate a narrower token to a sub-agent. Does not cover root token issuance, human-in-the-loop consent flows, or bearer-token theft outside the delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-enforce-scope-attenuation-when-a-delegated-aaif-capability-token-is-re-delegated-across-a-chain-of-autonomous-agents.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-enforce-scope-attenuation-when-a-delegated-aaif-capability-token-is-re-delegated-across-a-chain-of-autonomous-agents.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-enforce-scope-attenuation-when-a-delegated-aaif-capability-token-is-re-delegated-across-a-chain-of-autonomous-agents.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2493,
    "python_slice_tokens": 638,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated capability token is not a *credential* that an agent \"holds\"; it is a *proof of a path* from a root principal through zero or more delegators to the current holder. The invariant that matters is **monotone attenuation**: for every token `T_child` minted by holder of `T_parent`, the effective permission set `P(T_child) ⊆ P(T_parent)`, and the dele...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds a root token scoped to `{resource: \"repo:acme/*\", action: [\"read\"], constraints: {paths: [\"src/**\"]}, max_depth: 2, exp: T+3600}`. `P` receives it, and because `E` needs to run a build, `P` mints a child token. The minting code constructs the child scope by *copying* the parent's resource glob, *adding* `\"execute\"` to the action list (justifi...",
    "condition_of_validity": "The attenuation invariant holds **only if** the minting function computes the child scope as a *meet* (greatest lower bound) in every lattice independently, and the verifier recomputes that meet from the parent rather than trusting the child's serialized scope. Concretely, for each dimension `d ∈ {resources, actions, constraints, depth, expiry}`: - `child[d]...",
    "decision_boundary": "The decision an instance faces at mint time is: **does the requested child scope represent a genuine narrowing, or a request the parent cannot satisfy?** These are different and must not collapse. - If `requested[d] ⊑ parent[d]` for all `d` (requested is below parent in every lattice), mint the meet. This is the normal path. - If `requested[d]` is *incompara...",
    "operational_effect": "An instance that enforces the per-dimension meet with fail-closed widening detection changes three observable behaviors: 1. **Minting latency and error rate rise at the planner hop.** Widening requests that previously produced a working (over-broad) token now produce `AttenuationViolation`. The planner must either request a narrower action (e.g., `execute` o..."
  },
  "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": "774e6069608762fdf2092050aa189aa1f05fb9d1088bf372bec84d0510202573",
    "verified_classes": [
      "AttenuationViolation",
      "CapabilityToken"
    ],
    "verified_functions": [
      "_subset_resources",
      "mint_child",
      "verify_chain",
      "__init__",
      "fingerprint"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "AttenuationViolation"
    ],
    "sample_fail_closed_invariants": [
      "depth",
      "resources",
      "actions",
      "expiry"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
