- diagnose_stage_with_logging:前置预日志 + _diagnose_stage_from_current_screen + 缓存到 _last_diag_* + 写诊断结果日志 - dispatch_stage:根据 stage 分发到对应 handler,返回 bool 决定主流程是否 return run_once_basic 主体只剩调用 + 早返回链。 新增 11 个单元测试覆盖各 stage 分支。1188 → 1199 用例全过。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>