Files
JARVIS/development-doc/plan/today-status-update/checklist.md

93 lines
2.7 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.
# Today Status 完整化执行清单(可勾选版)
日期2026-04-08
状态:执行清单
适用范围:基于 `phase-ts-0` ~ `phase-ts-5` 整理,最终交给 Codex 执行
---
## 使用说明
- 完成前使用 `- [ ]`
- 完成后改成 `- [x]`
- 实施顺序:`TS-0 → TS-1 → TS-2 → TS-3 → TS-4 → TS-5`
- 不建议跳阶段
---
## Phase TS-0当前现状与目标
- [x] 盘点 `useSidebarPlan.ts` 中真实数据与 mock 数据边界
- [x] 盘点 `KanbanPanel.vue` 的硬编码四象限
- [x] 盘点 `KanbanDetail.vue` 的 mock task / subtasks / comments / history
- [x] 盘点 `backend/app/models/task.py` 缺失字段
- [x] 输出业务层 / 聚合层 / commander 执行层三层架构说明
---
## Phase TS-1业务任务模型扩展
- [x] 扩展 `Task` 模型字段
- [x] 新增业务级 `TaskSubTask` 模型
- [x] 扩展 `TaskHistory` 动作类型
- [x] 编写对应 migration
- [x] 更新 `backend/app/schemas/task.py`
---
## Phase TS-2Task API 与 Schedule 聚合扩展
- [x] 扩展 `/api/tasks` create / update / list
- [x] 新增 `GET /api/tasks/{task_id}`
- [x] 新增 subtasks CRUD / reorder API
- [x] 新增 dispatch API
- [x] 扩展 `schedule-center/date` 返回 `focus_tasks`
- [x] 扩展 `schedule-center/date` 返回 `quadrants`
- [x] 扩展 `schedule-center/date` 返回 `commander_summary`
- [x] 更新 `frontend/src/api/task.ts`
- [x] 更新 `frontend/src/api/scheduleCenter.ts`
---
## Phase TS-3Chat 首页 Today Status 接真实数据
- [x] 删除 `useSidebarPlan.ts``mockFocusItems`
- [x]`sidebarFocusItems` 接真实 `focus_tasks`
- [x] 新增 `todayStatusQuadrants`
- [x] 改造 `KanbanPanel.vue` 为真实展示组件
- [x] 在 chat 首页接入真实象限与刷新逻辑
---
## Phase TS-4手动创建与详情编辑器
- [x] 改造 `KanbanDetail.vue` 为 create / edit 真实面板
- [x] 打通任务详情读取与保存
- [x] 打通子任务增删改排序
- [x] 打通分配字段编辑
- [x] 扩展 Schedule Center 的 `addTask()`
- [x] 支持象限内快捷新建
---
## Phase TS-5Commander 派发闭环
- [x] 新增 task dispatch API
- [x] 新增 subtask dispatch API
- [x] 建立业务 task -> commander payload 映射
- [x] commander 结果回写业务 task
- [x] 在 Today Status 展示 commander summary
- [x] 在详情页展示 dispatch 状态
---
## 验证清单
- [x] Chat 中 `/task` 可创建任务
- [x] Chat 中 `/task@commander` 可创建并派发任务
- [x] Schedule Center 手动创建任务后Today Status 同步更新
- [x] Today Status 中创建任务后Schedule Center 同步可见
- [x] 子任务刷新后仍保持一致
- [x] commander 状态可从 `queued -> running -> completed/failed` 更新
- [x] 回归确认现有 `todo / task / reminder / goal` 主路径不受影响