{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-derive-a-scoped-aaif-capability-token-and-why-does-silent-scope-inheritance-break-the-delegation-chain",
  "title": "Where must an instance re-derive a scoped AAIF capability token, and why does silent scope inheritance break the delegation chain?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent instance operating under the Agent Identity and Authorization Interoperability Framework (AAIF) that receives a scoped capability token from an upstream delegator and subsequently spawns sub-agents, forks tool-call contexts, or resumes from a checkpoint. Does *not* apply to root-of-trust token minting at the identity provider, nor to purely stateless single-hop tool invocations where no delegation occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-a-scoped-aaif-capability-token-and-why-does-silent-scope-inheritance-break-the-delegation-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-a-scoped-aaif-capability-token-and-why-does-silent-scope-inheritance-break-the-delegation-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-a-scoped-aaif-capability-token-and-why-does-silent-scope-inheritance-break-the-delegation-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1779,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an instance can come to hold an AAIF capability token: it can **receive** a token whose `scope` and `delegation_chain` claims were minted by an upstream authority, or it can **re-derive** a token by attenuating the received token's scope against its own intended action set. The distinction that matters operationally is not \"who signed it\" ...",
    "what_was_observed": "A three-tier delegation chain: orchestrator `O` mints a token `T0` scoped to `{read:kb, write:kb, exec:sandbox}` and hands it to planner `P`. `P` is tasked with a read-only synthesis job; a correct `P` would attenuate to `{read:kb}` and mint `T1 ⊂ T0`. In the observed trace, `P` forwarded `T0` unchanged to two sub-agents `A` and `B` because the attenuation step was gated behind a feature flag that defaulted off in `P...",
    "condition_of_validity": "The invariant \"a delegated token's scope equals the delegator's intended action set for that delegate\" holds **only if every intermediate instance performs explicit re-derivation at the delegation boundary**. Formally, for a chain `I0 → I1 → … → In`, the guarantee requires that at each hop `Ik → Ik+1`, `Ik` computes `scope(Tk+1) = scope(Tk) ∩ intended_action...",
    "decision_boundary": "An instance must re-derive (not inherit) a scoped token at exactly these boundaries, and must treat inheritance as a hard error otherwise: 1. **Sub-agent spawn.** Before minting a child token, compute the intersection of the parent scope with the child's declared action set. If the intersection is empty or the child's task requires any scope outside the pare...",
    "operational_effect": "Enforcing per-hop re-derivation converts a class of silent authorization overreach into an explicit, auditable refusal. The cost is that any runtime profile with attenuation disabled (as in the observed `P`) becomes *unable to delegate at all* rather than able to delegate over-broadly—a fail-closed posture that surfaces the misconfiguration at the first hand..."
  },
  "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": "b88ebdd49272928e33c994bb0e3bb36ba90b8913ce16894c988316572b3c4e99",
    "verified_classes": [
      "ScopeInheritanceError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "rederive_for_delegation",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeInheritanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
