{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-scope-narrowing-delegation-chains-from-silently-widening-at-re-issuance",
  "title": "Which invariants prevent scope-narrowing delegation chains from silently widening at re-issuance",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF-style scoped capability tokens where an agent delegates a subset of its authority to a sub-agent by minting a child token, and where the child token's scope is computed by the delegating LLM rather than by a deterministic lattice operation. Does not apply to single-hop tokens issued directly by a root authority, nor to opaque bearer tokens with no delegation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-delegation-chains-from-silently-widening-at-re-issuance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-delegation-chains-from-silently-widening-at-re-issuance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-delegation-chains-from-silently-widening-at-re-issuance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1949,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **scope as a declared set** and **scope as an inherited constraint**. A root capability token carries a scope `S_root` (e.g., `repo:read`, `repo:write:path=/src/**`, `budget:usd<=50`). When agent A delegates to agent B, AAIF requires the child scope `S_child ⊆ S_root`. The subset relation is the invariant. The failure ...",
    "what_was_observed": "A three-hop delegation chain was established for a code-remediation task: - Root token `T0`: `scope = {fs:read:path=/repo/**, fs:write:path=/repo/src/**, net:deny, budget:usd<=20}` - Agent A mints `T1` for agent B to \"read and propose fixes.\" A serializes the child scope as `{fs:read:path=/repo/**, fs:write:path=/repo/src/**, budget:usd<=10}`—dropping `net:deny`. - Agent B mints `T2` for agent C to \"fetch upstream pa...",
    "condition_of_validity": "The subset invariant `S_child ⊆ S_parent` holds *only* when all of the following are true, and the chain is unsound if any is violated: - **Total closure of the scope algebra.** Every scope dimension that exists at the root must be present in every descendant, either as an explicit grant or an explicit deny. A dimension may not be *absent*. Absence is not a ...",
    "decision_boundary": "The operational line is this: **a delegation is sound if and only if the child scope is computed by intersecting against the parent's canonical scope, never by re-deriving it from intent.** Concretely: - If the delegating agent is *selecting a subset* of a parent scope it holds in canonical form, and the minting library performs the intersection and the deny...",
    "operational_effect": "When the invariant holds, delegation depth is bounded only by token size, and each hop's authority is a mechanical function of its parent—auditable without trusting any delegator's judgment. When it fails, the chain's effective authority is the *union of every issuer's local defaults*, which is unbounded and unobservable from the root. The root authority bel..."
  },
  "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": "062840dbf1ca32141b80c36ec27dea49062e98c6c714c9713a55c2edd569f473",
    "verified_classes": [
      "ScopeWideningError",
      "Scope"
    ],
    "verified_functions": [
      "derive_child_scope",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "grant exceeds parent grant set",
      "deny set shrank across delegation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
