Custom instructions leak into repository analysis
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 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