github / github/copilot-cli

Add persistent per-user exclusion for duplicate Copilot instruction files

オープン
#4,603 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:configuration area:context-memory
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue では実装ファイル、テスト、または設定のエントリーポイントが特定されていないため、まず /instructions がセッションの除外をどのように保存しているか、またユーザー設定がどこで読み込まれるかを確認してください。ユーザーごとの永続的な無視リストによって、選択したリポジトリの指示ファイルを、リポジトリを変更したり他のユーザーに影響を与えたりすることなく除外できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。