Diagnose failures in the current local codebase and produce the smallest defensible fix. Use when the user reports an error, crash, bad output, flaky behavior, failed test, or asks for root-cause analysis and a concrete repair in the workspace. Do not use for system administration or hardware troubleshooting. Chinese triggers: 报错、运行异常、崩溃、逻辑错误、定位原因、修复 bug、最小复现.