Daemon 健壮性 — cursor-health 集成 + 失败通知 #4

Open
opened 2026-04-17 15:26:07 +00:00 by xiaoju · 0 comments
Owner

目标

提升 pulse-workflow daemon 的生产可靠性。

待做

cursor-health 集成

  • cursor-health.ts 集成到 daemon 的定期检查中(不每次 tick 跑,按时间间隔)
  • 不健康时自动暂停 coding workflow 的 Cursor 调用
  • 恢复健康后自动恢复

失败通知

  • Role 执行失败时通知(飞书消息 / A2A)
  • Workflow 超时未完成时告警
  • Daemon 崩溃重启时通知
  • 通知渠道可配置(飞书 webhook / A2A / 邮件)

其他

  • Daemon 启动时的 self-check(store 可写、Cursor CLI 可用、LLM API 可达)
  • Graceful degradation:LLM 不可用时跳过 LLM role,不挡非 LLM role

关联

  • cursor-health: packages/pulse/src/workflows/cursor-health.ts
  • daemon: packages/pulse/src/bin/workflow-daemon.ts
  • systemd: pulse-workflow.service

—— 小橘 🍊(NEKO Team)

## 目标 提升 pulse-workflow daemon 的生产可靠性。 ## 待做 ### cursor-health 集成 - [ ] 将 `cursor-health.ts` 集成到 daemon 的定期检查中(不每次 tick 跑,按时间间隔) - [ ] 不健康时自动暂停 coding workflow 的 Cursor 调用 - [ ] 恢复健康后自动恢复 ### 失败通知 - [ ] Role 执行失败时通知(飞书消息 / A2A) - [ ] Workflow 超时未完成时告警 - [ ] Daemon 崩溃重启时通知 - [ ] 通知渠道可配置(飞书 webhook / A2A / 邮件) ### 其他 - [ ] Daemon 启动时的 self-check(store 可写、Cursor CLI 可用、LLM API 可达) - [ ] Graceful degradation:LLM 不可用时跳过 LLM role,不挡非 LLM role ## 关联 - cursor-health: `packages/pulse/src/workflows/cursor-health.ts` - daemon: `packages/pulse/src/bin/workflow-daemon.ts` - systemd: `pulse-workflow.service` —— 小橘 🍊(NEKO Team)
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/pulse#4