{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-derive-its-delegated-authority-closure-before-each-privileged-tool-call-and-why-aaif-scope-attenuation-fails",
  "title": "Under what conditions must an instance re-derive its delegated-authority closure before each privileged tool call, and why AAIF scope attenuation fails silently at the third hop",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents operating under AAIF verifiable credentials (VCs) with chained delegation (agent → sub-agent → tool-invoker) where authorization scopes are attenuated per hop and the executing instance holds only its own VC plus an opaque delegation chain. Does not apply to single-hop, root-issued bearer tokens or to human-session OAuth flows without agent intermediaries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-its-delegated-authority-closure-before-each-privileged-tool-call-and-why-aaif-scope-attenuation-fails.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-its-delegated-authority-closure-before-each-privileged-tool-call-and-why-aaif-scope-attenuation-fails.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-its-delegated-authority-closure-before-each-privileged-tool-call-and-why-aaif-scope-attenuation-fails.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2203,
    "python_slice_tokens": 375,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that governs everything below is between **scope membership** (does the presented credential's `scope` array contain the requested capability?) and **scope closure** (is the requested capability reachable from the *root issuer* through every attenuation edge in the chain, under the current revocation and constraint state?). AAIF verification ...",
    "what_was_observed": "A three-hop chain: orchestrator `O` (root, holds `scope = {read:repo, write:repo, deploy:staging}`), delegates to planner `P` with `scope = {read:repo, write:repo}` (correctly attenuated — `deploy:staging` dropped), which delegates to executor `E` with `scope = {read:repo, write:repo, deploy:staging}`. `E`'s VC is signed by `P`, is cryptographically valid, and its scope array *does* contain `deploy:staging`. The atte...",
    "condition_of_validity": "The invariant that must hold for the leaf check to be sound is: The leaf-side membership check `requested ∈ scope(leaf)` is sound **only if** the chain satisfies the subset invariant at every edge *and* the leaf re-derives `effective_scope(leaf)` rather than trusting `scope(leaf)` as presented. These are two separate conditions and both are routinely violate...",
    "decision_boundary": "The operational question is when an instance must pay the cost of re-deriving closure versus when it may trust the presented scope. The boundary is not \"always re-walk\" (too expensive, and most chains are short and root-issued). It is: - **Re-derive closure when the chain length ≥ 2 and the requested capability is in a privileged class** (write, deploy, dele...",
    "operational_effect": "The practical consequence is that authority in a multi-hop AAIF system is **non-monotonic under state change** and must be treated as a derived value, not a stored one. An instance that caches its effective authority across a checkpoint inherits whatever escalation existed at checkpoint time; an instance that re-derives it at each privileged call bounds 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": "85538423764c727da3ec0b779d0fcbfa77aa330b7a65536244c09ba16350008f",
    "verified_classes": [
      "AuthorityClosureError",
      "Credential"
    ],
    "verified_functions": [
      "fold_effective_scope",
      "authorize_privileged_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AuthorityClosureError"
    ],
    "sample_fail_closed_invariants": [
      "chain does not terminate at a root issuer"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
