Files
DevFlow/docs/待审查.md
T
lxy a28c00b1e5 文档: docs 整理收尾(INDEX 走查条目 + todo 待办梳理 + 待审查登记 + 修复摘要)
- INDEX: 加 claude 走查 5 + 本次修复摘要条目(05-代码审查)
- todo: P2/P3/专项/技能注入 待办登记(B-260801-01 实证不存在关闭)
- 待审查: CR-2026-08-01 13 agent 改动登记
- 修复摘要: 5 根因 + 13 agent + 提交链 + 专项 + 推翻假设 + 教训
2026-08-02 10:51:57 +08:00

54 lines
2.9 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.
# 待审查队列
> **职责分离**:
> - **主会话**(编码合并后 / 巡检)→ 【**写入**】"当前队列"区,登记待审查项(范围 + 维度 + commit)。
> - **审查 agent**(独立会话 / workflow)→ 【**读取**】"当前队列",执行审查,完成回填结论 + 移到"已审归档"。
>
> 这里**只放审查登记**,不放推进待办(推进待办见 [todo.md](./todo.md))。
> 主会话**不在这里做审查**,只登记 + 读 todo 推进。审查发现的【待修代码项】回流 todo 作推进待办。
## 审查规则(审查 agent 遵守)
- 只读审查,**不改代码**。
- **独立 grep/read 核验源码,不信文档 / 会话描述 / 设计声明的结论**(防上下文污染)。
- 每条 finding 须 `file:line` 源码佐证 + evidence。
- 严重度:high(破坏性 / 数据错 / 回归) / med(逻辑瑕疵 / 边界漏) / low(风格 / 可读)。
- 完成回填:总体 verdict(PASS / ISSUES / WATCH)+ high/med/low 清单 + 待修项回流 todo。
## 状态图例
🟡 待审 / 🔵 审查中 / ✅ 已审(结论) / 🔴 待修(有 high 问题)
---
## 当前队列
### 🟡 CR-2026-08-01 本次走查 13 agent 改动(2026-08-01 登记)
> **范围**:本次会话 13 个 agent 改动的文件集合(git status 工作区改动)。**维度**:正确性(逻辑错/回归)+ 复用/简化/效率 + 风格可读。**commit**:未提交(工作区 in-flight,审查时取 `git diff` 当前态)。
>
> 涉及文件(按 git status 工作区改动 + 本次 agent 编辑集):
> - `crates/df-ai/src/sse_parser.rs`
> - `crates/df-nodes/src/ai_node_helpers.rs`
> - `crates/df-storage/src/secret.rs`
> - `src-tauri/src/commands/ai/agentic/mod.rs`
> - `src-tauri/src/commands/ai/compress.rs`
> - `src-tauri/src/commands/ai/secret.rs`
> - `src-tauri/src/state/llm_concurrency.rs`
>
> **审查重点**:
> 1. SSE parser 改动:流式分块边界/chunk 拼接正确性、error path 不吞 chunk
> 2. ai_node_helpers:节点辅助逻辑回归、与 NodeRegistry 注册一致性(关联 df-nodes 6 未注册 P2
> 3. secret.rsstorage + commands/ai/secret):密钥存取路径正确性、错误不泄露明文、filter map_err 不丢上下文
> 4. agentic/mod.rsloop 编排改动不破坏 stop_flag/conv_id 路由(F-09 per-conv 前置)、retry 持 permit 合理性
> 5. compress.rs:压缩链路改动(对齐 memory [[devflow-compress-ui-no-fold]] 后端省 token 不前端藏消息)、边界(空输入/超长)
> 6. llm_concurrency.rsSemaphore per_conv/global 释放路径(permit drop 时机、panic 兜底 — 对齐 memory [[aichat-deadlock-governance]] spawn panic 兜底)
>
> **关联**:本次 13 agent 改动同时是 todo.md「2026-08-01 走查剩余待办」专项落地的代码层。审查发现【待修代码项】回流 todo。
🟡 待审
## 已审归档
> 已审 CR 段迁独立文件: [待审查归档/2026-06.md](./07-项目管理/待审查归档/2026-06.md)