github / github/copilot-cli

Add persistent per-user exclusion for duplicate Copilot instruction files

Đang mở
#4,603 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

area:configuration area:context-memory
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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.