0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. cron
  6. /
  7. protocol
GGucc1refactor: move cron/always-on business logic from ui/server/ to src/
8d7f5c1b创建于 19 天前历史提交
文件最后提交记录最后更新时间
types.ts
refactor: move cron/always-on business logic from ui/server/ to src/ Enforce backend-bug-locality rule: ui/server/ is a thin protocol adapter and must not host business logic. This commit extracts ~1600 lines of algorithms into src/always-on/web/ and src/cron/, slimming ui/server/ files to delegation-only wrappers. - Discovery plan status machine, lifecycle, and context aggregation → src/always-on/web/{DiscoveryPlanStatus,Service,Context}.ts - Run-history event merging and transcript recovery algorithms → src/always-on/web/AlwaysOnRunHistoryService.ts - Unified "run cron now" via Gateway RPC (cronRunNow) replacing the dual sendCronDaemonRequest / gateway.cronCreate paths - mapCronRunOutcome centralised in src/cron/protocol/types.ts - Deleted dead code: cron-daemon-client-lease.js, cron-session-bridge.js - 42 new unit tests covering all extracted modules Co-authored-by: Cursor <cursoragent@cursor.com> 19 天前