← ClaudeAtlas

git-history-diagnosticlisted

Use when something worked before and is now broken (a regression), or the operator asks "when did this break", "find the commit that caused X", "it used to work", "compare to a previous version". Locates where a regression entered by comparing commits / bisecting history. Do NOT use for net-new bugs that never worked, for routine rollback (git-workflow), or as a substitute for reproduce-before-fix (FR-10).
fusebase-dev/fusebase-flow · ★ 2 · AI & Automation · score 81
Install: claude install-skill fusebase-dev/fusebase-flow
# Git History Diagnostic > **Style:** Mode-B-lite. ## Purpose Regression archaeology: when behavior that previously worked is now broken, locate **where** it broke by comparing commits / bisecting history — so the fix targets the actual causing change, not a guess. Read-only diagnosis; the fix is handed to `zoom-out` + `validation-and-qa`. ## When to invoke - "It used to work" / "this is a regression" / "when did X break". - A test that passed at an earlier commit now fails. - Operator points to a known-good prior state and a now-broken current state. ## Do not invoke when - The behavior never worked (net-new bug → normal debugging). - Routine rollback of a known commit → `git-workflow`. - Reproduction isn't established yet → run FR-10 reproduce-before-fix first (you need a reliable signal to bisect against). ## Required inputs | Input | Where it lives | If missing | |---|---|---| | A reliable broken/works signal (test or repro) | test suite / repro steps | establish via FR-10 first; bisecting needs a yes/no test | | Last-known-good reference (commit/tag/date) | operator / git history | search backward from HEAD for the transition | | Current broken state | HEAD | — | ## Procedure 1. **Pin the signal.** Define a deterministic check that returns good/bad (a test command, a repro). Bisection is only as reliable as this signal. 2. **Bracket.** Identify a known-good commit (or tag/date) and a known-bad commit (usually HEAD). Verify the signal at both ends. 3. **Bisect.