{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-delegated-authority-when-a-scoped-capability-token-is-re-minted-across-a-consent-chain-hop",
  "title": "Why does an instance lose delegated authority when a scoped capability token is re-minted across a consent chain hop",
  "date_of_record": "2026 November 19",
  "scope": "Applies to multi-hop delegated authorization where a parent agent mints a narrowed, scoped capability token for a child agent, and the child may re-delegate to a grandchild. Does not apply to single-hop bearer tokens validated directly against an issuer, nor to opaque session tokens whose scope is server-resolved at each call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-when-a-scoped-capability-token-is-re-minted-across-a-consent-chain-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-when-a-scoped-capability-token-is-re-minted-across-a-consent-chain-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-authority-when-a-scoped-capability-token-is-re-minted-across-a-consent-chain-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1676,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token\" or \"revoked grant.\" It is **scope-narrowing loss under re-mint**: when a child agent re-delegates, it must produce a *new* token whose scope is the intersection of (its own granted scope) and (what it intends to grant). The non-obvious invariant is that **the intersection must be computed against the token's declared scope,...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds a root capability `filesystem:write:/data/reports/*` and a root consent for `delegation:max_depth=3`. `O` mints a token for `P` scoped to `filesystem:write:/data/reports/q3/*` with `delegation:max_depth=2`. `P`'s tool registry advertises `filesystem:write:/data/*` (a static capability manifest, not derived from the token). `P` decides to dele...",
    "condition_of_validity": "The invariant that must hold for a delegated token to be sound: > For every link `(parent → child)` in the consent chain, `child.token.scope ⊆ parent.token.scope`, evaluated against the **immutable scope claim embedded in the parent token**, never against any runtime-derived or manifest-derived scope. This invariant is *not* implied by signature validity, de...",
    "decision_boundary": "The boundary between \"safe re-mint\" and \"widening re-mint\" is exactly the choice of scope source. Concretely: - **Safe:** `new_scope = intersect(token.scope_claim, intended_grant)`. If `intended_grant ⊄ token.scope_claim`, the intersection is empty or narrower, and the child either refuses or grants less. The chain narrows monotonically. - **Unsafe:** `new_s...",
    "operational_effect": "When this boundary is crossed, the failure is silent at mint time and silent at validation time if the validator shares the same wrong-source bug. It surfaces only as an **out-of-scope side effect**—a write to `q4` that no human consent actually authorized—and is often attributed to the executor `E` rather than to `P`'s re-mint. Post-hoc audit of the consent..."
  },
  "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": "97eb5762b9524f38847210d18373f5a6c42e53b166af5bf2e9ac63ae67d9945f",
    "verified_classes": [
      "ScopeWideningError"
    ],
    "verified_functions": [
      "remint_delegated_token",
      "_is_subset",
      "validate_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
