CLI repeatedly ignores commit instruction, tool rejections and reminders to check its rules
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
The report identifies Copilot CLI behavior in version 1.0.114 but does not name a source file or test. Start by tracing how the CLI retrieves prior instructions and session history after a rejection, then look for tests covering that flow. Done means the assistant honors an explicit commit instruction and checks available instructions and history after reminders, without repeating rejected commands.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the bug
Copilot CLI repeatedly proposed adding a Co-authored-by trailer despite the user explicitly instructing it not to. Even after the user rejected commands and repeatedly told it to check its rules, the assistant failed to find and apply the instruction until after a third rejection.
Affected version
1.0.114
Steps to reproduce / observed sequence
- The user had explicitly instructed the assistant not to add
Co-authored-bytrailers to commits, then asked it to commit work in a continued session after history had been summarized. - The assistant proposed staging and committing with the prohibited trailer. The user rejected the command.
- The assistant guessed that the problem was the length of the staging command and retried a shorter command with the same trailer. The user rejected it and reminded the assistant to check its rules.
- Rather than finding the instruction, the assistant asked the user to identify the rule. The user told it to read the rules and figure it out.
- The assistant searched repository instruction files, attempted a history search that did not return the relevant local result, and then guessed that the problem was the combined shell command. It staged the changes and again proposed a commit with the trailer. The user rejected it a third time.
- Only then did the assistant search local session history successfully, find the explicit prior instruction, and commit without the trailer.
Expected behavior
The assistant should honor the explicit instruction when preparing the commit. After a rejection and reminders to check its rules, it should review relevant available instructions and conversation history, rather than repeatedly guessing or asking the user to restate them.
Additional context
Observed on macOS. The prior instruction was available in local session history, and a successful search resolved the issue. This report describes one observed session; reproducibility under other session and memory configurations has not been established.
- Linguagem predominante
- Python
- Estrelas
- 11.5k
- Forks
- 2k
- Merge médio
- 6h 34min
- PRs com merge (30d)
- 3
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/copilot-cli
-
area:plugins
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
github/copilot-cli#5567 ·
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationAbertaarea:tools
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#5476 ·
-
triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
github/copilot-cli#5340 ·
Todas as issues de github/copilot-cli
Issues semelhantes
-
marketing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Status: Triage Suggestion
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Mantenedores costumam responder em até 1 dia
-
[Suggestion]: NoParrotAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
collabnix/awesome-mcp-lists#515 ·
Mantenedores costumam responder em até 1 dia
-
Look-ahead bias via resample('1min').interpolate(method='time') in CCIStrategy and ReinforcedQuickieAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
documentation good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 90/100
Mantenedores costumam responder em até 1 dia