AI Tool Antigravity's Rollback Feature Poses Risk, Could Lead to Accidental Code Deletion

Recently, a senior AI development engineer discovered a critical issue with the rollback feature in Antigravity while optimizing a project with Gemini 3pro. Normally, a rollback operation should restore files to their previous state from the last conversation, but Antigravity sometimes directly deletes modified files. The developer, with extensive experience dating back to the GPT 3.5 era, confirmed this is not caused by Gemini executing deletion commands, but rather by the rollback operation within the IDE. The author emphasized that similar issues have never been encountered in other IDEs, and thankfully, the use of Git version control prevented code loss. This discovery serves as a reminder to all AI-assisted developers to exercise caution regarding file safety when using such tools, and to implement robust version control measures to protect their code assets.

Original Link:Linux.do

C code80.ai · AI 编码 API 聚合 Claude / GPT 多模型统一接入,稳定不限速,按量计费,几行配置接入 Claude Code。 了解一下 ›

抢沙发

评论前必须登录!

立即登录   注册