diagnose-generation-failure

When SDK generation fails, determine the root cause and fix strategy.