Gemini CLI: What exactly is collected and does it access all local files by default?

Hello :slight_smile: I’m excited to try out Gemini CLI, but I have some questions regarding privacy!
I referred to this page: gemini-cli/docs/tos-privacy.md at main · google-gemini/gemini-cli · GitHub

  1. Is the response to FAQ 1 “Is my code, including prompts and answers, used to train Google’s models?” the default setting for each authentication method?
  2. Regarding the FAQ 2 “What are “Usage Statistics” and what does the opt-out control?”, if users opt-out, can they prevent collection of any usage statistics, prompt, answer, response regardless of their authentication method? In other words, if the auth method (a) Google individual login user opted-out, does it prevent collection of every possible usage statistics and records?
  3. Adding on to question 2: FAQ 1 mentions prompts, answers, and related codes, but FAQ 2 only mentions prompts and answers as the target of opt-out. Are related codes collected regardless of the opt-out?
  4. (Not about data collection, but about data access) Does Gemini CLI have access to every file in my home directory? How can I restrict its access?

Thank you so much for your response in advace :slight_smile: