aa65f10c52
Audit docs:
- docs/reports/audit-phase-2{a-j}-line-walk.md: per-file line walk findings
- docs/reports/audit-phase-2-findings-matrix.md: 63 findings (52 fixed, 3 partial, 7 accepted)
- docs/reports/2026-05-23-full-audit-report.md: full audit consolidation
- docs/reports/audit-full-vs-phase2-reconciliation.md: cross-reference
- docs/reports/audit-phase-2-walk-closure.md: closure sign-off
Project docs:
- docs/project/phase-2-audit-remediation.md: SSOT for all fixes
- docs/project/alert-push-policy.md: dashboard alert design decisions
- docs/project/production-verification-checklist.md: first-deploy checklist
- docs/project/script-execution.md: script platform design
- docs/project/wsl-integration-test.md: WSL code-only verification guide
- docs/project/line-walk-audit-standard.md: audit methodology
- docs/project/mysql-mcp-setup.md: MCP config guide
Changelogs: 18 entries (2026-05-22 to 2026-05-23)
Project memory: CLAUDE.md, AGENTS.md updated to reflect current state
Deploy: nginx_https.conf template updated
Co-authored-by: Cursor <cursoragent@cursor.com>
1.0 KiB
1.0 KiB
Changelog — 告警推送:浏览器仅状态 + Telegram 通知
日期: 2026-05-22
SSOT: docs/project/alert-push-policy.md
产品决策
| 通道 | 行为 |
|---|---|
| Telegram | 告警/恢复/系统主动通知(5 分钟防抖) |
| 浏览器 | 只显示统计与运行状态;无声音、无告警列表 |
| WebSocket | 触发 loadDashboard(),不触发 loadSyncs() |
代码
web/app/index.html— 运行状态面板;移除_playAlertSound、实时告警横幅server/api/websocket.py— 文档注释对齐deploy/nginx_https.conf—/ws/独立 access_log,不记录 query(JWT 不进日志)
部署
生产 Nginx 若已上线,合并 location /ws/ 的 log_format nexus_ws 与 access_log ... nexus_ws 后 reload。
阈值对齐(第 5 项)
- 中心:
settings/ MySQLcpu_alert_threshold等 - 子机:
config.json→alert_thresholds(见config.example.json) - 修改中心阈值后,请同步更新各 Agent 的
alert_thresholds