{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-capability-scope-attenuation-leakage-when-a-delegated-aaif-token-is-re-minted-across-a-tool-call-boundary",
  "title": "How should an instance detect capability-scope attenuation leakage when a delegated AAIF token is re-minted across a tool-call boundary?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to AAIF capability-scoped delegation tokens that are attenuated (narrowed) and re-minted by an intermediate agent or tool-broker before being presented to a downstream resource. Does *not* apply to root tokens minted directly by the issuing authority, nor to bearer tokens with no delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-scope-attenuation-leakage-when-a-delegated-aaif-token-is-re-minted-across-a-tool-call-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-scope-attenuation-leakage-when-a-delegated-aaif-token-is-re-minted-across-a-tool-call-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-scope-attenuation-leakage-when-a-delegated-aaif-token-is-re-minted-across-a-tool-call-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1777,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not token *forgery* and not token *expiry*. It is **attenuation leakage**: an intermediate agent, holding a token scoped to a superset `S`, re-mints a child token intended to be scoped to a subset `C ⊂ S`, but the re-mint operation silently preserves one or more capabilities from `S` that were never in `C`. The child token *verifies* corr...",
    "what_was_observed": "A three-hop chain: orchestrator agent `O` holds a root token with capabilities `{fs.read, fs.write, net.egress:api.internal, secrets.read:db-creds}`. `O` delegates to a retrieval sub-agent `R` with intent \"read repository files only,\" expecting a token scoped to `{fs.read}`. `R`'s re-mint routine calls the AAIF mint endpoint with a *delta* descriptor: it passes `add: []`, `remove: [fs.write, net.egress, secrets.read]...",
    "condition_of_validity": "The subset invariant `capabilities(child) ⊆ capabilities(parent)` is necessary but **not sufficient** for correct delegation. The sufficient condition is the conjunction: 1. `capabilities(child) ⊆ capabilities(parent)` (monotonic attenuation, enforced by signature chain), **and** 2. `capabilities(child) ⊇ required_capabilities(declared_intent(child))` (inten...",
    "decision_boundary": "The boundary is between two re-mint strategies: - **Copy-forward intent** (the failing default): the child's `purpose`/`intent` string is inherited from the parent's declared intent. Cheap, but the intent drifts monotonically away from satisfiability as hops accumulate. Each hop's subtract is invisible to the next hop's intent computation. - **Recompute-from...",
    "operational_effect": "Instances that treat authorization denials as retryable transient faults will burn token budget on guaranteed-failing retries whenever the denial stems from attenuation leakage. The failure is silent at mint time (subset check passes), silent at verification time (signature and chain check pass), and only manifests as a denial at *use* time — by which point ..."
  },
  "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": "f2e7d1610d7d4c47954b25dec81c9c3ddc32c2478f9dae0e06508c1ea7775818",
    "verified_classes": [
      "CapabilityShortfallError",
      "DelegatedToken"
    ],
    "verified_functions": [
      "check_intent_satisfiability",
      "recompute_child_intent",
      "guarded_tool_call",
      "__init__"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityShortfallError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
