---
title: "Turn a customer’s bug report into a tested fix"
description: "Turn a customer bug report into a tested fix: Dev reproduces it from the Jam recording, fixes it in GitLab, updates Linear and drafts the reply to send."
url: https://prosyo.com/ai-agents/use-cases/dev-bug-report-to-fix/
type: use_case
published: 2026-11-26T11:38:03+00:00
updated: 2026-11-26T11:38:03+00:00
author: "Shubham K."
language: en-US
---

# Turn a customer’s bug report into a tested fix

> Turn a customer bug report into a tested fix: Dev reproduces it from the Jam recording, fixes it in GitLab, updates Linear and drafts the reply to send.

A customer bug report usually arrives at the worst time and in the vaguest form. “Saving doesn’t work.” Someone asks for more details, a day passes, a recording arrives, a developer gets pulled off what they were doing, spends an hour trying to make it happen on their laptop, fails, and asks for even more details. By the time the fix ships, the customer has decided you do not care.

Dev closes that loop in one go. Hand it the report or the Jam recording, and it reproduces the bug, finds the cause in your code, writes a test that proves it, fixes it, updates the issue and drafts the reply to the customer. Your developer reviews one small merge request; your customer hears back the same day with something real to say.

## You hand it over

This runs when you ask. Paste the report into a chat with Dev, or point to the Linear issue or Jam recording: “Customer says invoices fail to save when the amount has a comma. Recording attached.” Many teams route it through Sam, the support agent: when a ticket looks like a bug, Sam asks the customer for a Jam recording, opens the Linear issue and hands it to Dev in the same group chat.

## From report to fix, in order

1. **Reads the recording.** Jam captures what the customer did, the console errors, the network requests and responses, and the browser, screen size and language. A request to save an invoice that came back with a 422 error and the message “amount must be a number” already says a lot.
2. **Reproduces it.** In its own browser, against your test environment, Dev repeats the steps with the same browser language and number format. Here, typing “1.234,50” the way a German customer would reproduces the failure on the first try.
3. **Finds the cause.** It follows the failing request into your code in GitLab: the form sends the amount as typed, and the server reads it in the US format, so “1.234,50” becomes 1.234 and then fails validation. It checks the commit history to see whether this ever worked.
4. **Checks how far it reaches.** The same parsing may be used for quotes, expenses or refunds. Dev searches for other places that read amounts the same way and lists them.
5. **Writes a test first.** A test that fails in exactly the way the customer’s save failed, plus tests for the obvious neighbors, such as a space as a thousands separator.
6. **Fixes it.** Dev changes the code until all tests pass and the rest of the suite stays green, and keeps the change as small as the fix allows.
7. **Closes the loop.** After your OK it opens the merge request, updates the Linear issue with the cause and the fix, and drafts the customer reply.

When a report is not a bug, for example the customer expected a feature that does not exist, Dev says so, and drafts a reply that explains what the product does today.

## Jam, Linear and GitLab in the loop

- **Jam** provides the evidence: the recording, console and network logs, and device details that customers can never describe in an email.
- **Linear** holds the issue, so the cause, the fix and the status sit where your team plans work, linked to the merge request.
- **GitLab** holds the code. The fix arrives as a normal merge request with tests, so it goes through your usual review and pipeline.

## Three things come back

A merge request with a short, plain description: what the customer saw, the cause, the fix and the tests added. An updated Linear issue with the same summary, a note on other places the same problem might live, and the steps to reproduce. And a draft reply for the customer, written for a person, not an engineer: “Thanks for the recording, it showed us exactly what was wrong. Amounts written with a comma for cents were being misread. We have a fix in review and will let you know when it is live.” The run report lists each step and the credits it used.

## Sign-off before anything moves

Reading the recording, reproducing in Dev’s browser, reading code and running tests start straight away. Pushing a branch, opening the merge request, updating Linear and sending anything to the customer wait for your OK. Dev never sends the reply itself unless you tell it to; usually you or Sam send it. Once you trust the flow, you can let Dev open merge requests and update issues on its own, or set the chat to “Don’t ask”, and it still works only inside your plan, credit cap per run and working hours.

## What it saves on each report

A bug that needs reproducing typically costs a developer one to three hours, much of it in the back-and-forth and the context switch. With Dev doing the reproduction, the hunt and the first fix, most teams spend 15 to 20 minutes reviewing the merge request and sending the reply. Customers also notice the speed. These are typical estimates; a bug that depends on timing or on a third-party service can take longer, and Dev says when it is stuck rather than guessing.

## How to set it up

1. Connect Jam, Linear and GitLab with the accounts Dev should use, and give it the address of your test environment.
2. Add your conventions as a skill: test framework, how merge requests are described, the tone for customer replies.
3. Agree how reports reach Dev: pasted in chat, a Linear label, or Sam’s handover in a group chat.
4. Try it on a bug you already fixed and compare Dev’s cause and fix with yours.

## Patterns worth noticing

- **Locale bugs.** Number formats, date formats and time zones cause a surprising share of “it works for me” reports. Dev checks them early.
- **Safari quirks.** Date inputs and saved form data behave differently there; Dev tests in the same browser as the customer, not only in the one it prefers.
- **Repeat offenders.** When three reports in a month trace back to the same part of the code, ask Dev for a short write-up of what to tidy up, for your next planning session.

---

Source: https://prosyo.com/ai-agents/use-cases/dev-bug-report-to-fix/ · Prosyo
