Add persistent per-user exclusion for duplicate Copilot instruction files
Chưa có ai nhận issue này.
- 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
Mô tả
Describe the feature or problem you'd like to solve
Add persistent per-user exclusion for duplicate Copilot instruction files
Proposed solution
Summary:
GitHub Copilot CLI automatically loads supported instruction files such as CLAUDE.md and AGENTS.md . When both contain duplicate or overlapping instructions, Copilot may load the same guidance twice.
The /instructions command can disable one file, but the change applies only to the current Copilot CLI session. There is currently no documented persistent, user-specific ignore list for excluding one repository instruction file without modifying the shared repository.
This would be useful for teams sharing repositories across multiple people and agents, including Copilot, CloudA, and Codex. A per-user configuration option to permanently exclude selected instruction files—without affecting other users or agents—would prevent duplicate instruction loading while preserving the repository structure.
Example prompts or workflows
My Claude.md file just mentions/loads Agents.md. All the instruction gets loaded twice and bloat the context..
Additional context
No response
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.
Hướng nghiên cứu
Issue không xác định các tệp triển khai, các bài kiểm thử hoặc điểm bắt đầu của cấu hình, vì vậy trước tiên hãy xác định cách /instructions lưu các mục loại trừ của phiên và nơi cấu hình người dùng được tải. Công việc được coi là hoàn tất khi một danh sách bỏ qua cố định theo từng người dùng có thể loại trừ các tệp chỉ dẫn được chọn của repository mà không thay đổi repository hoặc ảnh hưởng đến những người dùng khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100