aws / aws/amazon-q-developer-cli

Automatic AmazonQ.md in context seems to confuse Q

Aperta
#1,010 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
2k
Fork
439
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.3.2 (24D81)

### Expected behaviour

When prompted to "diff and commit", I expect Q to do a git diff and commit the changes.

```
$ q chat

Hi, I'm Amazon Q. Ask me anything.

Things to try
• Fix the build failures in this project.
• List my s3 buckets in us-west-2.
• Write unit tests for my application.
• Help me understand my git status

/acceptall Toggles acceptance prompting for the session.
/profile (Beta) Manage profiles for the chat session
/context (Beta) Manage context files for a profile
/help Show the help dialogue
/quit Quit the application

> diff and commit

```

### Actual behaviour

Somehow, Q misinterprets this to mean that it should create an AmazonQ.md file.

```
$ q chat

Hi, I'm Amazon Q. Ask me anything.

Things to try
• Fix the build failures in this project.
• List my s3 buckets in us-west-2.
• Write unit tests for my application.
• Help me understand my git status

/acceptall Toggles acceptance prompting for the session.
/profile (Beta) Manage profiles for the chat session
/context (Beta) Manage context files for a profile
/help Show the help dialogue
/quit Quit the application

> diff and commit

I'll help you create the AmazonQ.md file in your current directory. Let me first check the directory structure to understand what files
already exist.
```

### Steps to reproduce

Ask Q to "diff and commit" in a folder with git changes.

### Environment

```yaml

```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il comportamento in q chat in una cartella con modifiche git, usando il prompt indicato "diff and commit"; esegui q doctor e q restart come descritto. Esamina come la CLI gestisce i file di contesto come AmazonQ.md e come questo influisce sull’interpretazione delle richieste git. Il lavoro è completato quando il prompt produce un workflow git diff e commit senza creare AmazonQ.md.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, rust
Ambito
ai, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.