v10.7 18点平稳落地三连修: ①scrape批内18点软截止(处理完当前候选人即优雅收,不再被收队强杀) ②runner识别软截止正常收工 ③enforce-cutoff无条件以最新数据发日报(白天异常早发的不完整日报不再拦截18点正式日报)

This commit is contained in:
hermes
2026-08-27 10:12:33 +00:00
parent 01f5705003
commit bb841271d3
3 changed files with 27 additions and 11 deletions
+2
View File
@@ -333,6 +333,8 @@ async function verifyBlockedPage() {
sessionTotal += newN;
zeroStreak = newN === 0 ? zeroStreak + 1 : 0;
// v10.7:批内软截止输出识别(scrape 在18点后优雅退出,日志含"软截止")→ 正常收工
if (/软截止/.test(out)) { log('批内已到18点软截止,收工'); maybeSendReport('time_cutoff', lastChatLeft); break; }
if (pastCutoff()) { log('到达北京时间18:00,收工'); maybeSendReport('time_cutoff', lastChatLeft); break; }
const restMin = zeroStreak >= 2 ? randInt(30, 45) : randInt(10, 20);