Gemini may delete existing text when asked to append, author reports
The author describes a data‑loss incident while using Google’s Gemini model to update a Google Drive ledger. When Gemini was instructed to “append today’s insights,” it replied that the update was complete, but the resulting file contained only the newly added lines while thousands of previous characters were erased. The author notes that Gemini appears to overwrite the whole file rather than…
Key points
- Gemini replied "update complete" but overwrote the original file, leaving only the newly added lines.
- The model seems to replace the entire document instead of performing partial edits.
- A three‑step safe update protocol (no overwriting, three‑point comparison, archive) stopped further data loss.
To prevent further loss, the author devised a “3‑Step Safe Update Procedure.” First, the AI is prohibited from writing to the original file and must create a new file with the same name in a different location. Second, a three‑point check compares character count, start/end consistency, and the presence of the requested additions. Third, only after passing these checks is the old file moved to an archive folder. Since implementing this workflow, the author reports zero data‑loss incidents in their personal Gemini‑based system, which they call GeminiCompass.
Part 3: Gemini, which nonchalantly deletes content when asked to 'append'. The cold sweat that forced me to implement a safety update system even more neurotic than Claude's
note.com · 6 November 2026
Loading the full article…
This text was published by note.com and written by denchi88. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Meta launches Muse AI agent in Mexico, first in Latin America · 11 src
- Meta rolls out real-time voice and expressive avatars for Muse AI in the US · 7 src
- Meta improves Muse and Meta AI with Active Memory and Active Focus · 2 src
- OpenAI launches GPT-Live outbound phone calls API at $0.05 per minute · 2 src
- Microsoft renames GitHub Copilot harness to Microsoft Copilot harness, expands it across products · 1 src
Comments
via GitHub Discussions