Built-in research agent tells subagents to call unavailable github/get_me tool
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Kiểm tra ~/.copilot/pkg/linux-x64/1.0.83-3/definitions/research.agent.yaml và so sánh instruction github/get_me của nó với các GitHub MCP tools được liệt kê. Được xem là hoàn tất khi prompt research-agent được đóng gói không còn yêu cầu một identity tool không khả dụng hoặc nêu tên một công cụ thay thế khả dụng; hãy xác minh bằng cách chạy research subagent với reasoning display được bật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The built-in research subagent prompt tells the agent to call github/get_me first, but the GitHub MCP server exposed in the same CLI session does not provide that tool. With reasoning display enabled, the subagent visibly starts by trying to reconcile the mismatch and leaks scratchpad text like:
**Resolving function conflicts** I see that I need to call the GitHub function "get_me" first, according to the subagent instructions. However, it looks like there are only five listed GitHub functions...
This appears to be a packaged agent/tool mismatch: the built-in research-agent instructions reference an older or differently named GitHub MCP tool.
Affected version
1.0.83-3 on Linux x64.
Local evidence
Packaged agent definition:
~/.copilot/pkg/linux-x64/1.0.83-3/definitions/research.agent.yaml
Relevant prompt section:
## Critical: Work Autonomously
You work completely autonomously:
- Call `github/get_me` first to understand the user's org and identity context
The current GitHub MCP server visible to the agent exposes only these tools:
github-mcp-server-get_copilot_space
github-mcp-server-get_file_contents
github-mcp-server-list_copilot_spaces
github-mcp-server-search_code
github-mcp-server-search_users
There is no github/get_me or equivalent identity/profile tool in the available GitHub tool definitions.
Expected behavior
The built-in research-agent prompt should only instruct the subagent to call tools that are actually available in the packaged/default GitHub MCP server, or it should use the current tool namespace/name. If user identity context is unavailable, the prompt should not require a nonexistent first call.
Actual behavior
The research subagent receives an instruction to call github/get_me, cannot find the tool among the available GitHub MCP tools, and starts with visible conflict-resolution reasoning when reasoning display is enabled.
Related issues
Possibly related, but not exact:
- #4076: built-in research agent MCP/tool configurability
- #2630: subagent MCP tool availability in custom-agent / prompt contexts
- #4604:
get_mewith user-configured GitHub MCP auth/token injection
This issue is specifically about the packaged built-in research.agent.yaml prompt referencing github/get_me when the available built-in GitHub MCP tool list does not include it.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot-cli
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#4909 ·
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/copilot-cli#4906 ·
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4848 ·
-
area:sessions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4712 ·
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#4638 ·
Tất cả issue của github/copilot-cli
Issue tương tự
-
Update to NCCL 2.32 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
conda-forge/nccl-feedstock#166 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pop-os/plymouth-theme#43 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hykilpikonna/hyfetch#545 ·
-
on hold T: core-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100