Allowing LLM's to work fully autonomously is only viable when you have a process that automatically verifies it.
retained text
<!-- SC_OFF --><div class="md"><p>I've dipped my toe several times in vibe-coding, and was always horrified by the results. I'm not against AI writing code, but the issue has never been about writing code, the issue has always been in testing and verifying the software.</p> <p>Well, several weeks ago, my company acquired a new system, and I had to port some legacy code (15 years old) into the software I maintain. It was a nightmare of XML, XSLT, and Javascript to produce diagrams (did I mention it was a nightmare?).</p> <p>Now steps in another piece of software I wrote. This is an internal tool that produces the output for the production and testing versions of the software, and reports the differences between the two. If we're making a change, we use this tool to verify the all the changes it produces are what we're expecting, and to catch mistakes. It's also handy if I'm doing a major refactor: it makes sure there's no differences in the output, and it does a better job at catching mistakes than our unit tests because it's a complicated piece of software that's sensitive to changes.</p> <p>We've been using the diff tool to verify the ported software works, but I'm extremely unhappy with the performance due to the Javascript runtime overhead. I would like to port it to the program's native JVM runtime so I can alleviate the GraalVM overhead. However, the Javascript is thousands of lines of confusing code with dependencies on some browser API's that I had to polyfill so it would run headless in GraalVM. That would be a nightmare.</p> <p>Normally I'm against vibe-coding because it's always produced results that would make me reach for a barf bag, but I think this is actually a great use-case for using an LLM to rewrite it for us. We have an automated tool we can use to verify there's no differences in the output, so there truly will be no human in the loop, other than me prompting, eliminating the actual bottleneck in the business process. Also, the code is already terrible: it's not like the AI will make it any worse.</p> <p>Is anyone else combining automatic verification with LLM-generated code? I'm normally really suspicious about LLM-produced code that's longer than 20 lines, but since we have an automatic process that produces a yes/no answer on whether or not a couple-thousand line rewrite is correct, that gives me a whole new level of confidence in LLM-generated code.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Aggressive-Pen-9755"> /u/Aggressive-Pen-9755 </a> <br /> <span><a href="https://www.reddit.com/r/ExperiencedDevs/comments/1tylg0z/allowing_llms_to_work_fully_autonomously_is_only/">[link]</a></span>   <span><a href="https://www.reddit.com/r/ExperiencedDevs/comments/1tylg0z/allowing_llms_to_work_fully_autonomously_is_only/">[comments]</a></span>
document fetched 2026-06-07 08:48