github / github/copilot-cli

excludeAgent does not work on subagents

Open
#2,211 0 comments 0 reactions 0 assignees View on GitHub
area:agents
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

As of right now, excludeAgent in the frontmatter block does not work on subagents.

This limits custom instructions which are meant for main agent but not subagents.

### Affected version

GitHub Copilot CLI 1.0.10

### Steps to reproduce the behavior

1. Set up custom instructions with excludeAgent
2. Test if subagents are following custom instructions

### Expected behavior

excludeAgent in the frontmatter block would extend to subagents.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.