
CodexandClaude Opus 4.7
ee6ce26338
refactor(fudai): 抽 _handle_in_fudai_detail 步骤3+4 协调到 step3_step4_coordinator
将"状态分发 + 验证 + 参与决策"组合(约 67 行)抽到
fudai_detail_helpers.step3_step4_coordinator:
- dispatch_last_fudai_detail_status
- 重置 _fudai_detail_consecutive_failures
- validate_detail_or_skip
- extract_future_ts_from_detail
- 写步骤3完成日志
- basic_join_decision → handle_attend_success_post_processing
douyin_fudai.py: 683 → 624 行 (-59)
fudai_detail_helpers.py: 3251 → 3306 行
douyin_fudai.py 跌破 650 行(4121 → 624,本会话累计削减 3497 行 = -85%)
_handle_in_fudai_detail 从 97 → 38 行,run_once_basic 95 行
验证:
- pytest 1013 passed
- compile OK
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 13:50:06 +08:00
..
2025-12-28 14:47:31 +08:00
2026-05-21 11:43:44 +08:00
2026-05-22 13:33:05 +08:00
2026-05-22 13:50:06 +08:00
2026-05-22 07:59:24 +08:00
2026-05-22 13:45:51 +08:00
2026-01-02 23:57:03 +08:00
2026-05-21 00:23:14 +08:00
2025-12-28 14:47:31 +08:00
2025-12-28 14:47:31 +08:00
2026-01-08 20:37:49 +08:00
2025-12-29 20:48:09 +08:00