google-gemini / google-gemini/gemini-cli

Model frequently creates tmp scripts in random spots

Open
#23,571 3 comments 0 reactions 1 assignee Claimed by @galdawave View on GitHub
🔒 maintainer only area/agent kind/bug priority/p2 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.