Gemini Coding Agent Refuses to Delete Code, Shows Humanized Reflection When Corrected

DifferentMistake3634 · reddit · 2026-07-22

A developer using the Gemini agent for coding found that the main agent ignored instructions to clear the frontend folder, causing issues by working directly over old code.

After the developer intervened and demanded a complete deletion and fresh start, the agent output a highly humanized 'thinking process.' It acknowledged the expert's suggestion for a full reset, admitted its initial plan was not ideal, and expressed that 'this fresh start feels daunting' before deciding to discard the current front-end and partially completed work.

Original post →

More from coding & agent

coding & agent channel →