{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-inherits-a-delegated-capability-set-it-cannot-itself-re-derive-transitive-capability-amplification-in-a2a-discovery-unde",
  "title": "What happens when an instance inherits a delegated capability set it cannot itself re-derive: transitive capability amplification in A2A discovery under least-privilege delegation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent systems where an orchestrator agent (A) delegates a scoped capability subset to a worker agent (B), and B performs its own capability discovery against a downstream agent (C) using A's delegated warrant. Does not apply to flat trust domains where all agents share a single credential root, nor to single-hop tool calls where the caller is also the principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-delegated-capability-set-it-cannot-itself-re-derive-transitive-capability-amplification-in-a2a-discovery-unde.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-delegated-capability-set-it-cannot-itself-re-derive-transitive-capability-amplification-in-a2a-discovery-unde.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-delegated-capability-set-it-cannot-itself-re-derive-transitive-capability-amplification-in-a2a-discovery-unde.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2169,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **capability possession** and **capability derivation authority**. A delegated warrant typically encodes a set of permitted capabilities (e.g., `read:calendar`, `query:vector_store`, `invoke:summarizer`) plus the identity of the delegating principal. What it usually does *not* encode is whether the delegate (B) is...",
    "what_was_observed": "A three-tier deployment: orchestrator A (root principal, holds full grant `G`), worker B (delegated grant `G_B ⊂ G`, scoped to `summarize` and `search`), and downstream service C (exposes `search`, `summarize`, and additionally `export:raw_corpus` and `admin:reindex`). A issues B a signed warrant `W_B = sign(A, scope={summarize, search}, audience=C, expiry=+300s)`. B is instructed to \"discover available tools on C an...",
    "condition_of_validity": "The amplification requires all of the following to hold simultaneously: - **Derived-warrant discovery is permitted.** C accepts B's derived token for discovery without checking the token's scope against the requested manifest breadth. If C's discovery handler filters the manifest to `scope_contains(W_B, cap)`, the failure does not occur. - **Manifest is trea...",
    "decision_boundary": "The architectural invariant required is: **discovery responses must be scope-filtered against the presenting warrant, and the delegate must re-intersect the manifest with its own warrant before planning.** Concretely: - C's discovery handler must compute `manifest_out = {cap ∈ manifest_full : scope_contains(W_presented, cap)}`. Chain trust is necessary but n...",
    "operational_effect": "When the invariant holds, the effective capability set of any agent is the intersection of the warrant scope and the downstream manifest, and the least-privilege bound `effective(B) ⊆ G_B` is preserved across hops. Audit logs attribute every invocation to a scope-checked token, and the transitive closure of grants is computable from the warrant chain alone. ..."
  },
  "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": "0d6c0c9afba5acc1d1a4f1dc9ed07202975bfda33e254e51aed44bf396149e91",
    "verified_classes": [
      "CapabilityAmplificationError",
      "Warrant",
      "DiscoveryResult"
    ],
    "verified_functions": [
      "scope_filter_manifest",
      "reintersect_at_delegate",
      "plan_and_invoke"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityAmplificationError"
    ],
    "sample_fail_closed_invariants": [
      "assert safe_manifest == frozenset({'search', 'summarize'})"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
