Investigate bugs, regressions and flaky tests using reproduction and root-cause evidence. Use for why does this fail, diagnose this regression, or fix this bug. Diagnosis returns findings; requested fixes include verification. For general cleanup without a reported failure prefer code-quality.