Posted by dimonomid 8 hours ago
Just keep it away from my IDE.
Now most search engines just show LLM output as the top result. You can't "Pretend it doesn't exist" if it makes up too much of the information environment. It's only going to get increasingly less practical to be AI sober.
If your job is just to deliver then you are in management. If you happen to be the one who is on call and need to troubleshoot the issues then you do need to understand it.
I was struggling with AI code reviews until I realized that all the unit tests it wrote won't actually break production. It doesn't matter if half of them are tautological bullshit. In principle these tests might be really awful, but are they risky? From a practical strategic perspective, they add maybe 3 seconds to the CI/CD pipeline on a bad day. Some of them are definitely providing coverage. If I had to manually review every line we'd have not even 1% the number of tests we do right now.
Is what the robot did actually risky or is it simply a violation of your personal preferences? Put differently, will the customer care? If we start doing code review from the angle of "does the customer give a shit about this", we can probably cut the amount of BS by a factor of 100x.
I'll immediately riposte against my own statement that this is a small and continuously shrinking problem with LLM generated tests.
Still, if you have a test called transaction_cancellation_reverts_charges_on_all_accounts, and if you have not read the body of the test and confirmed that it indeed tests this, it is a less useful test. I have caught these kinds of errors created with frontier models and in the past few months. The more complex the logic under test, the more likely this problem is.
I am tempted to be of the opinion that an unverified test is equivalent to no test. But in reality I see that having lots of unverified / not-reviewed tests still adds beneficially to coverage and bug prevention. I just hate the feeling of not knowing which tests might be lies. I try to always do a review of tests that "smell" like they are complex enough for an LLM to mess up implementing.
This has been true for way longer than AI has been around!
I've found that this is not true and have encountered too many situations where these tests wind up become the reason an agent did something wacky in production code down the road. And *that* is something a customer may care about.
Your boss is the one who makes this choice - they chose to expect high velocity, low understanding from you, and they also chose to have you deal with the fallout when something goes wrong.
(Very occasionally the fallout is cataclysmic enough that there will be consequences to them for that choice, but most of the time, you are the one who will be on the hook for it.)
You are right that the fallout of a few shitty unit tests is rarely bad, and almost never catastrophic.
The incorrect behavior would have to be baked into the actual application at some level. I review this code much more thoroughly than the test code.
(It's fine, of course, to use AI tools—we use them ourselves. Just please don't use them to generate or edit text to be read by fellow humans on Hacker News.)
It's impossible to know for sure what was LLM-processed, but we have to rely on imperfect classifiers, or HN would be flooded by genai text, which is not what the community here wants to read, nor in the intended spirit of the site.
I have to check them constantly...
The difference is I constrain the inference engine to produce the desired result. (aka improve the quality of my input) Because open gaps lead to the results based on how the engine was trained by others and that is rarely the result I desire.
I've had to expand traditional design to be, for lack of a better term, AI-Friendly. That means more technical definition of the target. 'Store information in the database' vs 'These are the database models, relationships and join rules and how to apply them'. Additionally designing AI-specific assets like rules and skills to corral the AI into following designated patterns. The design now has to encompass all the boundaries that I may have left to be implementation decisions while typing code in the past. Give the agent what it needs to succeed at churning out code to walk graphs, perform processes etc.
I spend more time designing than I used to do, but far less time coding. I start with a written spec, then submit it in Ask mode and ask to identify logic flaws and gaps or inconsistencies in the spec and to number them. (The LLM will actually tell you when it will go off the rails if you proactively ask it) I then iterate the issues against the proposed plan to address the each issue. When that is complete, I no longer need to examine the code as I have avoided GIGO.
I proceed to functional and acceptance testing of the result. Dial-ins are usually quick prompts, I issue in Agent mode. If I'm fundamentally changing something structural to the original plan, I do that in Plan mode.
The benefit for us is an extremely mature codebase, so it's quite easy to skip some of the design and just say "model this system after this other thing that's very similar". It's quite good at keeping a consistent baseline style, once it is cajoled into looking at good examples.
So I pointed Claude at parts of the backend I know work well and worked with it to construct a plan so that my own service would incorporate many of the same design elements and structure.
It worked quite well. As always, IMO more complex work like this should involve iterating on the plan until it looks ready, then iterating on the result.
Less of a one-shot approach (which really works better for quick one-off scripts, code snippets, etc.).
I've tried vibe coding on personal projects, its a mess. Agentic coding works but I find greenfield much harder to get good results with.
A big pain point for me is when I am working on a design and the agent gives me 10 items of which I want to revise 3, and it feels like I should be forking the context there instead of just chasing 1 of 10 and then drifting into a tangled mess of ideas.
The good news, code is ultimately disposable now that you can crank it out in assembly line fashion. Combine that with, you can also have the LLM rewrite your spec ; ) So start small and build. Then you can find out where the garbage is, add some new ideas. Now normally we would call that `Technical Debt`. Instead what you do is have the Agent rewrite your original spec and tell it what to keep and what to delete. Carefully review the new revision for alignment with your design goals. Re-engage the gap analysis if necessary.
New project > make plan from Rev [n] of script. Iterate until happy with result.
It's "vibe coding" is because you're going off of vibes rather than reading the code. If you're reviewing all the code, then you're not relying on vibes, so "vibetyping" makes no sense to me.
I thought we had all agreed on "agentic engineering"?
Basically "vibe" here means "done by AI". It could equally be "aireview and "aityping", or "llmreview" and "llmtyping" or something else. I just found "vibe*" funnier and catchier, but I get that you didn't like these.
Language can naturally evolve in weird ways over time, but you're riffing off a term coined less than 2 years ago, and even citing Karpathy just to ignore what he meant by "vibe".
def averages(data:List, average=True, mean=True, mode=True): -> Dict
i'd have a pretty good chance of it doing the boring boilerplate for it. When copilot first was a thing, it was really good at this, and might still be, I just don't do coding full time anymore. I did feel much more like a participant though.On the other hand, when you have kind of deterministic test you can come up with (testing against previous examples etc), it's never been easier to get some one off validation up and running. Hours of building disposable scripts doesn't feel productive but 10 minutes of promoting an AI can do amazing things, especially when you know it doesn't need to be production ready.
I guess I'm still slightly fortunate to be working with a code base which I have 10 years experience in and, in all honesty, AI has enabled me to consider making changes which I would have loved to have started years ago but wouldn't have been able to justify the time investment.
But you’re right. We’ve always worked in imperfect codebases and usually there’s like a section of “this code was written with love, in a modern way, and by Jim” vs “this team of engineers had 4 days but now it supports all of prod, soooo here there be dragons.”
I also don’t like the word “vibe” for anything you’re deeply invested and active in the guts of development. As others are saying, “agentic engineering” seems to align there.
As with everything, there’s definitely a danger of going too far into trusting the PC at which point the term flips to vibe, imo.