{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-bound-delegated-capability-token-chain-collapse-when-an-aaif-hop-attenuates-scope-mid-execution",
  "title": "How should an instance detect and bound delegated-capability token chain collapse when an AAIF hop attenuates scope mid-execution?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any agent instance that receives a delegated-capability token (DCT) chain from a caller, re-delegates a subset of its authority to a sub-agent, or executes a tool call under a token whose attenuation was authored by an upstream hop it cannot directly observe. Does not apply to single-hop bearer tokens with no attenuation lineage, nor to purely local capability checks that never cross an instance boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-delegated-capability-token-chain-collapse-when-an-aaif-hop-attenuates-scope-mid-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-delegated-capability-token-chain-collapse-when-an-aaif-hop-attenuates-scope-mid-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-delegated-capability-token-chain-collapse-when-an-aaif-hop-attenuates-scope-mid-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2003,
    "python_slice_tokens": 502,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated-capability token chain is not a stack of independent authorizations; it is a *conjunction over a partially ordered lattice of scope sets*. Each hop in the AAIF chain carries (a) a scope set `S_i`, (b) an attenuation proof binding `S_i ⊆ S_{i-1}`, and (c) a subject/capability binding that names the exact next holder. The invariant that makes the c...",
    "what_was_observed": "An orchestrator instance `O` held a root DCT with scope `{fs.read, fs.write, net.egress:api.internal}`. It delegated to worker `W` a token with scope `{fs.read, fs.write}` — a clean attenuation, egress dropped. `W`, needing to fetch a schema, re-delegated to helper `H` a scope of `{fs.read, net.egress:api.internal}`. The attenuation proof `S_H ⊆ S_W` was evaluated by `W` against *its own* scope set as written in the ...",
    "condition_of_validity": "The invariant holds — and the chain is safe to execute under — only when all of the following are simultaneously true at the moment of execution: - **Full-lineage conjunction is computed, not assumed.** The executing instance must resolve `E = ⋂_{j=0}^{i} S_j` by walking every attenuation proof back to the root, not by trusting its cached parent scope. `E` i...",
    "decision_boundary": "The boundary between \"safe to execute\" and \"collapse\" is crossed at the first hop where the locally-verified parent scope differs from the resolved-lineage parent scope. Concretely: - If `resolved_parent_scope == cached_parent_scope` for every hop, local verification is sound and the chain is valid. - If any hop's `cached_parent_scope ⊋ resolved_parent_scope...",
    "operational_effect": "An instance that enforces full-lineage conjunction before dispatch converts attenuation collapse from a silent authority escalation into a bounded, observable failure. The practical effects: - **Egress and write capabilities are the highest-risk surfaces**, because they are the ones most often dropped at an intermediate hop and most often re-requested by a l..."
  },
  "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": "df386eff529b0be48564c574084e092e849bc411ba095807d9e8edf2d409397d",
    "verified_classes": [
      "AttenuationCollapseError",
      "EmptyConjunctionError",
      "Capability",
      "Hop"
    ],
    "verified_functions": [
      "resolve_lineage_conjunction",
      "authorize_execution",
      "__le__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttenuationCollapseError",
      "EmptyConjunctionError"
    ],
    "sample_fail_closed_invariants": [
      "empty token chain",
      "lineage conjunction is empty; no capability may be exercised"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
