Can't see what the sub-agent is doing, and I can't chat with it. #1248

Closed
opened 2026-02-16 17:30:09 -05:00 by yindo · 1 comment
Owner

Originally created by @AymericG on GitHub (Aug 11, 2025).

Originally assigned to: @thdxr on GitHub.

I want to start by saying you are doing a phenomenal job. I love opencode.

I am experimenting with having a sub-agent responsible with code coverage.

One of the steps is to lay down the list of tests to be written and ask user for approval.

But I don't seem to be able to interact with the sub-agent. My messages are being queued, and I can't even see the output coming from the sub-agent. Is that how it is meant to be?

In this screenshot, you can see that I wrote "OK" but the message is queued. And I cannot see what the sub-agent is doing, only the high level outline.

Image

Here is the agent file cover.md:

---
description: Writes unit tests to increase code coverage
mode: subagent
temperature: 0.1
tools:
  write: true
  edit: true
  bash: true
---

# Improve code coverage of provided file

- Start by introducing yourself as the "Code Coverage Engineer"
- Look for existing unit tests
- Write a plan of the tests to write
- Ask the user for approval before continuing
- Write each test one by one, making sure the test works by running it using `npm test -- path/to/file.test.ts`

IMPORTANT: NEVER DELETE THE TEST FILE YOU WROTE.

- Additionally you suggest tools to use to better measure code coverage for typescript
- test-utils.ts contains object creation functions like createUnit, createFormation, etc...
- When you need a redux store, use the createTestStore function in @app/app/store
Originally created by @AymericG on GitHub (Aug 11, 2025). Originally assigned to: @thdxr on GitHub. I want to start by saying you are doing a phenomenal job. I love opencode. I am experimenting with having a sub-agent responsible with code coverage. One of the steps is to lay down the list of tests to be written and ask user for approval. But I don't seem to be able to interact with the sub-agent. My messages are being queued, and I can't even see the output coming from the sub-agent. Is that how it is meant to be? In this screenshot, you can see that I wrote "OK" but the message is queued. And I cannot see what the sub-agent is doing, only the high level outline. <img width="442" height="484" alt="Image" src="https://github.com/user-attachments/assets/18e5e99a-87d4-46ba-b8cd-f793b87a610b" /> Here is the agent file cover.md: ``` --- description: Writes unit tests to increase code coverage mode: subagent temperature: 0.1 tools: write: true edit: true bash: true --- # Improve code coverage of provided file - Start by introducing yourself as the "Code Coverage Engineer" - Look for existing unit tests - Write a plan of the tests to write - Ask the user for approval before continuing - Write each test one by one, making sure the test works by running it using `npm test -- path/to/file.test.ts` IMPORTANT: NEVER DELETE THE TEST FILE YOU WROTE. - Additionally you suggest tools to use to better measure code coverage for typescript - test-utils.ts contains object creation functions like createUnit, createFormation, etc... - When you need a redux store, use the createTestStore function in @app/app/store ```
yindo closed this issue 2026-02-16 17:30:09 -05:00
Author
Owner

@AymericG commented on GitHub (Aug 12, 2025):

Ahhhh, I understand now, what I wanted is set my agent to be primary. Sorry for the super noob question.

@AymericG commented on GitHub (Aug 12, 2025): Ahhhh, I understand now, what I wanted is set my agent to be primary. Sorry for the super noob question.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1248