Gemini CLI PR fixes relative paths being written to wrong repo in multi-root workspaces

villahernandez-coder · ghdev · 2026-10-20

A community PR (#29838, labeled priority/p1) to google-gemini/gemini-cli fixes a real footgun: in multi-root or nested-Git-repo IDE workspaces (e.g. VS Code + WSL), WriteFileTool, EditTool and ReadFileTool resolved relative paths against the initial fallback config.getTargetDir(), silently writing files into a sibling repo while the UI showed a path that looked like it belonged to the active project.

Original post →

More from coding & agent

coding & agent channel →