将 84 行的"成功回退后处理"块抽到 helper: - focus_until_ts = ft + poll_before(设置锁定期) - reservation_after_action_pending = True - 写"已回退到目标直播间"运行日志和"回退成功"行为日志 - write_state_callback - 写"已触发回退"完成日志 attend_window.py: 637 → 574 行 (-63) attend_window_helpers.py: 699 → 804 行 attend_window.py 跌破 600 行(1437 → 574,本会话累计削减 863 行 = -60%) 验证: - pytest 1013 passed - compile OK Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>