Bisect a Regression

Walk the history between a known-good commit and main to find the culprit diff.

Advanced1 min read

Customize

Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.

Your prompt

3 placeholders left
Feature {{feature}} worked in commit {{good_sha}} but is broken on main.

Use `git log` and `git diff {{good_sha}}..main -- {{path}}` to find what changed, identify the likely culprit commit, and propose a fix.

Show me the diff that caused it.

Similar prompts

Add Diagnostics Before Guessing

Instrument first, theorize second — logging with a stated plan for capturing the failure.

Commit and Open a PR

Close out a session with a why-focused commit and a PR that carries a test plan.

Reproduce, Then Fix

Force a failing test that captures the bug before any fix is allowed to land.

Check the Diff Against the Plan

Audit finished work against the plan it was supposed to follow — gaps only, no style notes.