deerflow2/.planning/phases/01-conflict-inventory-and-d.../conflict-inventory.md

33 lines
1.4 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.

# Phase 01 冲突清单MERGE-01
## 目标
以“merge 覆写证据 + Titan overlap 证据 + 行为关键度”构建可审计的文件级冲突清单,为后续 Phase 2/3 提供执行输入。
## 分级口径
- `P0`行为关键路径线程路由、流式会话、skills 协议),且存在 merge 热点或 Titan 重叠。
- `P1`:中高频冲突文件,直接影响聊天/工件主流程,但非核心协议入口。
- `P2`:低行为关键度或偏文案/样式文件,保留审计记录并延后处理。
## 变更类型口径
- `logic-only`:主要是数据流、协议、状态处理。
- `visual-only`:主要是样式、文案、视觉层结构。
- `mixed`:同一文件同时承载视觉与逻辑,后续执行必须按 L0/L1/L2 边界拆分。
## 关键热点(优先输入后续阶段)
1. `frontend/src/app/workspace/chats/[thread_id]/page.tsx`P0
2. `frontend/src/core/threads/hooks.ts`P0
3. `frontend/src/core/skills/api.ts`P0
4. `frontend/src/components/workspace/chats/use-thread-chat.ts`P1
5. `frontend/src/components/workspace/messages/message-list-item.tsx`P1
以上文件均在 `conflict-inventory.csv` 提供 `evidence_refs`,可回溯到具体 merge/Titan 证据。
## 审计说明
- 原始证据链见 `audit-evidence.md`
- CSV 为机器可消费输入;本文件为人类审查口径说明。