Files
ulthon_admin/.agents/PROJECT.md
augushong 6dceb028b3 docs(timer): 更新 SKILL.md 和 PROJECT.md 多节点协调文档
T13: E2E single-node regression - all PASS
T14: E2E multi-node coordination - 7/7 PASS
T15: Document multi-node features in ulthon-timer SKILL.md and PROJECT.md
2026-05-26 18:33:43 +08:00

52 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目业务总览PROJECT
> 本文件记录项目的业务上下文,帮助智能体快速理解"这个项目在做什么"。
> 框架使用规则见根目录 `AGENTS.md`。
## 项目定位
(待填写。用一两句话描述项目是做什么的。)
## 核心业务模块
(待填写。列出主要业务模块及其对应目录。)
## 业务约束
(待填写。框架不涉及但业务必须遵守的规则。)
## 技术选型与外部依赖
(待填写。项目中使用的特殊技术或外部服务。)
## 开发偏好
(待填写。团队或开发者的个性化偏好。)
## 增量规则记录
开发过程中补充的业务规则、团队偏好与临时约束,按条新增。规则应可执行、可复现、可验证。
### 2026-05-26: 定时任务多节点协调
新增功能:
- 多节点定时任务协调(数据库为主协调中心)
- run_type 调度auto/main/all/manual
- 主节点自动选举 + 手动切换
- 执行日志记录与查看
- 定时任务配置管理 UI
- 日志清理命令 `php think admin:timer:log:clean`
新增数据表:
- ul_system_timer_config
- ul_system_timer_log
- ul_system_host 新增 is_master 字段
新增命令:
- admin:timer:log:clean [--days=30]
新增管理页面:
- 定时器配置管理 (/admin/system.timer_config/index)
- 定时器执行日志 (/admin/system.timer_log/index)
- 主机列表增强(主节点标识、切换主节点)