Skip to content

[Storage] Isolate plan files per session #18723

@facelezzzz

Description

@facelezzzz

In Plan mode, the generated markdown files are stored under:

~/.gemini/tmp/<project_hash>/plans

This causes plan files from different sessions to be shared and accessible across sessions. As a result, new sessions can be polluted by plans generated in previous sessions.

Today, when I was using the Gemini CLI, the model explicitly mentioned that it inspected the directory ~/.gemini/tmp/<project_hash>/plans, found some information related to my question, and then read those plan files. Because of this, the current session was continuously influenced by plan files generated by other sessions, making it unable to complete the task correctly.

I believe this is a design issue. Plan files should be isolated per session, or at least not automatically visible to new sessions.

Metadata

Metadata

Assignees

Labels

workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions