vibesdk icon indicating copy to clipboard operation
vibesdk copied to clipboard

Agent Keeps Reintroducing Previously Removed Features

Open stevgon opened this issue 4 months ago • 2 comments

While building a simple app to draw geometric shapes, I originally requested a few features related to displacement and color controls. Later, I decided to remove them because they caused conflicts and weren’t really needed.

The agent successfully removed them the first time — but after that, whenever I requested new features, it tended to reintroduce the old ones (as if it remembered that they were once requested, but not that they were later removed). It seems the agent takes any opportunity to bring them back.


Possible cause: I’m not exactly sure when this behavior started, but it may have happened after a “previous history was compacted” event. My guess is that during compaction, the system didn’t properly “cancel out” the original feature requests with their subsequent removals — so the compacted history might have retained those as active features.

That wouldn’t, however, explain why it’s so difficult to remove them again later — sometimes it takes several attempts before the agent finally removes them again.


Additional details / observed behavior:

  • Occasionally, while watching the agent work, I briefly see the correct version (without the old features and including the new ones).

  • The preview loads correctly for a few seconds, but then it reloads — and the old features reappear.

  • When I asked the agent about this behavior, it replied:

    “It appears there was an error in the development process where a phase was initiated to reintroduce the 'Displacement' control, dynamic 'Color Range Selection', and the 'Regenerate' button, immediately after I had worked to remove them. This was an unintended reintroduction [...]”

stevgon avatar Nov 07 '25 18:11 stevgon

Interesting. There might also be the fact that if these features were requested by you in the original prompt itself, these might have become part of the blueprint which is always shared on every phase generation/implementation. But this indeed seems more like something breaking behind the scenes. I have currently been occupied in a major refactor of the agent codebase for some upcoming planned features. Let me look into this once that is done

Btw, Thank you for raising issues for these things!

AshishKumar4 avatar Nov 07 '25 23:11 AshishKumar4

Thank you for doing such a great job fixing these! I’m just making sure you have something fun to do over the weekend. 😄

The app I’m referring to is this one: https://build.cloudflare.dev/app/0fe4f1c1-08ef-4759-82bb-2e26978c5b1f

The original prompt does include one of the features that keeps getting reintroduced — displacement — but it doesn’t mention the other one, color range, which was requested later and still keeps coming back.

stevgon avatar Nov 08 '25 02:11 stevgon