Lurker News
A lot of people outside tech ask me if AI is going to replace programmers and I just think: if that were the case we should be running out of things to do

The bug backlog should be empty and we've caught up to every feature request from PMs to the point that we are bottlenecked on the business side
But that does not seem to be the case with my own company or most devs I talk to in the industry
So what gives?

Comments (127) 90 threads

frostiness9 replies#
I don't know if I'm doing something wrong but bug fixing with AI has always been a crapshoot. You can absolutely tell an agent to fix an issue, and it will fix that issue, but the vast majority of the time that solution will be by adding code to cover the specific symptom in the bug report. It rarely considers or recommends solutions that have tradeoffs that may change behavior but will eliminate an entire class of similar bugs.

This is mostly a problem of agents not having the autonomy of managing an entire project and having the ability to make tradeoffs to increase simplicity or maintainability, but when given that autonomy no AI model I've used uses that privilege to write simpler, more maintainable code.

ex-aws-dude4 replies#
It makes me wonder if it could be solved with better context management

A real developer builds up global context of the whole project over time, you always hold the overall architecture in your head
Whereas with agents there is a still a lot lost between sessions
Its similar in a sense that a new developer to a project does more hacky local solutions whereas the senior on the team knows when the architecture needs to change as part of a fix

philipwhiuk#
> It makes me wonder if it could be solved with better context management

There's a reason that repos are now bloated with AGENTS.md files that try to cram context in as pre-text. And that there's so many vibe-coded context/memory aggregation frameworks.
It's an AI-hard problem.

user43928#
I think it's rather a problem with the training pipeline incentivizing correctness and endlessly defensive code over simplicity and maintainability of the implementation.

The problem with context I see primarily in mixing up user intent and hard requirements with random half-correct notes some other agent left in the comments.

Unproven4275#
> Whereas with agents there is a still a lot lost between sessions

Are y'all using AI agentic frameworks? I don't have a lot of issue with anything being lost between sessions, I have active memory and context management and have my agents write up documentation for each project to pick up where they left off or to hand it off if needed.

realusername#
> It makes me wonder if it could be solved with better context management

It cannot, in my current company we have extensive tech documentation, one of the best I've seen in my career, a team responsible to craft the agent tooling and it still doesn't help enough.
Ultimately, I think the AI companies are just optimizing for the wrong things and the benchmarks do not reflect a real company.

WillPostForFood1 reply#
* It rarely considers or recommends solutions that have tradeoffs that may change behavior but will eliminate an entire class of similar bugs.*

Are you specifically asking it to do that? You can just point AI at a bug and say "fix" or you can ask it to review, plan, offer alternatives. You can get a lot more out of it if you actively engage.

apothegm#
Which takes meaningful amounts of human time and attention, and might explain bug backlogs not being empty.
Unproven42751 reply#
I mean I also think it's the way you prompt it.

Whenever I bug fix, I prompt it specifically to solve the problem not fix the symptom of the problem, and do so with the least amount of code changes possible to fix the problem. And I also tell it that if there's a more maintainable way to solve the problem(like prevent similar issues in other parts of the project, ie problems with a particular dependency or library being used) to suggest alternatives.
I think it's also important that the AI either has context to your entire project(like ability to read the source), or you put the context of what it's solving in the prompt you give it specifically.

frostiness1 reply#
Neither of these prompts effectively address the problem though. Fixing the root cause and doing so with the least amount of code often is contradictory. Including instructions to make suggestions to improve code maintainability will cause the AI to do it every single time it makes a change, even if it's completely unnecessary, drowning out useful suggestions in noise. When a bug is caused by a requirement elsewhere in the application, current models are more likely to break that functionality and implement a fix anyway rather than pause and get confirmation on the requirement. They may leave a note about the broken functionality at the end, but by that point the AI has already been iterating with an incorrect assumption. Any code the agent wrote in the same turn is going to be tainted by that assumption and it often does not remove or rewrite that code when given clarified requirements.

It's tempting to blame all AI issues on prompting because it's the only thing that we're able to control, but if a task falls into the long tail of work unable to be satisfactorily completed with AI, there's no prompt that will work. When there's always the alternative of doing the work yourself, it's not worthwhile to spend the tokens or time to get an AI model to do something after the first two or three prompts.

cluckindan#
”current models are more likely to break that functionality and implement a fix anyway rather than pause and get confirmation on the requirement”

On the contrary, Claude Opus 5.5 consistently refuses to break requirements even if I insist on fixing something. It genuinely knows more about the project than I do.

davnicwil2 replies#
I think this gets to something quite fundamental which is in the information loss when delegating a task in plain English.

It's very hard and actually a lot of work to draw an appropriate buffer around a problem in terms of how much agency you want to be exercised in considering other concerns when fixing it.
It takes a lot of skill on both sides to negotiate this even in an ongoing conversational loop.
There comes a point of course where essentially doing this communication and negotiation is equivalent to the work. At that point, you really aren't saving all that much time by not writing the code yourself in a lot of cases.
Maybe greenfield type work is the exception, where generating the code can actually save hours of typing, but certainly for bugfixes on mature systems where the right fix with all factors and competing priorities considered and negotiated only results in say 10 lines of new code, you start to wonder what actually is the benefit of delegation and automation here.

senordevnyc#
I don’t find this to be the case when using a good model (Opus 5.5 currently) and a decent process. I constantly have agents check out user bug reports, error alerts, little things I find when using my app, etc. I forward in emails, tag them in slack, drop screenshots, whatever. My first ask is that they investigate and figure out wtf is going on, what the root cause is, what the blast radius. And then from there, propose a few different approaches to fix with the tradeoffs for each, and let me choose.

Combined with a solid set of skills for how to do work in my codebase, this means that in 95% of cases, I can get this fixed with a few mins of my time and attention, and move on with my day.
The 5% of issues where the root cause is more fundamental do fall under what you’re saying though.

Breza#
When I write code, I have a very complicated model in my head of what I'm trying to do. If I were to write it all down, it would take hours and many pages and I'd still miss stuff. This has always been an issue in SWE, with everybody ending up with a slightly different idea of what a project should be.

When you wrote code one day at a time, you could talk about these things at the next standup and make sure everyone was on the same page. Agents move so fast in whatever direction they choose that you can easily end up getting to the wrong place very quickly.

tauwauwau#
It should work, unless you're working on a very large codebase. I give the AI all the information that I would consider before implementing the solution, my prompts sometimes are multiple paragraphs, it's tedious but it gives good results. Information that I provide may include links to different repositories that may impact the feature being implemented, broad description of some terms, instructions to use a local temp/ directory to create temporary/reusable scripts when needed. Sometimes when I don't trust it, I explicitly ask it to come up with a plan without changing anything. Other times, I ask it to implement, build deploy, test deployed app and loop till the feature works. One of the instructions that I have in Agents.md is to periodically save session summaries in ./docs/ directory, you can use an external file. I haven't tried any context-management tools other than context-mode, which seemed to make it worse. But I haven't needed anything more than the docs/ directory yet, and that's when I leave it working for hours at a time to in implement/test/build/deploy loop. Interrupting it at every stage is going to make it slow, so it's better to see the end result and if you don't like the end result, you can try again with new instructions.
Nemesis-driod#
i think its always difficult to resolve the bug entirely mostly in backend, because of the different technology used and each has its trade off.

currently i am able to resolve most of the issue with AI Model when i talk in plain English rathe than prompt.

taurath#
You’re not likely doing anything wrong, people have different projects and use cases and then try to tell everyone else that their pattern that works for their context works for all.
codedrift_1 reply#
Agree, if you just aim the agent at a fix in isolation, it's like rolling dice. I spend a lot more of the agentic time on bug exploration than the fix. As the human who's probably getting paged if the fix also breaks, I want to understand what's being fixed and why. My remedy has been to explicitly state what you're asking for. I specify the fix needs to be simpler and more maintainable, and I include good examples of bug fixes or links to GitHub of what effective fixes look like.

Asking it to just blindly wander the codebase won't give a good result, because there's a non-zero chance the code next to your bugfix is also badly written. The agent just propagates what it sees unless you steer it in a different direction.
The other thing I've started doing is turning the root cause into something enforceable: linters, static analysis, unit tests. I know as engineers we (mostly) do this, but agents are really terrible at writing good checks. eslint's "no-restricted-syntax" is my new best friend.

Breza#
I do something similar, though I write most of the actual code myself. If there's a problem, I paste in an error message and ask for the best guess as to what's wrong. Then I ask what specific functions/classes/etc are involved and I read those parts of the code and implement the fix.

When you have a sprawling codebase that's gradually grown over time, it can take hours to find which file is responsible for a specific behavior, so having an LLM to pinpoint it is fantastic.

kypro#
Our codebase had a very subtle bug this week impacting a single client of our. I saw the report come through and was planning to fix it with an equally subtle, but slightly more consequential change given I wrote the code 2 years ago, but someone got to it before me with Claude.

They patched around it with a few hundred lines of extra code. It was the obvious way to fix the exact bug report without causing side effects, but it paid not thought to the underlying design issue which allowed the bug to crop up in the first place. It also made a very bad judgement in regards to performance when considering the amount of data and variability of data we have in production environments, which was partly why the code was designed as it was.
This code will 100% cause problems down the line and I will now need to unpick the fix and make the better fix to address it.
In the past devs may have made a similar change, but when it reached PR a human familiar with the code would have looked at it and advised against it. However, humans don't need to read code anymore, so the AI reviewed it and said the fix looked great.
I feel this is a good example of the state of software engineering in 2026.
And I'm not suggesting I'm any better. I'm pushing slop into production every day because I am assured that AI is better at writing code than me and I should just trust Claude and get something shipped ASAP. If there are bugs Claude can fix it later.

td521534f124 replies#
All my solo project backlogs _are_ empty.

For my team projects, I still need my teammates to review code, so that bottlenecks how quickly we can burn down the backlog. If I didn't need code review I would have the backlog burned down in weeks, but I'd create a bunch of outages in the process (we do catch things in code review!)
Also, some of my solo projects are gamedev-related, and gamedev is also bottlenecked on actually playing your game to see if its fun :) but it is great to get out of a 2 hour playtest session with notes and have a new build in like 15 minutes with the feedback incorporated.

bestouff2 replies#
I was going to say that. Solo projects advance fast now, and bugs are very few.
risyachka2 replies#
Feel free to share the product if there are really so few bugs
_jss#
I am building Flightpad (https://flightpad.net) and absolutely wouldn't without AI tools.

I have several validation loops that run full test harnesses over live (and ever-changing) data. AI brings some subjective evaluation, since data output is all deterministic there are bugs that pop up.
My bug list is nearly empty always. It takes some focus to solve a lot of the data bugs, because I need to understand the root causes (or I feel I need to).
AI has been an incredibly useful addition to my solo work.

sockaddr1 reply#
Bugs on your solo project are not few. They are merely undiscovered because the bug detection is bottlenecked on you.
klik993 replies#
Exactly this

I read something recently that devs don’t know how good frontier models are, and that only researchers can really see that programming is solved. I’ll believe it when one of those people makes an app / product used by hundreds of thousands of people without constant downtime and regressions. Microsoft hasn’t been able to.
I mean it’s magic for things that don’t require maintenance or handling edge cases of significant number of users (math proofs are a great example of how magic it can be), or finding the root causes of bugs, and it’s a great tool. But it’s not a magic fix all, at least right now. I’m fine with people speculating it will be, but constantly annoyed at how people conflate what might be with what is right now.

Continue this thread — 3 replies

beebmam1 reply#
Humans should not be the bottleneck to shipping code; verification systems should be.
td521534f121 reply#
My day job is in a regulated industry, we are required to have humans review everything. WE do have many many thousands of tests verifying behaviors, linters, autoformatting, we can get agents for an extra review, but human review is not going away in my industry for a long time.
jurgenburgen#
When your software bug can kill someone it makes sense to move slowly and not break things.
progval1 reply#
How do your teammates feel about the code you send them to review?
td521534f12#
I try to keep the quality of submitted patches as high or ideally much higher than pre-AI. Since we discuss our plans as we refine our backlog and plan our sprints, incoming patches for planned work like new features and backlogged bugs are not surprises. I open drafts early in our SCM so people can follow along as I develop, but self-review the patches before moving them for ready for review. Generally I find myself editing the patch's doc comments and documentation a bit, especially human-centric docs like guides and tutorials. Submitted patches are linked to the related ticket, include a explanatory notes written by me without AI assistance, or ideally both. As many checks as possible are done by linters, autoformatters, autofixers, and automated testing. We don't quibble much over style in the reviews because that's enforced by machine, we focus on correctness, performance, documentation quality, etc.
ClayCantrell#
Yeah we have crazy output these days (about 13x more PRs a month) but the bottleneck is now just review, CI capacity, and thinking harder about what we build.

Still have a backlog! Way less time dealing with the small stuff obviously.

ksajadi#
I think bug comes from action. There is no way your bug is going to be empty. Bug doesn't come from the skill. Bug comes from activity. And that activity is not just the activity you make. It could be an activity outside of the boundary of the system. It could be an API outside your control that breaks or changes. It could be a disk that fills up. It could be a patch that breaks your compile. All of those can manifest themselves as bugs, but also as the complexity of a system goes up, the number of mistakes goes up. Agents are not necessarily incapable of making mistakes; they just work much faster and have a bigger body of knowledge to work on.
fishtoaster1 reply#
It pretty much is? Every easily-described bug has been fixed. The only things that remain are "this isn't wrong per se, it just violates customer expectations" and someone needs to figure out what the product should do in this case.

We burnt through our backlog of "obviously we should do this when we have time" stuff in the spring. It was pretty fun to kill pretty much all of my multi-year refactor and cleanup list.
Now we are pretty much bottlenecked on the business side.

coffeebeqn1 reply#
Our bug backlog is also practically empty (backend, financial). It’s a bit more slow moving and low bug domain for us in general but still. I went looking the other day and all that’s left is some dependency updates and such. I don’t know what models you guys are using if it can’t fix most bugs pretty easily with a decent set of steps defined
ex-aws-dude2 replies#
Let me give you an example

According to our metrics there is a crash in the wild that occurs 1 in 10000 launches of the product (desktop C++ app), all we have is a lightweight crash dump with call stack
I put Opus 5.5 on it and it spins and spins and comes back with some theories, some sound convincing but I can't test them as no one can reproduce the bug (tricky timing or some unknown combination of states)
Eventually I submit one as a speculative fix and it comes back in a few days that the crash is still occurring
I would love to just aim the agent at it and get a fix but it just doesn't happen a lot of times

saulpw#
So it sounds like AI is no worse than your dev team? I mean if you think up some way that you figure it out, like extra instrumentation or some experimental setup, then that's the first 1% and you can tell the agent to do the other 99%. But otherwise this stuff is hard and AI is not (yet) more intelligent than humans. It's just as intelligent as I need to be for most things.
j3g6t1 reply#
Why not first ask it to try and replicate the issue / make it reliably reproducible?

Continue this thread — 1 reply

Load more comments