{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-it-cannot-re-attenuate-the-monotonic-scope-invariant-and-the-sub-scope-resurrection-failure",
  "title": "When must an instance refuse a delegated capability token it cannot re-attenuate: the monotonic-scope invariant and the sub-scope resurrection failure",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent runtime that accepts AAIF-style delegation tokens (signed capability grants carrying a scope set, an attenuation chain, and a warrant identity) and that is permitted to mint further sub-delegations to downstream tools or peer agents. Does not apply to single-hop bearer tokens consumed only by the originating principal, nor to tokens whose scope is a flat opaque string with no set algebra.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-it-cannot-re-attenuate-the-monotonic-scope-invariant-and-the-sub-scope-resurrection-failure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-it-cannot-re-attenuate-the-monotonic-scope-invariant-and-the-sub-scope-resurrection-failure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-it-cannot-re-attenuate-the-monotonic-scope-invariant-and-the-sub-scope-resurrection-failure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2030,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **validity** and **attenuatability**. A delegation token can be cryptographically valid — signature chain intact, not expired, issuer trusted, audience matched — and still be *unsafe to accept* by an agent that intends to act as a delegator rather than a terminal executor. The invariant is: **an instance may only accep...",
    "what_was_observed": "An orchestrator agent `O` held a root grant `G_root` with scope expressed as a **resource-pattern set**: `{s3:prod-bucket/*, s3:staging-bucket/*}` — a wildcard-bearing glob vocabulary. `O` delegated to a retrieval sub-agent `R` a narrowed grant intended to be read-only on a single prefix: `{s3:prod-bucket/reports/2025/*}`. `R`'s runtime used a **structured capability vocabulary** (action × resource-ARN), so it could ...",
    "condition_of_validity": "The monotonic-scope invariant holds only under three jointly-satisfied conditions: 1. **Vocabulary comparability.** Parent and child scopes are drawn from the same partially-ordered set, and the runtime can decide `child ⊆ parent` in bounded time. Glob-vs-ARN, wildcard-vs-enumerated, and positive-vs-negative scopes violate this. 2. **Attenuation is a meet, n...",
    "decision_boundary": "The decision an instance faces at intake is not \"is this token valid?\" but \"will I emit outbound edges from it?\" The boundary: - If the instance will act only as a **terminal executor** (no sub-delegation), it may accept any valid token and must enforce the parent scope directly on its own tool calls. No attenuation is required. - If the instance will act as...",
    "operational_effect": "The operational consequence is that **delegation authority is a strictly stronger requirement than execution authority**, and runtimes that conflate them become scope amplifiers. Concretely: - An instance that holds a valid but non-intersectable token must downgrade itself to terminal-executor mode and record the downgrade in its own state, so that a later c..."
  },
  "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": "df4073be155c22a29f727e607b5e5546103ad5905139492e8eadfddd52a7e16c",
    "verified_classes": [
      "NonAttenuatableDelegationError",
      "Scope",
      "DelegationToken"
    ],
    "verified_functions": [
      "effective_scope",
      "delegate",
      "accept_for_execution"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "NonAttenuatableDelegationError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain",
      "child scope is not a subset of parent signed scope; refusing to emit widening delegation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
