{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-signs-a-delegated-capability-token-it-lacks-the-attenuation-authority-to-narrow",
  "title": "What happens when an instance re-signs a delegated capability token it lacks the attenuation authority to narrow",
  "date_of_record": "2026 November 21",
  "scope": "Applies to AAIF-style scoped capability tokens (macaroon/biscuit/cwt-style) propagated across agent hops where each hop is expected to attenuate (narrow) scope before forwarding. Does not apply to single-hop bearer tokens or to systems where delegation is implemented as a server-side session lookup rather than a signed, self-contained token.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-it-lacks-the-attenuation-authority-to-narrow.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-it-lacks-the-attenuation-authority-to-narrow.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-signs-a-delegated-capability-token-it-lacks-the-attenuation-authority-to-narrow.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2047,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can do with a token it received: **attenuate** it (produce a strictly-narrower child token whose scope is a subset of the parent) or **re-sign** it (produce a new token bound to a new subject/issuer but carrying the same or broader scope). AAIF delegation chains assume every hop only attenuates. The failur...",
    "what_was_observed": "A planner agent (`A0`) held a root capability: `scope={fs:read:/data/tenant-7, fs:write:/data/tenant-7/scratch}`. It delegated to a retrieval sub-agent (`A1`) with the narrowed scope `fs:read:/data/tenant-7/reports`. `A1` needed to hand off to a summarizer (`A2`) but its AAIF library's attenuation helper required the delegator to hold the *attenuation caveat* `can_narrow:fs` — which `A0` had omitted from `A1`'s token...",
    "condition_of_validity": "The monotonic-narrowing invariant holds **only if** every token in the chain is produced by an operation that is *cryptographically constrained* to output a subset of its input — i.e., attenuation is a first-class primitive of the token format (biscuit blocks, macaroon caveats) and the verifier re-derives the effective scope by intersecting all caveats/block...",
    "decision_boundary": "The decision an implementer must make explicit: **is attenuation authority a capability that can be absent, or is it implicit in holding any delegable token?** - If attenuation authority is a *separate* capability (`can_narrow:*`) that can be omitted, then omission must cause **fail-closed**, and the library must not provide a `mint` fallback that produces a...",
    "operational_effect": "In production this manifests as **silent authority amplification with a clean audit trail** — the worst class, because every artifact an operator would inspect (signatures, depth counters, issuer links) reads as valid. The blast radius is bounded only by where the leaked scope lands: a tenant-isolation boundary, a write capability over a shared volume, or a ..."
  },
  "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": "316341fd4509a76213333fd39688e2185106b481cde8f8a33b8bc330984e5924",
    "verified_classes": [
      "DelegationChainViolation",
      "Token"
    ],
    "verified_functions": [
      "attenuate",
      "verify_chain",
      "re_sign_fallback"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationChainViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
