#23571·gemini-cli

Model frequently creates tmp scripts in random spots

Author: galdawaveCreated Mar 23, 2026Updated Sep 17, 2026
Labelspriority/p2area/agent🔒 maintainer onlyworkstream-rollupstatus/bot-triagedkind/bug

What happened?

By restricting the model to shell execution via exclusion, it tends to generate multiple edit scripts across various directories. This creates significant overhead when trying to clean up the workspace for a clean commit.

What did you expect to happen?

The model writing to a tmp directory in project/.gemini/tmp

Client information

Running from main 3/23/26 11:50am

Login information

No response

Anything else we need to know?

No response

Source: google-gemini/gemini-cli