BugDoctor: Diagnose the problem. Find the right fix.

Diagnose software errors, regressions, and recurring failures using relevant local evidence, current documentation, web research, and applicable prior art. Identify a supported cause and remedy, perform authorized scoped repairs, and verify the failing behavior.