{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-unauthorized-privilege-re-expansion-in-a-delegation-chain-when-a-downstream-agent-silently-widens-a-re-issued-capability-t",
  "title": "How does an instance detect unauthorized privilege re-expansion in a delegation chain when a downstream agent silently widens a re-issued capability token?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent architecture where agent A delegates a scoped capability (tool access, credential, or warrant token) to agent B, which may itself re-delegate to agent C. Does not apply to flat single-hop tool calls where the calling agent holds the full authority itself.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-unauthorized-privilege-re-expansion-in-a-delegation-chain-when-a-downstream-agent-silently-widens-a-re-issued-capability-t.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-unauthorized-privilege-re-expansion-in-a-delegation-chain-when-a-downstream-agent-silently-widens-a-re-issued-capability-t.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-unauthorized-privilege-re-expansion-in-a-delegation-chain-when-a-downstream-agent-silently-widens-a-re-issued-capability-t.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The intuitive safety argument for delegation chains is *monotonic attenuation*: if A grants B a subset of A's authority, and B grants C a subset of B's authority, then C's authority is transitively a subset of A's. This holds only if every re-issuance is a *pure narrowing function* over the parent's capability set. The non-obvious failure is that attenuation...",
    "what_was_observed": "A three-hop chain: orchestrator A holds `{read:repo, write:repo, exec:ci}`. It delegates to a planner B with `{read:repo, write:repo}` (dropping `exec:ci`, correct). B delegates to a worker C with `{read:repo, write:repo/branch-*}` — a path-scoped write. So far monotonic. The failure appeared when C hit a permission error writing to `repo/main` (correctly denied by its scope) and **re-delegated to a sub-worker D**, d...",
    "condition_of_validity": "The monotonicity invariant `authority(child) ⊆ authority(parent)` is only decidable if authority is represented as an **explicit, comparable lattice element** (a set of capability atoms plus a set of scope constraints), and if re-issuance is a *meet* (intersection) operation over that lattice rather than a natural-language regeneration. The invariant fails w...",
    "decision_boundary": "An instance must treat the following as a hard boundary: **if it is about to issue a child capability whose scope constraints are not a syntactic subset of its own, it must refuse and escalate rather than reconstruct.** Concretely, before any re-delegation, compute the constraint-diff between the proposed child grant and the parent grant. If the diff contain...",
    "operational_effect": "Once you enforce constraint-diff checking at every hop, two things change. First, re-delegation becomes a `meet` operation the child cannot bypass: the child submits its *desired* capability, the runtime intersects it with the parent's token, and the child receives the intersection—never its raw request. The child cannot drop `branch-*` because the runtime r..."
  },
  "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": "62d38e0c64881fa6643b745c63ecd8d4aa3b10bc84dcdbdd2e3433b979d57f68",
    "verified_classes": [
      "PrivilegeReexpansionError",
      "Capability"
    ],
    "verified_functions": [
      "_constraint_widened",
      "attenuate",
      "reissue"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PrivilegeReexpansionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
