Skip to content

[FEATURE]: Insane. Add independent agents back. #27123

Closed

Description

@nmzpy

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Now if my main agent (.md) doesnt have access to edit / apply_patch, the GENERAL agent it spawns also doesn't have access to it.

I explicitly set edit - deny to some agents so they can focus purely on orchestrating general agents. Why did you make it so that now you can't do that anymore?

If I spawn an agent from the Build agent, GPT-5.5 gets the apply_patch and the editing toolset back.

Image

Activity

  1. github-actions commented on May 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    All three stem from the same regression in 1.14.46 where deriveSubagentSessionPermission() appends parent deny rules into the child session, overriding the subagent's explicit allows.

  2. lucasbabur commented on May 12, 2026

    @lucasbabur

    I have this same problem. All my subagents were voided upon upgrading. I was debugging this for 2-3 hours trying to understand what was happening. This is insane. Sometimes we want to force agents to delegate work. This makes it impossible.

  3. nmzpy commented on May 13, 2026

    @nmzpy
    Author

    I feel you, i had the same reaction when I saw GPT-5.5 saying "Oh, apply_patch is not active so let me use bash with python..."

    A lot of ridiculous merges as of late, especially the compaction when you manually type /compact and it automatically makes the agent continue work. Before it was only doing that IF the agent was in-progress, which was way smarter UX.

  4. kitlangton commented on May 13, 2026

    @kitlangton
    Contributor

    This was fixed in #27201 and should be out in the next release.

    The fix keeps Plan Mode’s inherited edit restriction, but stops parent agent self-restrictions like read, bash, and task from erasing a subagent’s own explicit permissions.

    Thanks for calling this out. The controller/delegation workflow should work again with the next release.

  5. OrShmuel22 commented on May 15, 2026

    @OrShmuel22

    This should work with the fix in #27654. The root cause is that parent edit: deny unconditionally overrides subagent edit: allow even when you deliberately delegate. The PR adds a check: if the subagent explicitly declares edit: allow, the parent's deny doesn't propagate to it. Your general agent with edit permissions would keep its edit tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions