Skip to content

Allow subagents to forward permission requests to foreground conversation #18885

@unthingable

Description

@unthingable

Problem

When subagents (spawned via the Task tool) run in dontAsk mode, they cannot prompt for permissions. Tools not in the user's allow list are auto-denied silently. This creates a frustrating pattern:

  1. User asks a question
  2. Claude spawns a subagent to research it
  3. Subagent needs a tool (e.g., WebFetch) that isn't pre-approved
  4. Tool is auto-denied, agent works around it or fails partially
  5. User only discovers this if the agent happens to mention the error

The current model forces users to either:

  • Pre-approve a broad set of tools (reducing security)
  • Accept that agents may silently fail on useful operations

Proposed Solution

Allow subagents to pause and forward permission requests to the foreground conversation:

  1. Agent hits a tool requiring permission
  2. Agent pauses execution
  3. Permission request surfaces to the main conversation
  4. User approves/denies
  5. Agent resumes with the result

Alternative/Complementary Approach

Provide a way to verify and pre-approve necessary permissions before launching an agent:

  • Agents could declare what tools they might need
  • Claude could check permissions before spawning
  • User could be prompted to approve missing permissions upfront

Why This Matters

Launching background agents is efficient and smart. But if those agents are silently doomed by missing permissions, the efficiency gain is lost. Users end up with partial results without understanding why.

This would improve:

  • Transparency: Users see when agents need additional permissions
  • Flexibility: No need to pre-approve everything "just in case"
  • Reliability: Agents don't silently degrade due to permission gaps

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions