SERVICES · REPAIR FOR AI-ASSISTED CODE

AI Bug Fixing

If AI-generated or AI-assisted code fails to build or behave as expected, we diagnose the problem, add a regression check where possible and deliver a focused fix you can review.

WHAT’S IN THE BOX

What you get from a focused repair

We work from the behaviour you can observe. You don’t need to know which lines were generated.

PIECE 01

A clear failure report

Write down what you expected, what happened instead, and what version or environment was affected.

PIECE 02

A safe reproduction

Try to reproduce the failure with a test environment and scrubbed inputs rather than experimenting on live customer records.

PIECE 03

A diagnosis you can follow

Trace the failing path through the relevant code and dependencies. Separate the likely cause from anything we can’t yet prove.

PIECE 04

A regression check

Where the bug is repeatable, capture it with a check that fails before the fix and passes after. If automation isn’t practical, document the verification steps and their limits.

PIECE 05

A targeted repair

Change what’s needed to correct the behaviour. Flag wider cleanup separately if the code around the bug needs more work.

PIECE 06

Notes for review and release

Hand over the diff, the checks we ran and any uncertainty that matters before the fix is merged or released.

SNAKES AND LADDERS

Common failures we’d investigate

THE SNAKE

The sample input passes, but an empty or partial record breaks the screen.

THE LADDER

Isolate the input that triggers the failure, decide the expected response and test it alongside the normal case.

THE SNAKE

A retry shows success but leaves duplicate records.

THE LADDER

Trace how the operation is saved and check what should happen when the same request is sent again.

THE SNAKE

The app behaves differently in staging from the developer’s machine.

THE LADDER

Compare versions and configuration, then verify the fix in an environment that matches the failure as closely as possible.

THE SNAKE

A previous patch hid the error message without fixing the behaviour.

THE LADDER

Test the user-visible result, follow the failure back to the responsible code and fix it there.

FOUR MOVES

From symptom to verified fix

  1. Start with the symptom

    Send the expected and actual results, when it started, and a safe example if you have one. Don’t send credentials or customer data in the brief.

  2. Diagnose the failure

    Reproduce the issue where possible and trace it to the relevant code, data or environment. Agree on a bounded fix once the cause is understood.

  3. Capture the regression and repair it

    Put the failing behaviour under a check where feasible, make the fix, and rerun checks around the affected workflow.

  4. Hand over the evidence

    Show what failed, why it changed and what now passes. Flag any follow-up or release checks that still need an owner.

HOUSE RULES

What to know before sending a bug

Ask yours in a brief →
Do I need the original prompt or a record of which lines AI wrote?

No. The code, versions and failing behaviour are usually more useful. We don’t assume AI caused the bug just because it helped write the code.

Can you help if there’s no test suite yet?

Yes. We look for the smallest reliable way to verify this repair. That might be a targeted automated test or a documented manual check with specific inputs and expected results.

What if the bug only happens sometimes?

We start with diagnosis. Useful evidence can include scrubbed logs, affected versions or event timing. If we can’t establish the cause, we’ll explain what we found and what evidence we’d need next rather than call it fixed.

Will you rewrite the app?

Not as part of a focused repair. If the diagnosis points to changes beyond the agreed scope, we’ll explain why and scope them separately before proceeding.

Is this a service for improving chatbot or model output?

No. The focus is software defects in code written with AI assistance, not model tuning or improving the quality of generated answers.

CHANCE PLAN THE NEXT CHANGE Need a feature built rather than a defect fixed? Explore AI-Accelerated Development →CHANCE READ BEFORE THE NEXT MERGE Want to catch more mistakes during review? Read our guide to reviewing AI-assisted work →
YOUR MOVE

Tell us what you need shipped.

Deal us three cards. A short, non-confidential brief is enough to start, and we reply with what a useful first change could look like.

1

The product or project

A link if it’s public, or a short non-confidential summary.

2

What’s stuck

The bug, integration, release or workstream that needs an owner.

3

What should change next

Or the milestone you’re working toward.

No repository access, credentials or client material needed in the first message.