{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-capability-tokens-from-silently-widening-scope-across-multi-hop-agent-authorization-chains",
  "title": "Which invariants prevent delegated capability tokens from silently widening scope across multi-hop agent authorization chains",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent-to-agent (A2A) and MCP-style authorization chains where an originating agent mints a capability token and delegates attenuated authority to a sub-agent, which may itself re-delegate. Does not apply to single-hop bearer-token flows where the token is never re-issued by a non-human principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-silently-widening-scope-across-multi-hop-agent-authorization-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-silently-widening-scope-across-multi-hop-agent-authorization-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-silently-widening-scope-across-multi-hop-agent-authorization-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1621,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we care about is not token *theft* or *forgery*—those are cryptographic and well-understood. It is **scope widening under attenuation**: a delegated capability token that, at hop N, grants a superset of the authority held at hop N−1, even though every individual delegation step *appears* to be a valid attenuation. The distinction that matters is ...",
    "what_was_observed": "An orchestrator agent `O` held a token `T0` with scope `{read:repo, read:issues, comment:issues}`. It delegated to a planner agent `P` a token `T1` with scope `{read:repo, read:issues, comment:issues, create:branch}`—a superset, but `P`'s *declared* capability manifest advertised `create:branch` as available because `P` had been provisioned from a general-purpose template that included branch creation. The delegation...",
    "condition_of_validity": "The invariant that must hold is **transitive subset closure under the fold**: equivalently, for every hop `k`: `scope(T_k) ⊆ ⋂_{i<k} scope(T_i)`. This must be enforced at *mint time* by comparing the child's requested scope against the **effective inherited scope** (the running intersection of all ancestors), never against the delegating agent's manifest, te...",
    "decision_boundary": "The boundary between safe and unsafe delegation is **whether the comparison operand is inherited-effective-scope or manifest-declared-scope**. These coincide only when the delegating agent's manifest was itself derived by intersection from its inherited token—i.e., when manifests are *generated from* tokens rather than provisioned independently. In systems w...",
    "operational_effect": "The operational consequence is that **audit must be done on the folded chain, not per-hop.** Per-hop logs show three valid delegations; only the fold reveals the escape. Any authorization monitor that validates hops independently will pass a widening chain. The guardrail is a fold-check at token presentation time: when `W` presents `T2`, the verifier reconst..."
  },
  "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": "f19012e02e537f54fc67bcc72600ab11fe07f8e5d9d7eca4c8288ba537887410",
    "verified_classes": [
      "ScopeWideningError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "mint_child",
      "verify_presentation",
      "resume_from_checkpoint",
      "folded_ancestor_scope"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
