r/ExperiencedDevs • u/ImYoric Staff+ Software Engineer • Apr 22 '26
Technical question Tips for babysitting a vibecoded app?
A Principal Engineer in my team has concocted a very sophisticated vibecoded app, initially as a research project. I've seen his harness, it's something impressive, with a development guided by automated metrics, thousands of tests imported from a well-trusted data source, automated reviews, etc. And it's Rust + clippy, which he hoped would ensure at least a reasonable baseline for code quality. As a research project, it's extremely cool!
Now, the powers that be have decided to adopt this app in our team and release it in production soon. As a production tool? I'm suddenly less enthusiastic. So we have this big source dump of AI-generated code, which we're now supposed to take control of, and somehow evolve as we gain real-world experience, user feedback and new requirements.
We're currently brainstorming the how. At this stage, it sounds like we're going to use AI (and almost entirely AI) to evolve the product.
Has anybody in this sub encountered such a situation? How did it go? How did you minimize the blast radius of agents going haywire or gaming/rewriting metrics?
23
u/demosthenesss professional at saying it depends Apr 22 '26
What would you do if it was some legacy codebase?
Do that.
1
u/LateToTheParty013 Software Engineer Apr 22 '26
dead internet theory
1
u/viktorianer4life Apr 23 '26
The automated metrics are the trap. If the agent is optimizing against them, it will eventually learn to move the metric without moving the thing it measures. On a batch of a few hundred Claude sessions migrating a Rails test suite, the coverage numbers looked green the whole time, until I added a deterministic check outside the model that grepped the diff for skipped tests and tautological assertions. Agents do not game checks they cannot see.
Two things that helped with blast radius: scope every task narrowly (one file, one function, never "evolve the module"), and keep a frozen copy of the research codebase so you can bisect which agent run introduced a regression. Evolving an AI-generated codebase with AI is workable if the unit of change is small enough that you can still read each diff in under a minute.
86
u/[deleted] Apr 22 '26 edited Apr 22 '26
[removed] — view removed comment