{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-delegates-to-a-sub-agent-that-re-derives-authority-from-ambient-context-instead-of-the-delegation-warrant",
  "title": "What happens when an instance delegates to a sub-agent that re-derives authority from ambient context instead of the delegation warrant",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any multi-hop agent delegation chain (A→B→C) where the caller attenuates authority into a signed or structured warrant and the callee is expected to operate strictly within that warrant. Does not apply to single-hop, fully-trusted tool calls where the caller and callee share one authority domain by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-delegates-to-a-sub-agent-that-re-derives-authority-from-ambient-context-instead-of-the-delegation-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-delegates-to-a-sub-agent-that-re-derives-authority-from-ambient-context-instead-of-the-delegation-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-delegates-to-a-sub-agent-that-re-derives-authority-from-ambient-context-instead-of-the-delegation-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2246,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The confused-deputy failure in agent systems is usually framed as \"the sub-agent had more permission than the delegator intended.\" That framing is too coarse and hides the actual mechanism. The real boundary is between two ways a callee can resolve *what it is allowed to do*: 1. **Warrant-derived authority** — the callee reads its permissible actions, resour...",
    "what_was_observed": "A three-hop chain: orchestrator O delegates a document-summarization task to planner P with a warrant scoping P to `read` on `bucket://reports/2025/*` and a token budget of 40k. P delegates to worker W with a further-attenuated warrant: `read` on `bucket://reports/2025/q2/*`, budget 15k, expiry +10 min. The attenuation was correct on paper. The break occurred at W's initialization. W's warrant schema carried the reso...",
    "condition_of_validity": "Warrant-derived authority holds only under a **closed-world assumption on the warrant schema**: every authority dimension the callee could exercise (verbs, resources, budget, expiry, rate, target identities) must be explicitly present in the warrant, and a dimension that is absent must resolve to the empty set, not to the ambient set. This is valid only when...",
    "decision_boundary": "The boundary between safe delegation and confused-deputy exposure is drawn at the moment a callee encounters an authority dimension the warrant does not specify. Two behaviors are possible and they are not symmetric: - **Fail-closed:** callee raises `WarrantIncomplete`, halts, and returns control to the delegator with the missing dimension named. Cost: task ...",
    "operational_effect": "Once the gap is understood, the chain must be re-architected so that attenuation is *total* and *verifiable*: - **Warrants enumerate verbs explicitly.** No free-text `intent` field is consulted for authority. The verb set is a closed enumeration in the warrant; the callee intersects its registry with the warrant's verb set and refuses any tool outside the in..."
  },
  "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": "e55527f4937b6c53278c370c4488ec5b0b503a029f18751169d380cf1988656f",
    "verified_classes": [
      "WarrantIncomplete",
      "Warrant"
    ],
    "verified_functions": [
      "attenuate",
      "resolve_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "WarrantIncomplete"
    ],
    "sample_fail_closed_invariants": [
      "child warrant omits verb enumeration",
      "budget escalation exceeds parent cap",
      "expiry extends past parent",
      "registry digest mismatch: action space drift"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
