gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Sandboxed use makes GEMINI.md files in parent folders unusable

Open Pencioner opened this issue 1 month ago • 1 comments

What happened?

If use sandboxing, in the multipart/multicomponent project, where you want to have a common GEMINI.md and per-component GEMINI.md descriptions, use of sanboxing screws this up. Because gemini-cli can't access files in parent folders so it will not read other one(s)

What did you expect to happen?

Some setting to allow searching for GEMINI.md and reading them down to some folder. For safety, maybe user should configure the folder to stop searching, like /work/project1/ so it doesn't go further

Client information

Client Information CLI Version 0.19.4 Git Commit 935114875
> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Pencioner avatar Dec 10 '25 16:12 Pencioner

Hi, I'd like to work on this issue. I'll submit a PR soon.

liqzheng avatar Dec 10 '25 16:12 liqzheng