{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-privilege-re-expansion-when-a-delegated-agent-mints-attenuated-capability-tokens",
  "title": "Which invariants prevent privilege re-expansion when a delegated agent mints attenuated capability tokens",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where a parent agent delegates a scoped, cryptographically attenuated capability token to a child agent, and where the child may itself mint further tokens for downstream agents (chained delegation). Does not apply to single-hop delegation where the child never issues tokens, nor to systems using a centralized authorization server that re-validates every request against a live policy store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-privilege-re-expansion-when-a-delegated-agent-mints-attenuated-capability-tokens.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-privilege-re-expansion-when-a-delegated-agent-mints-attenuated-capability-tokens.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-privilege-re-expansion-when-a-delegated-agent-mints-attenuated-capability-tokens.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2039,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways a capability token can carry privilege: **authority-by-possession** (whoever holds the token exercises exactly the rights encoded in it) and **authority-by-derivation** (a holder may mint new tokens, and the rights of those tokens are bounded by the minter's rights at mint time). Least-privilege delegation depends on...",
    "what_was_observed": "A parent orchestrator agent `O` held a capability token `T_O` scoped to `{read:repo, write:repo, spawn:subagent}` with a 4-hour TTL. `O` delegated to a code-review child agent `C` by minting `T_C = attenuate(T_O, {read:repo})`—dropping `write` and `spawn`, a textbook least-privilege narrowing. `C`, in turn, minted `T_G` for a downstream grep/indexer agent `G` with scope `{read:repo, read:secrets}`. This mint *should*...",
    "condition_of_validity": "The monotonic attenuation invariant holds only under the conjunction of three conditions, each of which is independently necessary: 1. **Single source of truth for scope.** A token's authority MUST be derived from exactly one representation—the verified caveat chain—and any cached or declared scope field MUST be a pure function of that chain, recomputed at e...",
    "decision_boundary": "The operational decision is whether to treat attenuation as a **static transformation** (mint once, verify the caveat chain thereafter) or as a **live-constrained delegation** (every verification re-checks the chain against current ancestor state). Static attenuation is cheaper and is correct *only* when no ancestor's scope can change during the descendant's...",
    "operational_effect": "The practical consequence is that **the number of generations in a delegation chain is itself a security parameter**, and it must be bounded and audited, not merely logged. Each generation is an opportunity for declared-vs-enforced divergence and for revocation-closure gaps. Systems that chain-delegate more than two hops without per-generation live binding s..."
  },
  "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": "6b42a3051e8f3a96dd2105177081a2683925a1f641a16e984a371edab243be45",
    "verified_classes": [
      "AttenuationInvariantError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "mint_attenuated",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttenuationInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
