github / github/copilot-cli

Custom instructions leak into repository analysis

Abierto
#3,946 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:configuration area:context-memory
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el comportamiento con /init o una solicitud de generación de AGENTS.md, comparando las instrucciones resultantes del repositorio con las instrucciones personalizadas locales descritas en el informe. Se considera completado cuando las indicaciones genéricas de Markdown locales ya no se incorporan como hechos específicos del repositorio.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.