subagent given silly instructions (started recently) #9178

Open
opened 2026-02-16 18:11:49 -05:00 by yindo · 2 comments
Owner

Originally created by @dogmatic69 on GitHub (Feb 12, 2026).

Originally assigned to: @thdxr on GitHub.

Description

The sub-agent is instructed to investigate the repo and return all SQL in full. The project is reasonably large....

Image

the net result is predictable.

$ cat terraform/metrics/resources/transfer-*.sql | wc -l
12328
Image

Plugins

none

OpenCode version

1.1.60

Steps to reproduce

Try an do anything with a large project, first thing the main agent does is instruct an explore agent to read the entire repository.

Screenshot and/or share link

No response

Operating System

ubuntu

Terminal

No response

Originally created by @dogmatic69 on GitHub (Feb 12, 2026). Originally assigned to: @thdxr on GitHub. ### Description The sub-agent is instructed to investigate the repo and return all SQL in full. The project is reasonably large.... <img width="1815" height="465" alt="Image" src="https://github.com/user-attachments/assets/934f0fea-1212-497c-9799-e09fb5238afc" /> the net result is predictable. ``` $ cat terraform/metrics/resources/transfer-*.sql | wc -l 12328 ``` <img width="1013" height="175" alt="Image" src="https://github.com/user-attachments/assets/14d78d1f-9d5c-4b4f-b5e8-716038acf816" /> ### Plugins none ### OpenCode version 1.1.60 ### Steps to reproduce Try an do anything with a large project, first thing the main agent does is instruct an explore agent to read the entire repository. ### Screenshot and/or share link _No response_ ### Operating System ubuntu ### Terminal _No response_
yindo added the bug label 2026-02-16 18:11:49 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2026):

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

  • #9003: Main agent hangs because of subagent (explore) - directly related to explore subagent behavior issues
  • #10688: [FEATURE]: Agent-specific instructions array - proposes a control mechanism for what instructions subagents receive
  • #9427: Auto-route to RLM when context overflows - addresses the symptom of excessive output exceeding context limits
  • #8089: Auto-compaction enabled by default, but context_length_exceeded errors still occur in agent workflows - related to context window management with agents

If you believe this is a distinct issue from the above, please clarify how it differs from existing reports.

@github-actions[bot] commented on GitHub (Feb 12, 2026): This issue might be a duplicate of existing issues. Please check: - #9003: Main agent hangs because of subagent (explore) - directly related to explore subagent behavior issues - #10688: [FEATURE]: Agent-specific instructions array - proposes a control mechanism for what instructions subagents receive - #9427: Auto-route to RLM when context overflows - addresses the symptom of excessive output exceeding context limits - #8089: Auto-compaction enabled by default, but context_length_exceeded errors still occur in agent workflows - related to context window management with agents If you believe this is a distinct issue from the above, please clarify how it differs from existing reports.
Author
Owner

@dogmatic69 commented on GitHub (Feb 12, 2026):

Those are not at all relevant.

@dogmatic69 commented on GitHub (Feb 12, 2026): Those are not at all relevant.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9178