{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-attenuate-delegated-scope-collapse-in-aaif-capability-tokens-under-non-monotonic-tool-schemas",
  "title": "When must an instance refuse to attenuate: delegated-scope collapse in AAIF capability tokens under non-monotonic tool schemas",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF-style scoped capability tokens where a parent agent mints a child token by narrowing (attenuating) a subset of its own grants for a delegated sub-agent. Does not apply to root token issuance, flat single-hop authorization, or tokens carrying only coarse RBAC roles with no scope algebra.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-attenuate-delegated-scope-collapse-in-aaif-capability-tokens-under-non-monotonic-tool-schemas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-attenuate-delegated-scope-collapse-in-aaif-capability-tokens-under-non-monotonic-tool-schemas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-attenuate-delegated-scope-collapse-in-aaif-capability-tokens-under-non-monotonic-tool-schemas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1900,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the sub-agent exceeded its token.\" That is the easy, detectable case: the grant check fails and the action is rejected. The non-obvious boundary is the case where the child token is *formally valid* under attenuation but *semantically wider* than the parent grant it was derived from, because the scope predicate is non-monotonic with respe...",
    "what_was_observed": "A delegated research agent (`child`) was issued a token by a planner agent (`parent`) to summarize documents. Parent held `doc.read` over `path_prefix:/corpus/pub/`. Parent attenuated to child as `path_prefix:/corpus/pub/./`. The child's tool call resolved `.` to the corpus root, and because the tool's path resolver collapsed `/corpus/pub/./` to `/corpus/pub/` *and then* followed a configured fallback that walked up ...",
    "condition_of_validity": "The attenuation-soundness claim `S_c ⊆ S_p ⇒ safe` is valid **iff** all of the following hold: 1. **Canonicalization idempotence and agreement.** The function `canon(·)` used to compare scopes at mint-time is the same function the enforcing tool applies to the concrete resource, and `canon(canon(x)) = canon(x)`. 2. **Injectivity over the enforcement domain.*...",
    "decision_boundary": "The decision is not \"is the child string a prefix of the parent string.\" The decision is a three-way branch: - **Provable subset → attenuate.** `canon(S_c)` is a subset of `canon(S_p)` under a closed, injective algebra, and the tool's parser is subsumed by the scope grammar. Mint the child token. - **Provable non-subset → reject.** `canon(S_c)` names a resou...",
    "operational_effect": "Downstream, a collapsed attenuation is a **silent privilege widening with a valid audit trail**. Every log line shows a correctly-scoped child token doing exactly what its token permitted — because the token permitted more than the parent intended. Incident response that filters on \"token scope violations\" finds nothing, since no scope was violated; the scop..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "180bc8eb5f7e7823421c591d74bca83eb7e3b3e84084b93300ae41fc06ce68f3",
    "verified_classes": [
      "UnprovableAttenuationError"
    ],
    "verified_functions": [
      "attenuate",
      "_is_subset"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnprovableAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
