# Find the change that broke something

> A feature worked last week, and you can’t tell which of forty changes broke it.

Web page: https://buildladder.com/resources/prompts/used-to-work

What you get: The exact saved version where it broke, found by halving, and the lines responsible.

Paste it into: Your AI tool, in your project

## Prompt to copy

```text
[Feature] used to work and now doesn't. Find the change that broke it.

Write a quick check that passes when the feature works and fails when it doesn't, ideally a command and not a manual click-through. Find a saved version (a commit) where it still worked. Then search between that one and now by halving, using git bisect, and run the check at each step.

Tell me the commit that introduced the problem, the lines responsible, and why they break it. Fix it on top of the current code without throwing away the other work done since. If you get stuck, leave my working folder exactly as you found it.
```
