What happened?
Summary
The system fails to resolve policy files when they are implemented as symbolic links, leading to policies being ignored during execution.
Steps to Reproduce
- Create a policy file as a regular file somewhere.
- Create a symbolic link in the workspace pointing to that policy file.
- Run the Gemini CLI and prompt
/policies list
What did you expect to happen?
The system should resolve the symbolic link and apply the policies. Users should be able to see the policies via /policies list.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version 0.30.0-nightly.20260210.a2174751d-git.15f6c8b │
│ Git Commit 15f6c8b │
│ Model gemini-3.1-pro-preview │
│ Sandbox no sandbox │
│ OS linux │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Login information
No response
Anything else we need to know?
No response
What happened?
Summary
The system fails to resolve policy files when they are implemented as symbolic links, leading to policies being ignored during execution.
Steps to Reproduce
/policies listWhat did you expect to happen?
The system should resolve the symbolic link and apply the policies. Users should be able to see the policies via
/policies list.Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
No response