fix(scheduled-task): improve live verify and short delivery acceptance
Memind CI / Test, build, and release guards (push) Failing after 12h5m29s
Memind CI / Test, build, and release guards (push) Failing after 12h5m29s
Extend live verify wait budget to cover Agent execution timeout, use a deterministic smoke taskSpec, and accept concise successful replies like 「验证成功」 instead of treating them as non-delivery. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -94,7 +94,10 @@ export function looksLikeScheduledTaskNonDelivery(text, { readyPaths = [] } = {}
|
||||
if (/public\/[^\s]+\.html/i.test(normalized)) return false;
|
||||
if (/页面链接/u.test(normalized)) return false;
|
||||
if (/(?:已生成|已完成|交付).{0,24}(?:页面|链接|结果)/u.test(normalized)) return false;
|
||||
return normalized.length < 40;
|
||||
if (/^验证成功[。!!]?$/u.test(normalized)) return false;
|
||||
if (/^(?:任务)?(?:已)?完成[。!!]?$/u.test(normalized)) return false;
|
||||
if (/^【验证】/u.test(normalized) && normalized.length >= 6) return false;
|
||||
return normalized.length < 12;
|
||||
}
|
||||
|
||||
export async function finalizeScheduledTaskPageDelivery({
|
||||
|
||||
Reference in New Issue
Block a user