Skip to content

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

Closed

Description

@AymericG

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

Activity

  1. self-assigned this
    on Aug 12, 2025
  2. AymericG commented on Aug 12, 2025

    @AymericG
    Author

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

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