Proposal: Add “Let Me Review” Mode + Undo Option for Safer Developer Workflow #4132
kannanhacker123
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Am I missing the gist of your question? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While using Gemini CLI, I noticed that during file modification suggestions, the current options are:
These are helpful, but I believe there's room to improve the developer experience, especially around safe editing and debugging.
💡 Idea: Add a “Let Me Review” Mode
Instead of directly modifying files, there could be a 4th option:
📁 “Let me review” — Save suggestion to a temp file for later merge
This would:
Save the AI-suggested change to something like .gemini/tmp/code-suggestion.ts
Let users open, test, or integrate the code manually
Avoid potentially destructive or premature edits
🔄 Follow-up Idea: Add gemini undo
In case a change introduces bugs or breaks something, a user could run:
gemini undo
This would roll back all changes made in the last Gemini interaction, using:
A logged history of touched files
Git patch-style snapshots
Or even internal backups
🧪 Why This Might Be Useful
🧘♂️ Safe experimentation
Gemini suggestions can sometimes break things or go too far — this gives developers breathing room.
👨🔬 Non-destructive testing
You can try changes in a sandbox without touching production files.
🧰 Script-friendly
Could integrate with automation where manual confirmation isn’t ideal, but full automation is too risky.
❓Questions for the Maintainers / Community
Is this already being considered in any roadmap?
Would the team be open to a PR for --review-mode and gemini undo?
Is there internal support for something like a .gemini/tmp/ or sandboxed suggestion flow?
I’d be glad to collaborate on specs or even implementation if there’s interest.
🔗 TL;DR
Add “Let me review” option to save changes instead of directly applying
Add gemini undo to revert last change session
Improves safety, trust, and dev control
Looking forward to hearing your thoughts! 🙏
Beta Was this translation helpful? Give feedback.
All reactions