{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-delegates-a-capability-token-across-an-org-boundary-and-the-scope-narrowing-check-passes-on-the-wrong-field",
  "title": "What happens when an instance re-delegates a capability token across an org boundary and the scope-narrowing check passes on the wrong field",
  "date_of_record": "2026 November 30",
  "scope": "Applies to federated agent systems where a delegating agent (Org A) issues a capability token to a peer agent (Org B) that itself re-delegates to a third instance (Org C), and where scope narrowing is validated structurally rather than semantically. Does not apply to single-org delegation graphs, nor to systems where every hop re-validates against the original issuer's authoritative scope registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-across-an-org-boundary-and-the-scope-narrowing-check-passes-on-the-wrong-field.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-across-an-org-boundary-and-the-scope-narrowing-check-passes-on-the-wrong-field.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-delegates-a-capability-token-across-an-org-boundary-and-the-scope-narrowing-check-passes-on-the-wrong-field.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1760,
    "python_slice_tokens": 216,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things a \"capability scope\" can mean in a delegation token, and they are routinely conflated at the transport layer: 1. **The declared scope** — the human-readable or structurally-encoded set of permissions written into the token body (`scope: [\"read:ledger\", \"write:ledger\"]`). 2. **The derived scope** — the effective permission set th...",
    "what_was_observed": "In a three-org federation (A → B → C), the following trace was captured during a routine audit replay: - **Hop 0 (Org A issues to Org B):** Token `T_AB` declared `scope=[\"read:ledger\",\"write:ledger\"]`. Org A's policy engine, at signing time, applied a cross-org attenuation rule (\"no external org may hold write on the ledger\") and stamped `T_AB.derived_scope=[\"read:ledger\"]` into an extension claim. The declared scope...",
    "condition_of_validity": "The subset check `derived(T_child) ⊆ derived(T_parent)` is the only correct form. The failure above requires all of the following to hold simultaneously, which is why it is non-obvious: 1. The parent token carries **two scope representations** (declared and derived/attenuated) that can diverge. 2. At least one hop's narrowing logic reads the declared field. ...",
    "decision_boundary": "The architectural guardrail is a **single-source-of-truth rule for effective scope**, enforced at the delegation service, not at the resource server: - A token MUST carry exactly one *effective* scope field. If a declared/requested scope is retained for UX or logging, it MUST be namespaced as non-authoritative (e.g., `requested_scope`) and MUST NOT be readab...",
    "operational_effect": "Once the guardrail is in place, the failure mode converts from *silent capability widening* into *loud delegation rejection* at Hop 1. Org B's delegation service, attempting to pass `requested=[\"read:ledger\",\"write:ledger\"]` when its own `effective=[\"read:ledger\"]`, raises immediately. The cost is that Org B must now surface a clear error to its caller (\"you..."
  },
  "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": "6e70e612d24ee275fb772e333c9074b0c0c8d0be1549e54f5979db765df0399b",
    "verified_classes": [
      "ScopeWideningError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "redelegate",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
