Close P12 alert silent window loop

This commit is contained in:
Codex
2026-05-12 01:17:52 +08:00
parent 0eb89d6aee
commit c60ea66133
23 changed files with 423 additions and 25 deletions
@@ -397,6 +397,8 @@ candidate -> decision alert -> dispatcher -> 外部消息 -> delivery record
- 2026-05-12 P10 本地闭环已验证:cleanup 脚本可删除过期临时文件,runtime smoke 无 blocker,本地 API/workbench smoke 可见 cleanup 路径。
- 2026-05-12 P11 已完成 `stuck task` 检测闭环:新增 `RuntimeTaskWatchdogService`、`scripts/run_runtime_task_watchdog.py`、`GET /trading/runtime-watchdog`、`runtime_status.runtime_watchdog`,以及 runtime 面板 stalled-task 呈现。
- 2026-05-12 P11 本地闭环已验证:watchdog 脚本返回 `stalled_task_count=0`,runtime/API/workbench smoke 可见 watchdog 路径与状态输出。
- 2026-05-12 P12 已完成 `silent window / noise control` 基础闭环:新增 `AlertSilentWindowService`、`scripts/run_alert_silent_window_status.py`、`GET /trading/alerts/silent-window-status`,并将静默窗口状态接入 dispatcher、alert quality summary、runtime `alert_dispatch` 细节和 workbench 面板。
- 2026-05-12 P12 本地闭环已验证:silent-window 脚本与 API 可返回 `active=true`,`quality-summary` 与 dashboard 可见静默窗口状态与 suppression 统计。
### 验收
- 非重大错误不打断主循环
@@ -649,6 +649,10 @@
- `VISUAL_CAPTURE_CLEANUP_MAX_DELETE_FILES`
- `RUNTIME_TASK_STALE_MULTIPLIER`
- `RUNTIME_TASK_STUCK_MIN_SECONDS`
- `ALERT_SILENT_WINDOW_ENABLED`
- `ALERT_SILENT_WINDOW_START_HOUR`
- `ALERT_SILENT_WINDOW_END_HOUR`
- `ALERT_SILENT_WINDOW_TIMEZONE`
---