将"队列已满 + 未在等待最早开奖"判定块(约 33 行)抽到 helper: - 检查 reservations 数量 >= max_reservations 且 queue_full_waiting_at_earliest=False - 满足时调用 douyin_reservation_logic.handle_queue_full_wait_at_earliest - 成功 → 设置 queue_full_waiting_at_earliest 和 focus_until + 写完成日志 返回值约定: - True:队列已满且已回退等待,调用方应直接 return - False:队列未满或未触发回退,调用方继续 douyin_fudai.py: 1670 → 1648 行 (-22) fudai_detail_helpers.py: 2273 → 2328 行 验证: - pytest 1013 passed - compile OK Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>