deerflow2/.planning/phases/02-thread-and-skills-logic-.../02-DISCUSSION-LOG.md

56 lines
1.8 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 02: Thread and Skills Logic Reconciliation - Discussion Log
> **Audit trail only.** Do not use as input to planning, research, or execution agents.
> Decisions are captured in CONTEXT.md.
**Date:** 2026-04-07
**Phase:** 02-thread-and-skills-logic-reconciliation
**Areas discussed:** 路由参数语义, skills 合同方向, 重复逻辑处置
---
## 路由参数语义thread_id/isnew/xclaw_used
| Option | Description | Selected |
|--------|-------------|----------|
| 与新逻辑对齐,不存在语义则删除 | 参数与分支全部按新逻辑收敛 | ✓ |
| 保留旧逻辑兼容优先 | 老分支长期保留 | |
| 冲突时报错拒绝 | 严格拒绝混合输入 | |
**User's choice:** 与新逻辑对齐,不存在语义则删除。
**Notes:** 用户强调“这几个参数要和新逻辑对齐,如果新逻辑没有,就删除”。
---
## Skills 合同content_id/content_ids
| Option | Description | Selected |
|--------|-------------|----------|
| 与新逻辑对齐 | 旧字段仅做必要兼容层 | ✓ |
| 保持旧字段主导 | 继续以旧合同为主 | |
| 双轨长期并存 | 两套主合同并行 | |
**User's choice:** 与新逻辑对齐。
**Notes:** 用户明确“与新逻辑对齐”。
---
## 重复/死逻辑处置
| Option | Description | Selected |
|--------|-------------|----------|
| 直接删除旧逻辑,只保留新逻辑单路径 | 不保留双实现 | ✓ |
| 先保留,后续再删 | 临时过渡 | |
| 双实现+开关并行 | feature flag 双路径 | |
**User's choice:** 直接删除旧逻辑,只保留新逻辑单路径。
**Notes:** 用户回复“1”。
## Claude's Discretion
- 兼容层具体放置位置可由执行代理决定,但不得形成第二主路径。
## Deferred Ideas
None.