新增: todo 标 Wave2 完成 + docs 落地 aichat 审查报告/构想

- todo: AR-2/3/4 标完成 + 已完成区加 WF-F(含审查误判记录)
- docs 落地 3 份历史遗留(todo/memory 指针此前断链):aichat-review-2026-06-14.md(审查报告,todo AR 段引用)+ aichat-async-approval-concept.md + aichat-info-density-concept.md(构想)
- task-advance-concept.md 为 Wave2 agent 越权自主产出,保留未追踪待评估
This commit is contained in:
2026-06-14 15:52:58 +08:00
parent 057a2121a5
commit bf8e105440
4 changed files with 395 additions and 3 deletions

View File

@@ -36,9 +36,9 @@
**P0用户可感硬伤**
- [ ] AR-1 流式 Markdown 全量重解析renderMd 缓存 key=完整文本,每 delta 全量 marked.parse+sanitize长回复主线程阻塞掉帧— AiChat.vue:343-354 — ⚠️复杂,需先设计增量渲染/流式纯文本态+rAF
- [ ] AR-2 审批态新建对话永久卡死ai_conversation_create generating 守卫,直接 clear session审批返回 Err→generating 永不复位→面板卡死需重启)— commands.rs:362-375
- [ ] AR-3 审批卡片不可读(后端 reason 两句固定模板不含对象名 + 前端 id/project_id 裸值 + resultSummary 缺 delete/restore/purge 分支)— audit.rs:179-182 + ToolCard.vue:149-169,272-288
- [ ] AR-4 create_project 双审双 APIAI schema 仅 name/description 缺 path/stack比 IPC 接口窄触发二次确认)— tool_registry.rs:148
- [x] AR-2 ~~审批态新建对话卡死~~ ✅ WF-F 完成ai_conversation_create generating 守卫,位于 clear 前,对齐 switch:433 写法)(commit 057a212)
- [x] AR-3 ~~审批卡片不可读~~ ✅ WF-F 完成audit.rs build_approval_reason 按 9 工具特化拼对象名 + ToolCard resultSummary restore/purge case + ARG_LABEL_MAP id 加友好标签 + i18n 双语补 4 key(commit 057a212)
- [x] AR-4 ~~create_project 双审双 API~~ ✅ WF-F 完成schema 加 path/stack + handler 有 path 时合并绑定 spawn_blocking 探测栈,消除二次 bind_directoryTODO 标注可抽公共绑定函数)(commit 057a212)
**P1**
- [ ] AR-5 审批态 stop 无本地兜底stopChat 只 await 不复位 streamingAiCompleted 竞态丢失则卡死)— useAiSend.ts:111-113
@@ -115,6 +115,7 @@
- [x] WF-C 前端Sprint 20 ⑥⑦⑧)— 扫描文案 i18n + parseStack 抽公共 + 8 处 alert/confirm 换组件commit 02ff88f
- [x] WF-D 审批闭环B-06/B-07/B-03a— execution_id 下沉 + 共享状态机 + HumanNode select! 实现commit 22964a2
- [x] WF-E Wave1 收尾清债commit 4aa689e + 89da9fa— B-03b 审批取消端到端StateMachine Arc<Mutex> 共享 + execution_id 注册表,**主代理补完 agent 半成品**agent 初版 workflow_cancel_state 全局孤立实例写了读不到Explore 审查漏抓语义缺陷)+ T-09 立项回滚级联删delete→purge_with_descendants+ T-10 判定已解决normalize_path 已 canonicalize零改+ T-12 df-ideas 清 capture.rs 死码cargo check / test含 clone_shares/ vue-tsc 全绿
- [x] WF-F Wave2 aichat P0 三项commit 057a212— AR-2 新建对话守卫 + AR-3 审批卡片可读化reason 拼 9 工具对象名 + restore/purge case + id 标签 + i18n+ AR-4 create_project schema 加 path/stack 合并绑定;**审查 boundary 全误判**3 agent 并行同工作区,审查 git diff 被三人累计改动污染互相指责越权correctness "i18n 未添加"亦臆断主代理独立核查三任务代码全正确cargo check/vue-tsc 全过遗留task-advance-concept.mdagent 越权自主产出,保留未追踪待评估)
## Bug