mirror of
https://mirror.skon.top/github.com/cft0808/edict
synced 2026-04-21 05:10:27 +08:00
P0 修复: - server.py 使用 file_lock 原子读写 tasks_source.json,防止并发数据丢失 - todayDone 统计改为按日期过滤,不再统计所有 Done 任务 - save_tasks() 的 Popen 加异常捕获 P1 修复: - 模型列表动态化:优先从后端 knownModels 获取,不再纯硬编码 - 省部调度 Tab 补充钦天监 (zaochao) 部门 - 小任务筛选补充 刑部/门下省/钦天监 按钮 - 官员数据在 loadLive 时提前加载,省部调度不再显示'待配置' - Docker demo 数据补全 tasks_source.json + morning_brief.json P2 修复: - 奏折复制补充 开始/完成时间、总耗时、磋商轮次 - /healthz 增强:检查 data 目录可写、tasks 文件可读 - metrics 新增 totalDone 字段区分总完成数和今日完成数
92 lines
4.6 KiB
JSON
92 lines
4.6 KiB
JSON
[
|
||
{
|
||
"id": "JJC-20260224-001",
|
||
"title": "生成本周项目进展周报",
|
||
"official": "礼部尚书",
|
||
"org": "礼部",
|
||
"state": "Done",
|
||
"now": "✅ 周报已生成并推送至飞书",
|
||
"eta": "2026-02-24",
|
||
"block": "无",
|
||
"output": "/tmp/weekly-report-20260224.md",
|
||
"ac": "完成周报需包含各部产出汇总和下周计划",
|
||
"review_round": 1,
|
||
"archived": true,
|
||
"archivedAt": "2026-02-24T16:00:00Z",
|
||
"flow_log": [
|
||
{"at": "2026-02-24T09:00:00Z", "from": "皇上", "to": "中书省", "remark": "📜 皇上下旨:生成本周项目进展周报"},
|
||
{"at": "2026-02-24T09:02:30Z", "from": "中书省", "to": "门下省", "remark": "📋 中书省规划完成 · 交付门下省审议"},
|
||
{"at": "2026-02-24T09:05:00Z", "from": "门下省", "to": "尚书省", "remark": "✅ 门下省审议通过 · 移交尚书省派发"},
|
||
{"at": "2026-02-24T09:06:00Z", "from": "尚书省", "to": "礼部", "remark": "📮 尚书省派单 → 礼部执行"},
|
||
{"at": "2026-02-24T09:15:00Z", "from": "礼部", "to": "尚书省", "remark": "📦 礼部执行完成 · 产出物已提交"},
|
||
{"at": "2026-02-24T09:16:00Z", "from": "尚书省", "to": "皇上", "remark": "✅ 回奏:周报任务完成"}
|
||
],
|
||
"updatedAt": "2026-02-24T09:16:00Z"
|
||
},
|
||
{
|
||
"id": "JJC-20260225-001",
|
||
"title": "对 edict 仓库进行代码审查",
|
||
"official": "兵部尚书",
|
||
"org": "兵部",
|
||
"state": "Doing",
|
||
"now": "🔍 兵部正在审查 dashboard 模块代码",
|
||
"eta": "2026-02-25",
|
||
"block": "无",
|
||
"output": "",
|
||
"ac": "输出安全漏洞、错误处理、性能问题清单",
|
||
"review_round": 0,
|
||
"flow_log": [
|
||
{"at": "2026-02-25T10:00:00Z", "from": "皇上", "to": "中书省", "remark": "📜 皇上下旨:对 edict 仓库进行代码审查"},
|
||
{"at": "2026-02-25T10:03:00Z", "from": "中书省", "to": "门下省", "remark": "📋 中书省规划完成"},
|
||
{"at": "2026-02-25T10:06:00Z", "from": "门下省", "to": "尚书省", "remark": "✅ 门下省审议通过"},
|
||
{"at": "2026-02-25T10:07:00Z", "from": "尚书省", "to": "兵部", "remark": "📮 尚书省派单 → 兵部执行"}
|
||
],
|
||
"updatedAt": "2026-02-25T10:30:00Z"
|
||
},
|
||
{
|
||
"id": "JJC-20260225-002",
|
||
"title": "更新并推送 Docker Hub 镜像",
|
||
"official": "工部尚书",
|
||
"org": "工部",
|
||
"state": "Done",
|
||
"now": "✅ Docker 镜像已推送",
|
||
"eta": "2026-02-25",
|
||
"block": "无",
|
||
"output": "/tmp/docker-push-log.txt",
|
||
"ac": "更新 Dockerfile, 构建并推送至 DockerHub",
|
||
"review_round": 0,
|
||
"flow_log": [
|
||
{"at": "2026-02-25T14:00:00Z", "from": "皇上", "to": "中书省", "remark": "📜 皇上下旨:更新 Docker 镜像"},
|
||
{"at": "2026-02-25T14:02:00Z", "from": "中书省", "to": "门下省", "remark": "📋 规划完成"},
|
||
{"at": "2026-02-25T14:04:00Z", "from": "门下省", "to": "尚书省", "remark": "✅ 审议通过"},
|
||
{"at": "2026-02-25T14:05:00Z", "from": "尚书省", "to": "工部", "remark": "📮 派单 → 工部"},
|
||
{"at": "2026-02-25T14:20:00Z", "from": "工部", "to": "尚书省", "remark": "📦 执行完成"},
|
||
{"at": "2026-02-25T14:21:00Z", "from": "尚书省", "to": "皇上", "remark": "✅ 回奏完成"}
|
||
],
|
||
"updatedAt": "2026-02-25T14:21:00Z"
|
||
},
|
||
{
|
||
"id": "JJC-20260226-001",
|
||
"title": "竞品分析:CrewAI vs AutoGen vs 三省六部",
|
||
"official": "户部尚书",
|
||
"org": "户部",
|
||
"state": "Review",
|
||
"now": "📊 分析报告待审查",
|
||
"eta": "2026-02-26",
|
||
"block": "无",
|
||
"output": "/tmp/competitive-analysis.md",
|
||
"ac": "从架构、审核、可观测性、易用性四个维度对比",
|
||
"review_round": 2,
|
||
"flow_log": [
|
||
{"at": "2026-02-26T08:00:00Z", "from": "皇上", "to": "中书省", "remark": "📜 下旨:分析竞品框架"},
|
||
{"at": "2026-02-26T08:05:00Z", "from": "中书省", "to": "门下省", "remark": "📋 规划完成"},
|
||
{"at": "2026-02-26T08:08:00Z", "from": "门下省", "to": "中书省", "remark": "🔄 门下省封驳:需补充 LangGraph 对比"},
|
||
{"at": "2026-02-26T08:15:00Z", "from": "中书省", "to": "门下省", "remark": "📋 已补充 LangGraph,重新提交"},
|
||
{"at": "2026-02-26T08:18:00Z", "from": "门下省", "to": "尚书省", "remark": "✅ 第二轮审议通过"},
|
||
{"at": "2026-02-26T08:20:00Z", "from": "尚书省", "to": "户部", "remark": "📮 派单 → 户部"},
|
||
{"at": "2026-02-26T09:00:00Z", "from": "户部", "to": "尚书省", "remark": "📦 初稿完成,待审查"}
|
||
],
|
||
"updatedAt": "2026-02-26T09:00:00Z"
|
||
}
|
||
]
|