I keep getting frustrated when I ask an agent to clean up some code and get another wrapper, another helper, and all the original complexity still sitting underneath.
Then I have to figure out if anything actually got better.
We’re running into this at Builder while developing Agent Native pretty much as fast as we can. People leave feedback in Slack, and an agent factory picks it up and works on it. A lot is changing, all the time.
So validation is a big deal for us. In one cleanup experiment, an agent removed a lint warning, passed typechecking, and passed all 23 tests in the focused suite. The code still used unvalidated input.
Everything passed, but we still hadn’t checked the behavior we actually needed.
I wrote up what we’re learning about asking agents to clean up code, figuring out what needs to change, and checking whether it actually got better.
https://www.builder.io/blog/de-slop-ai-generated-codebase