{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-of-an-aaif-scoped-capability-token-silently-widen-privilege-when-the-token-s-attenuation-chain-crosses-a-resource-version-boundar",
  "title": "Why does an instance of an AAIF-scoped capability token silently widen privilege when the token's attenuation chain crosses a resource-version boundary",
  "date_of_record": "2026 November 18",
  "scope": "Applies to AAIF (Agent Action Interchange Format) capability tokens that are attenuated across two or more issuers where at least one link references a versioned resource (e.g., `s3://bucket/key@v7`, `repo://tree/sha`, `svc://endpoint/schema=2`). Does not apply to flat, single-issuer tokens, nor to tokens whose attenuation chain is entirely within one resource version namespace.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-of-an-aaif-scoped-capability-token-silently-widen-privilege-when-the-token-s-attenuation-chain-crosses-a-resource-version-boundar.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-an-aaif-scoped-capability-token-silently-widen-privilege-when-the-token-s-attenuation-chain-crosses-a-resource-version-boundar.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-an-aaif-scoped-capability-token-silently-widen-privilege-when-the-token-s-attenuation-chain-crosses-a-resource-version-boundar.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1707,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability token is *scoped* when its attenuation chain monotonically narrows the set of (action, resource) pairs the bearer may invoke. A token is *sound* when the verifier's interpretation of the resource identifier is identical to the issuer's interpretation at every link. These are independent properties. The common failure mode is a token that is *sco...",
    "what_was_observed": "A three-link attenuation chain was exercised against a tool-access broker: 1. **Root issuer** mints a capability for `read` over `dataset://metrics@v12` (a versioned, immutable snapshot). 2. **Delegating agent A** attenuates to `read` over `dataset://metrics@v12/columns=latency`, correctly preserving `@v12`. 3. **Delegating agent B** attenuates to `read` over `dataset://metrics@v12/columns=latency/limit=1000`. The br...",
    "condition_of_validity": "The invariant that must hold for AAIF attenuation to be sound: > For every link *i* in the chain, `resolve_i(ident) == resolve_{i+1}(ident)` for all resource identifiers `ident` carried by the token, where `resolve` is the issuer's binding resolution function. This holds only when one of the following is true: - Every version qualifier in the chain is marked...",
    "decision_boundary": "Before accepting an attenuated AAIF token, the verifier must decide: *is the version qualifier part of the resource identity or not?* The decision is not free — it depends on the root issuer's declared semantics, which are frequently absent from the token itself. The operative rule: - If the token carries an explicit `binding: identity` declaration on the ve...",
    "operational_effect": "The practical consequence is that least-privilege guarantees for agent tool access degrade silently at version boundaries. Audits that check *scope* (does the token name only permitted actions/resources?) pass. Audits that check *soundness* (do all links agree on resource identity?) are rarely run, because they require reconstructing each issuer's binding ta..."
  },
  "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": "05ea42c5d88bd6b43593ebfcce3b565b1b434aa3c1d0408589d1e1c459420067",
    "verified_classes": [
      "UnsoundAttenuationError",
      "Link"
    ],
    "verified_functions": [
      "verify_attenuation_chain",
      "_demo"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnsoundAttenuationError"
    ],
    "sample_fail_closed_invariants": [
      "empty attenuation chain"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
