Files
Nexus/docs/changelog/2026-05-22-alert-push-dashboard.md
T
Your Name aa65f10c52 docs: Phase 2 audit records, project memory, WSL guide
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>
2026-05-23 15:27:40 +08:00

1.0 KiB
Raw Blame History

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,不记录 queryJWT 不进日志)

部署

生产 Nginx 若已上线,合并 location /ws/log_format nexus_wsaccess_log ... nexus_ws 后 reload。

阈值对齐(第 5 项)

  • 中心:settings / MySQL cpu_alert_threshold
  • 子机:config.jsonalert_thresholds(见 config.example.json
  • 修改中心阈值后,请同步更新各 Agent 的 alert_thresholds