cloudflare / cloudflare/vibesdk

Agent Keeps Reintroducing Previously Removed Features

Open
#228 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5.4k
Forks
1.3k
Avg merge
21h 8m
Merged PRs (30d)
8

Description

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 [...]”

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.