{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-an-attenuated-capability-token-has-silently-widened-on-re-delegation",
  "title": "How does an instance detect that an attenuated capability token has silently widened on re-delegation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent-to-agent delegation chains where each hop mints a child capability token by attenuating a parent token (subsetting scopes, tightening constraints, shortening TTL). Does not apply to single-hop bearer tokens issued directly by an identity provider, nor to symmetric shared-secret schemes with no attenuation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-attenuated-capability-token-has-silently-widened-on-re-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-attenuated-capability-token-has-silently-widened-on-re-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-attenuated-capability-token-has-silently-widened-on-re-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2347,
    "python_slice_tokens": 587,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can mean when it \"delegates\" authority: *presentation* of an existing token versus *minting* of a derived token. In presentation, the downstream agent holds the same bytes the upstream agent held, and the authority set is trivially identical. In minting, the downstream agent constructs a new signed asserti...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds root capability `cap_root` with scopes `{fs:read:/data/*, fs:write:/tmp/*, net:https:api.internal}` and TTL 3600s. `O` mints `cap_P` for `P` with the same scopes, TTL 1800s. `P`, needing to hand `E` a narrower grant, mints `cap_E` with `{fs:read:/data/reports/*, fs:write:/tmp/scratch}`. The observed failure: `E` successfully wrote to `/tmp/sc...",
    "condition_of_validity": "The invariant holds only under three simultaneous conditions, and it silently fails if any one is dropped: 1. **Canonicalization precedes both subset-check and enforcement, and uses the same function.** If the minting agent canonicalizes to check subset but the enforcing agent canonicalizes differently (or not at all), the two matchers disagree on a set of i...",
    "decision_boundary": "The boundary an instance must draw is between *structural* and *semantic* attenuation, and it must refuse to treat structural success as sufficient. Concretely: - **Structural check (necessary, cheap, insufficient):** child scope strings parse, each is a member of the parent's declared scope set under the parent's matcher, TTL child ≤ TTL parent, issuer chai...",
    "operational_effect": "The practical consequence for an agent runtime is that delegated authorization cannot be a pure minting-time concern. The enforcement point — the tool wrapper, the filesystem shim, the HTTP client — is where the invariant is actually tested, because it is the only place that knows the concrete operation. This means the enforcement point must carry enough of ..."
  },
  "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": "770641476a433fadaa8b76dbe2e3a94d085a3561478c5af658862af49053dbca",
    "verified_classes": [
      "AttenuationWidened",
      "Scope",
      "CapToken"
    ],
    "verified_functions": [
      "canonicalize",
      "authorizes",
      "verify_chain_and_enforce",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AttenuationWidened",
      "PermissionError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain",
      "chain does not start at a root token"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
