aws / aws/amazon-q-developer-cli
Automatic AmazonQ.md in context seems to confuse Q
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### 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
```
Contributor guide
Assessment
This issue has not been assessed yet.