google-gemini / google-gemini/gemini-cli
Gemini CLI reads setting from VS Code GCA plugin
- Dominant language
- TypeScript
- Stars
- 107k
- Forks
- 14.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 45
Description
### What happened?
[bug-report-history-1776455841609.json](https://github.com/user-attachments/files/26839556/bug-report-history-1776455841609.json)
It seems that gemini CLI has an opened communication channel with GCA via gemini.md file. Maybe it is working as expected but it could polute the data between the user and the Gemini CLI model (instead of GCA plugin model).
In the following [screencast](https://screencast.googleplex.com/cast/NTAxMzY0NDg2ODg0NTU2OHw4ZDBlZDQ1MC03Yw), one can see how Gemini CLI response with a 'geminidoceassist.rule': '#AXEL' set in the open setting json format from VS Code IDE.
[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.
### What did you expect to happen?
'geminidoceassist.rule': '#AXEL' word does not appear while prompting with Gemini CLI because this rule is set for VSCode GCA plugin.
### Client information
* **CLI Version:** 0.38.1
* **Git Commit:** 7f5580034
* **Session ID:** 6766a437-896e-4ab2-b227-f269d5a8cea6
* **Operating System:** darwin v24.11.0
* **Sandbox Environment:** no sandbox
* **Model Version:** gemini-3-flash-preview
* **Auth Type:** oauth-personal
* **Memory Usage:** 439.4 MB
* **Terminal Name:** Unknown
* **Terminal Background:** #1e1e1e
* **Kitty Keyboard Protocol:** Unsupported
### Login information
_No response_
### Anything else we need to know?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.