feat(tasks): stop tasks that miss a configurable findings checkpoint

This commit is contained in:
ji ruo committed 2026-11-11 14:07:39 +08:00
1 parent 39a8f2c31a
commit 997d2d98c0
24 files changed
+812 -64

No files matched your search

+17 -1
View File
@@ -346,13 +346,29 @@ export const taskMessages = {
"Fail over in list order. The first configuration is current; switch to the next only when quota is confirmed insufficient.",
],
"taskUI.advanced": ["高级设置", "Advanced settings"],
"taskUI.advancedSummary": ["超时 · 心跳 · Worker · 首个意图", "Timeout · Heartbeat · Workers · First intent"],
"taskUI.advancedSummary": [
"超时 · 无成果止损 · 心跳 · Worker · 首个意图",
"Timeout · No-result stop · Heartbeat · Workers · First intent",
],
"taskUI.timeoutOptional": ["任务超时(分钟,可选)", "Task timeout (minutes, optional)"],
"taskUI.noTimeout": ["留空 = 不限时", "Leave empty for no timeout"],
"taskUI.timeoutHelp": [
"到点后触发优雅收尾(各 agent 写回 + planner 终局判定),任务进入 timeout 终态。",
"At the timeout, Agents write back and the Planner makes a final decision before the task ends with timeout status.",
],
"taskUI.noResultStopped": ["无成果停止", "Stopped: no results"],
"taskUI.noResultOptional": ["无成果止损(分钟,可选)", "No-result stop (minutes, optional)"],
"taskUI.noResultCount": ["最少漏洞数", "Minimum findings"],
"taskUI.noResultSeverity": ["最低等级", "Minimum severity"],
"taskUI.noResultAnySeverity": ["不限等级", "Any severity"],
"taskUI.noResultLow": ["低危及以上", "Low or above"],
"taskUI.noResultMedium": ["中危及以上", "Medium or above"],
"taskUI.noResultHigh": ["高危及以上", "High or above"],
"taskUI.noResultCritical": ["严重", "Critical"],
"taskUI.noResultHelp": [
"留空或 0 = 关闭。累计实际运行到此时长后检查一次;达标独立漏洞不足则收尾停止,达标后继续运行且不再检查。暂停、排队和计划窗口外不计时;误报不计,归并漏洞算一个。最短 1 分钟,可与任务超时同时设置。",
"Empty or 0 disables this option. Check once after this much active runtime: stop if too few independent findings qualify; otherwise continue without further checks. Pauses, queue time and closed schedule windows do not count. Exclude false positives and count merged findings once. Minimum: 1 minute. Can be combined with the task timeout.",
],
"taskUI.heartbeat": ["planner 心跳(分钟)", "Planner heartbeat (minutes)"],
"taskUI.defaultTen": ["默认 10", "Default: 10"],
"taskUI.heartbeatHelp": [