From 647d0ea7f63b355bfce7afcabc3bd36af81a2aeb Mon Sep 17 00:00:00 2001 From: Zer4tul Date: Mon, 11 May 2026 14:58:36 +0800 Subject: [PATCH] chore: sync task checkboxes with implemented code --- openspec/changes/agent-fleet-platform/tasks.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openspec/changes/agent-fleet-platform/tasks.md b/openspec/changes/agent-fleet-platform/tasks.md index b9a3ae3..5b09b92 100644 --- a/openspec/changes/agent-fleet-platform/tasks.md +++ b/openspec/changes/agent-fleet-platform/tasks.md @@ -4,16 +4,16 @@ - [x] 1.2 搭建项目目录结构:src/core、src/adapters、src/integrations、src/api - [x] 1.3 部署 Forgejo 实例(arm0.0x08.org,git.0x08.org) - [ ] 1.4 配置 Matrix bot 账号(复用现有 @jeeves:0x08.org 或新建专用 bot) -- [ ] 1.5 编写 config.toml schema 和示例配置文件 +- [x] 1.5 编写 config.toml schema 和示例配置文件 ## 2. Orchestrator Core -- [ ] 2.1 实现数据模型:Agent、Task、Receipt、Artifact、TaskEvent 类型定义 -- [ ] 2.2 实现 Event Store:SQLite append-only event log,写入和查询接口 -- [ ] 2.3 实现 Task 状态机:created → assigned → running → completed/failed/agent_lost/cancelled -- [ ] 2.4 实现全局任务队列:按优先级排序,支持入队/出队/重新入队 -- [ ] 2.5 实现任务超时检测:定时扫描 running 任务,超时标记为 failed -- [ ] 2.6 实现重试策略:可配置 max_retries + 退避间隔,自动重试 transient failure +- [x] 2.1 实现数据模型:Agent、Task、Receipt、Artifact、TaskEvent 类型定义 +- [x] 2.2 实现 Event Store:SQLite append-only event log,写入和查询接口 +- [x] 2.3 实现 Task 状态机:created → assigned → running → completed/failed/agent_lost/cancelled +- [x] 2.4 实现全局任务队列:按优先级排序,支持入队/出队/重新入队 +- [x] 2.5 实现任务超时检测:定时扫描 running 任务,超时标记为 failed +- [x] 2.6 实现重试策略:可配置 max_retries + 退避间隔,自动重试 transient failure - [ ] 2.7 编写 Orchestrator Core 单元测试 ## 3. Agent Registry