Skip to content

Improve plan/explorer delegation workflow and read-only allowlist#311

Open
zikajk wants to merge 1 commit intomasterfrom
improve-plan-explorer-delegation
Open

Improve plan/explorer delegation workflow and read-only allowlist#311
zikajk wants to merge 1 commit intomasterfrom
improve-plan-explorer-delegation

Conversation

@zikajk
Copy link
Member

@zikajk zikajk commented Feb 16, 2026

Following up on our discussion regarding the Explorer subagent.

The current instructions have an issue where they conflict with the General agent’s instruction—specifically the part about 'researching complex questions.' The problem isn't just the conflict itself, but the fact that if the Explorer is preferred for deep research and then tries to use a skill intended to write findings to a file, it crashes. Because of this, I would still let the General subagent handle the vast majority of tasks.

The Explorer subagent makes sense in Plan mode, for example. Previously, the EXPLORE phase could eat up half the context window; that is now resolved (though there may still be rare cases where using a subagent isn't necessarily worth it or where model ignores instructions, but I’d say those will be minimal).

Without the Explorer, my plan consumed around 100k tokens. With this new delegated aggressive approach and the changes to Plan mode, I managed to get it down to 27k tokens. Personally, I see the Explorer’s greatest strength in how it handles browsing files, diffs, and similar tasks.

I’m curious to hear your thoughts on this. Give it a try, please:-)

  • I added a entry in changelog under unreleased section.
  • This is not an AI slop.

@zikajk zikajk requested a review from ericdallo February 16, 2026 13:25
Tighten plan-mode Explore delegation guidance (single-call-first with clearer follow-ups)
Allow Decide section in plan to ask questions
Refine explorer/spawn prompt wording, and auto-allow common read-only investigation commands for plan & explorer agents.
@zikajk zikajk force-pushed the improve-plan-explorer-delegation branch from fb910b9 to df6a411 Compare February 16, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant