# Redefining Bug Management for AI Products

**Podcast:** All Things Product with Teresa and Petra
**Published:** 2026-11-24

## Transcript

Hi, folks.
This is All Things Product with Petra Wille.
And Teresa Torres.
And we're so happy you're here.
Teresa, in a few of the older episodes, we already figured that with AI, there are new terms coming up or terms that we have been using for decades are obsolete or need to be retired.
We briefly had a conversation around the concept of what is a bug and figured that this is one of the terms that might need an update.
Maybe you can unpack this for us for a second.
Yeah, this is something that I've been playing with as I develop AI products, specifically with my partnership with Vistaly, where we're building AI interview snapshots and AI opportunity solution trees.
It could be we're on a customer call and a customer shares.
the agent did something unexpected.
So it sort of feels like a bug report, right?
It could be someone on the Vistaly team is playing with our opportunity solution tree.
So we're interviewing customers and interviewing our, and like looking at our opportunity solution tree and something looks off.
Like they wouldn't have framed the opportunity that way.
They would have grouped things a little differently.
And so they file what's essentially a bug report.
And what's interesting.
Well, one, for me, it's interesting being on the developer side of bug reports instead of the product manager side of bug reports.
But also it's interesting because I think with deterministic code, when somebody files a bug report, we always have to first evaluate, is this a bug?
So can we validate it?
Is it an unintended way for the software to perform?
And sometimes it's not a bug, right?
Sometimes we get bug reports from customers and we go, no, the software is working as intended.
You just have a misunderstanding.
But for the most part, I think in regular code, it's pretty easy for us to agree this is a bug or not.
It's more black and white.
Sorry, go ahead.
It's more black and white.
It is more like, hey, it is not working as we defined it in our backlog item, for example.
The specification was different than what we see now in the software.
So everybody can easily agree, yeah, okay, the behavior the software shows is not how it's intended to be in the past.
Whereas I think with AI products, like with deterministic code, we're prescribing exactly this is what the software is going to do.
And so...
Whether or not something is a bug, is that what we prescribed or not?
It's much more black and white.
We might disagree on what should have been prescribed, but we know, like, is the software doing what it was written to do?
I think with AI products, it's a little bit different because agents are, you get better and worse answers.
You don't always get right or wrong answers.
There are, of course, instances where an answer is clearly wrong, but I think there's a lot of gray.
let's say you have an agent that's writing an email for you, the tone could be a little off.
It's not wrong.
It's a little off.
It could be maybe you have a conciseness measure and it's a little too long or it's like in the range, but you would prefer it be a little shorter.
So like what's a bug is a little more subjective.
And so what I notice is that there's still both from customers and from like people that work on the software.
There's still this expectation that like you can file a bug report and that the bugs will get fixed.
And I think there's two challenges with this.
Did you want to jump in?
Yeah, I just wanted to say, and it is increasingly hard to decide how to fix those bugs if you agree on that the behavior could be optimized, because what you need to do is optimize the outcome of what the agent does or what the AI tool does.
whatever you're currently building and you cannot fix this particular thing very, very precisely.
Right?
Well, I think there's two challenges.
So there's one is like, are we even agreeing this is a bug?
Like, yeah.
What is our definition?
Is the agent misbehaving?
Yeah.
Like what is our definition of a good response?
True.
And that's where we're going to get into evals and defining what good looks like.
So that's one thing.
And I think.
So for complex AI products, our definition of good might be complex.
We might have lots of different attributes of good.
And so it's not as black and white.
We have to first categorize this thing.
And good enough.
You need a definition of good enough.
Not only good, but good enough.
Actually, good enough is the hardest one.
Because no AI product is going to be perfect.
And we're going to talk about why that is in a second.
So you have to have this idea of good enough.
because you're not, and good enough on a lot of different dimensions.
So let's stick with this email example.
Like maybe I define good as an email that's concise, like it's the appropriate length, written like me and my tone, written appropriately for the recipient.
So like I have three different dimensions I've already started to identify.
Tone, length, like appropriate for the recipient.
You could imagine if we were really building an email writing product, there'd be a lot more attributes of good.
Yes.
So now somebody reports an issue and we're starting to look at like, did it violate one of our definitions of good?
So if someone says this was too long, okay, well, was it too long?
Like we set a threshold for length.
Does it violate that length?
And then even if it doesn't, even if it doesn't, like let's say it fits within our norm.
Person reporting it has a perception that it's wrong.
Yes.
So now we have to decide, like, should we change that norm?
The threshold.
Like, why is the perception that it's wrong?
So even that is like gray and murky.
Yeah, indeed.
And then there's the second element of it, which is when someone reports a bug in deterministic code, we go look at the code and we fix it.
We can write better code for the outcome that we want.
I mean, it's not, I guess you can go change your prompt and hope to get better output, but it's not really that simple.
And there's this concept in AI of like overfitting.
So I want to explain what this means.
Yeah, please.
Let's say that somebody says, this email is the wrong tone.
It's too direct.
Okay, great.
So somebody reports a bug that is too direct.
And so you look at that specific email.
And you go, oh, they use this word, which is too direct.
I'm going to go right in my prompt.
Don't ever use this word.
Don't use M dashes.
Never use M dashes to reset.
You can't do that, right?
Because if you change your prompt for every single error that's reported, you start to create an agent.
A dictionary.
It's very brittle.
It's designed for...
very specific instances and won't generalize to instances you haven't told it about.
And so there's a little bit of like a cost of the more we correct the agent, the less useful the agent becomes for cases it hasn't seen.
And so like with evals, we talk about error analysis.
Like we're going to look at a bunch of traces.
We're going to categorize our errors.
We're going to look at patterns and then we're going to try to reduce the error rate in different categories.
So instead of like solving one bug at a time, we're working with sets of bugs and reducing rates.
And it occurred to me like...
And that takes time, right?
So you need, first of all, have several instances of a said bug.
category that you can put into such a category and then optimize for the outcome.
So it will take a bit more time than having one bug, fix one bug, push it to production, and then it's done.
Yeah.
Okay.
So yes.
So it means we see something that we agree might be a problem, but we've only seen it once.
So we have to wait to collect more instances, which is already uncomfortable.
You like want your product to be perfect, right?
Especially as product people.
Yes.
Yeah.
And then, okay, now we have enough instances.
We're still like, I came up with this analogy of building AI products is like trying to steer a chaotic monster.
And we're like happy when it's going in the right direction.
And then with time, we can refine it to like stay on the path and go in the right direction.
Yeah.
And then like with more time, we can get it to walk straight down the path going in the right direction.
But it's not like you write some lines of code and it's just perfect.
It's like it literally is steering.
And iterating and trial and error.
So even when you collect a lot of instances, you might be able to reduce the rate, but you probably will never make them entirely go away.
And you still want the monster to be a monster because otherwise you can start using old coding technologies and hardcore stuff, right?
So you still want it to be this agent kind of thing.
It has a bit of room to maneuver, but you need to understand how many guardrails and...
Yeah, these kind of things you need to implement.
Yeah.
It's very uncomfortable and it takes a lot of time, I bet.
Yeah, it's fascinating to me that like, it's not true.
Like some people say, like I've seen some people post on LinkedIn things like, how can you ask your customers to trust your product when you get like non-deterministic responses?
It's like the assumption in that question is, We can't control quality.
That's not true.
We can control quality.
We probably can't get the perfect.
Yeah.
Right.
That's a good enough thing.
And the thing is, I think what is very fascinating is how will.
How used will all the users get to these behaviors?
Because right now they are very used to software working a particular way.
And the more everybody uses large language model and agents and all these kinds of things, the more folks will understand that there is a bit of vagueness to how things operate in the future.
And that results and people start learning this.
when they use the LLM like they were using Google, they already understood that it's not always a very precise answer that the LLMs are bringing back from the interwebs.
So I think people will get used to it to some extent and maybe not reporting all the bugs that they currently would.
But still, so let's see how people's behaviors change, people's perception change and how product teams adapt to it.
Yeah, the part that I think is most interesting is that like, good or right is a moving target.
Yeah.
Right?
Like, I think with regular code, it's not, I mean, it is a moving target in that like, we learn from our customers and we decide to change the way the software works.
But like, at a single moment in time, we can all collectively agree, we wrote the software to do X and it does in fact do X.
I think with AI products, that's not true.
We wrote the, we are steering the agent to do X.
X is not as black and white.
It's more subjective.
And we can approach X.
We may not be able to achieve X.
Which is another thing that requires more collaboration and communication within a product team, right?
Because they have to collect more instances and then they have to sit down and really think about what is good enough, which that will be a conversation.
And I think it's not just within the product team.
Like imagine a sales rep that like, or a customer support person that's on the phone with a customer who's highlighting like, Hey, I don't like this email that it wrote for me.
Like your product's broken, right?
Like it's the whole organization actually has to learn to really have a shared concept of what's good enough.
And then, um, I also like, I know every company I've ever worked with had like a database of infinite bugs.
And there's been a lot of debates about like whether you should stop and fix every bug you find.
Yeah.
And like there's.
Or prioritize the bugs.
Yeah.
Like hot button issue.
Like do you have bug prioritization meetings?
How do they get, do they supersede a sprint?
Or a team dedicated to fixing bugs.
Yeah, exactly.
Worse, even worse.
Yeah.
This is already like a hot button issue across the board.
But I think it's going to get harder because even what we call a bug has fuzzier lines.
And this is a very interesting aspect.
It wasn't something I anticipated.
I started noticing I would get a little bit frustrated with what I'm going to call bug reports.
I want those reports.
I actually want a report of every time somebody sees something that feels off.
So it's not that I was getting those reports that frustrated me.
It's the fact that they came with an expectation that this will be fixed.
Yeah.
Right?
And like, it made me very aware.
We all have to learn that one, we have different definitions of good.
And so there's new work to do to align on what good means.
And then two, We can't fix single bugs for the most part.
We fix categories of bugs.
And then that's a new mindset.
And we don't fix them.
We only improve.
We steer the monster.
Yes, we steer the monster.
That's all we can do.
I love that.
Teresa, that was a lovely topic to discuss, I think.
Thank you so much for bringing this up.
Thanks for humoring my bugs.
