Files
Nexus/docs/audit/2026-06-14-watch-slot-paused-center-switch.md
T
Nexus Agent 825d0297c4 feat(watch): show centered enable switch when slot monitoring is paused
Paused slots now prompt with a large middle switch before showing CPU and memory metrics; header switch only appears while monitoring is on.
2026-06-14 00:38:44 +08:00

863 B
Raw Blame History

审计 — 监测槽暂停态居中开关

Changelog: docs/changelog/2026-06-14-watch-slot-paused-center-switch.md

审计范围

文件 变更 状态
WatchSlotCard.vue 暂停态居中开关、开启后才显示指标

Step 3 规则扫描

H 规则 结论
H1 无新 API SAFE — 仍 emit('monitoring', …)
H2 误触历史 SAFE — 暂停态卡片主体不跳转,仅「历史」按钮
H3 双开关冲突 SAFE — 顶栏开关仅 monitoringOn 时显示;暂停仅中部开关开启

Closure

H 判定 依据
H1H3 SAFE 纯前端 WatchSlotCard.vue 模板分支

DoD

  • changelog
  • cd frontend && npx vite build
  • 生产浏览器终验:暂停槽中部开关 → 开启后见 CPU/内存