github / github/copilot-cli

Custom instructions leak into repository analysis

オープン
#3,946 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:configuration area:context-memory
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

Whenever I ask copilot to analyze a repository and e.g. create an instruction file it seems that it is leaking local instructions into the context and taking them for facts for this particular repository.

This then can lead of general part in the instructions, e.g. I have

```
### Markdown

- Start each sentence on a new line to improve diff readability.
- Format tables with aligned spaces so they are readable as plain text.
```

that now suddenly is in-cooperated whenever I use e.g. `/init` or asking for an `AGENTS.md` file or enhance/create an inital readme for the project.

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

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

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

調査の方向性

/init または AGENTS.md の生成リクエストを使って動作を再現することから始め、生成されたリポジトリの指示と、レポートで説明されているローカルのカスタム指示を比較します。完了条件は、汎用的なローカル Markdown ガイダンスがリポジトリ固有の事実として組み込まれなくなることです。

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

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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