171 lines
9.3 KiB
Markdown
171 lines
9.3 KiB
Markdown
# Knowledge Vault Migration Plan - 2026-06-02
|
||
|
||
> 状态:draft
|
||
> 目标:按文件夹生成第二阶段迁移清单。
|
||
> 范围:先设计迁移,用户确认后执行目录级迁移。
|
||
> 规则:一级目录固定英文;二级目录优先英文分类;三级目录及以下可以保持中文可读目录名。
|
||
|
||
## 1. 执行原则
|
||
|
||
- 每次只迁移一个顶层目录或一个明确批次。
|
||
- 迁移前先确认清单,迁移后立即检查 Git diff。
|
||
- 不在未确认清单时散点移动单个文件。
|
||
- 对已有持续更新文件保持原路径,除非用户明确要求迁移。
|
||
- `sources/` 和 `work/` 当前为空,优先补目录,不迁移内容。
|
||
|
||
推荐执行顺序:
|
||
|
||
1. 补齐空目录骨架:`sources/excerpts/`、`work/internal/`、`work/client-projects/`、`work/sensitive-local-only/`。
|
||
2. 规范 `rules/` 二级分类。
|
||
3. 规范 `prompts/` 二级分类。
|
||
4. 更新 `indexes/model-index-human.md` 和 `indexes/prompt-index.md`。
|
||
5. `sayings/LargeShaft/` 保持现状,不纳入迁移。
|
||
|
||
## 1.1 临时分类说明
|
||
|
||
当前分类先采用轻量规则,不强行构建完整 MECE 分类树。原则是先把明显目录归入稳定二级分类,难以判断的文件先临时归档,后续积累足够材料后再重构。
|
||
|
||
## 2. 空目录骨架
|
||
|
||
| 批次 | 源路径 | 目标路径 | 建议动作 | 风险 |
|
||
| --- | --- | --- | --- | --- |
|
||
| S1 | 无 | `sources/excerpts/` | 创建目录 | 低 |
|
||
| W1 | 无 | `work/internal/` | 创建目录 | 低 |
|
||
| W2 | 无 | `work/client-projects/` | 创建目录 | 低 |
|
||
| W3 | 无 | `work/sensitive-local-only/` | 创建目录 | 低 |
|
||
|
||
确认后可执行的命令形态:
|
||
|
||
```powershell
|
||
New-Item -ItemType Directory -Force -Path 'sources/excerpts','work/internal','work/client-projects','work/sensitive-local-only'
|
||
```
|
||
|
||
## 3. `rules/` 迁移清单
|
||
|
||
目标:把当前中文二级目录移动到英文二级分类下,并把中文语义保留为三级目录。
|
||
|
||
### 3.1 二级目录迁移
|
||
|
||
| 批次 | 当前路径 | 目标路径 | 文件数 | 理由 | 风险 |
|
||
| --- | --- | --- | ---: | --- | --- |
|
||
| R1 | `rules/市场销售/` | `rules/marketing-sales/` | 8 | 市场、销售、商业化模型归入英文二级分类;其中包括高客单价 APTC 模型族和市场销售蓝图模型族 | 中:APTC 后续需要补模型族索引 |
|
||
| R2 | `rules/商业职场洞察/` | `rules/business-workplace/` | 10 | 组织、角色、文化、职场洞察归类;当前与 `marketing-sales` 不交叉 | 低 |
|
||
| R3 | `rules/Wantsong文章风格/` | `rules/writing-style/Wantsong文章风格/` | 14 | 写作风格、文章结构、元风格归类 | 低 |
|
||
| R4 | `rules/洞察力/` | `rules/cognitive-science/洞察力/` | 5 | 认知、洞察、知行合一模型归类 | 中:部分内容可能更接近 philosophy |
|
||
| R5 | `rules/教育/` | `rules/education/` | 6 | 教育模型与教学框架归类 | 低 |
|
||
| R6 | `rules/建模者/` | `rules/agent-methods/` | 2 | 建模者、智能体委员会建造方法归类 | 中:后续可能与 CCPE 双轨 |
|
||
| R7 | `rules/Templates/` | `rules/agent-methods/Templates/` | 5 | 当前内容更像 Agent Studio、MVP 模型和底层逻辑模板 | 中:其中部分文件可能应进入 `templates/` 或 `rules/cognitive-science/` |
|
||
|
||
确认后可执行的命令形态:
|
||
|
||
```powershell
|
||
New-Item -ItemType Directory -Force -Path 'rules/marketing-sales','rules/business-workplace','rules/writing-style','rules/cognitive-science','rules/education','rules/agent-methods'
|
||
Move-Item -LiteralPath 'rules/市场销售/*' -Destination 'rules/marketing-sales/'
|
||
Move-Item -LiteralPath 'rules/商业职场洞察/*' -Destination 'rules/business-workplace/'
|
||
Move-Item -LiteralPath 'rules/Wantsong文章风格' -Destination 'rules/writing-style/Wantsong文章风格'
|
||
Move-Item -LiteralPath 'rules/洞察力' -Destination 'rules/cognitive-science/洞察力'
|
||
Move-Item -LiteralPath 'rules/教育/*' -Destination 'rules/education/'
|
||
Move-Item -LiteralPath 'rules/建模者/*' -Destination 'rules/agent-methods/'
|
||
Move-Item -LiteralPath 'rules/Templates' -Destination 'rules/agent-methods/Templates'
|
||
```
|
||
|
||
### 3.2 `rules/` 根目录散文件归档
|
||
|
||
当前 `rules/` 根目录有 10 个 Markdown 文件。建议先归到三级中文目录,不直接散落在英文二级分类下。
|
||
|
||
| 批次 | 当前文件 | 目标目录 | 理由 | 风险 |
|
||
| --- | --- | --- | --- | --- |
|
||
| R8 | `rules/Sayings_Properties.md`、`rules/Sayings_写作目的范式.md`、`rules/圣言风格规则.md` | `rules/writing-style/Sayings规则/` | sayings 写作、表达和风格规则 | 低 |
|
||
| R9 | `rules/提示词核心技能.md`、`rules/智核提示工程.md`、`rules/智核提示工程1.0.md`、`rules/智核提示工程2.0.md` | `rules/agent-methods/提示词工程/` | 提示工程方法论 | 中:成熟版本可能需要进入 CCPE System |
|
||
| R10 | `rules/Wantsong认知操作系统.md`、`rules/婚姻长久性生态系统模型.md`、`rules/权力的理论框架.md` | `rules/cognitive-science/综合认知模型/` | 认知、关系、权力框架类模型 | 中:主题跨度较大,执行前建议快速审题 |
|
||
|
||
确认后可执行的命令形态:
|
||
|
||
```powershell
|
||
New-Item -ItemType Directory -Force -Path 'rules/writing-style/Sayings规则','rules/agent-methods/提示词工程','rules/cognitive-science/综合认知模型'
|
||
Move-Item -LiteralPath 'rules/Sayings_Properties.md' -Destination 'rules/writing-style/Sayings规则/'
|
||
Move-Item -LiteralPath 'rules/Sayings_写作目的范式.md' -Destination 'rules/writing-style/Sayings规则/'
|
||
Move-Item -LiteralPath 'rules/圣言风格规则.md' -Destination 'rules/writing-style/Sayings规则/'
|
||
Move-Item -LiteralPath 'rules/提示词核心技能.md' -Destination 'rules/agent-methods/提示词工程/'
|
||
Move-Item -LiteralPath 'rules/智核提示工程.md' -Destination 'rules/agent-methods/提示词工程/'
|
||
Move-Item -LiteralPath 'rules/智核提示工程1.0.md' -Destination 'rules/agent-methods/提示词工程/'
|
||
Move-Item -LiteralPath 'rules/智核提示工程2.0.md' -Destination 'rules/agent-methods/提示词工程/'
|
||
Move-Item -LiteralPath 'rules/Wantsong认知操作系统.md' -Destination 'rules/cognitive-science/综合认知模型/'
|
||
Move-Item -LiteralPath 'rules/婚姻长久性生态系统模型.md' -Destination 'rules/cognitive-science/综合认知模型/'
|
||
Move-Item -LiteralPath 'rules/权力的理论框架.md' -Destination 'rules/cognitive-science/综合认知模型/'
|
||
```
|
||
|
||
## 4. `prompts/` 迁移清单
|
||
|
||
目标:把旧提示词目录映射到稳定二级分类。这里先按目录迁移,不拆单文件。
|
||
|
||
| 批次 | 当前路径 | 目标路径 | 文件数 | 理由 | 风险 |
|
||
| --- | --- | --- | ---: | --- | --- |
|
||
| P1 | `prompts/CCPE/` | `prompts/ccpe/ccpe/` | 160 | 保留 CCPE Web 智能体提示词资产 | 中:部分成熟资产可能已进入 CCPE System |
|
||
| P2 | `prompts/CCPE2.0/` | `prompts/ccpe/ccpe-2.0/` | 56 | 保留 CCPE 2.0 Web 智能体提示词资产 | 中:需要后续和 CCPE System 对照 |
|
||
| P3 | `prompts/Others/` | `prompts/legacy/others/` | 59 | 未分类提示词先归入 legacy,避免过早拆散 | 低 |
|
||
|
||
确认后可执行的命令形态:
|
||
|
||
```powershell
|
||
New-Item -ItemType Directory -Force -Path 'prompts/ccpe','prompts/legacy'
|
||
Move-Item -LiteralPath 'prompts/CCPE' -Destination 'prompts/ccpe/ccpe'
|
||
Move-Item -LiteralPath 'prompts/CCPE2.0' -Destination 'prompts/ccpe/ccpe-2.0'
|
||
Move-Item -LiteralPath 'prompts/Others' -Destination 'prompts/legacy/others'
|
||
```
|
||
|
||
后续可选细分,不建议在本批次执行:
|
||
|
||
- 从 `prompts/legacy/others/` 中拆出 `article-writers/`。
|
||
- 从 `prompts/legacy/others/` 中拆出 `reviewers/`。
|
||
- 从 `prompts/legacy/others/` 中拆出 `metadata/`。
|
||
- 从 `prompts/ccpe/ccpe*` 中筛选已工程化资产,建立到 CCPE System 的链接。
|
||
|
||
## 5. `discussions/` 处理建议
|
||
|
||
当前不建议迁移 `discussions/`。
|
||
|
||
理由:
|
||
|
||
- 现有二级目录已经表达讨论来源或主题。
|
||
- `agents/`、`creative/`、`technology/`、`training/` 已被纳入 `VAULT.md` 正式分类。
|
||
- 当前会话文件 `discussions/technology/Codex/2.重构知识库/1.构建知识库.md` 是持续更新文件,应保持稳定路径。
|
||
|
||
后续只建议补索引,不建议移动目录:
|
||
|
||
| 批次 | 路径 | 建议动作 |
|
||
| --- | --- | --- |
|
||
| D1 | `discussions/technology/Codex/` | 在需要时建立 Codex 工作讨论索引 |
|
||
| D2 | `discussions/agents/` | 在需要时建立 Agent 交流主题索引 |
|
||
| D3 | `discussions/article-discussions/` | 在需要时和 Writing Workbench 文章项目索引建立关系 |
|
||
|
||
## 6. `sayings/` 处理建议
|
||
|
||
当前年份目录稳定,不建议移动。
|
||
|
||
`sayings/` 当前结构对应个人博客 Hugo;`sayings/LargeShaft/` 是专门摘录出的不发布到 Hugo 的内容,因此保持原路径,不迁移。
|
||
|
||
## 7. 索引更新清单
|
||
|
||
迁移执行后应更新:
|
||
|
||
| 索引 | 更新内容 |
|
||
| --- | --- |
|
||
| `indexes/model-index-human.md` | 登记 APTC、Wantsong 写作风格、QPI、认知显影术、智核提示工程等模型族 |
|
||
| `indexes/prompt-index.md` | 登记 `ccpe`、`ccpe-2.0`、`legacy/others` |
|
||
| `indexes/source-index.md` | 补齐 `sources/excerpts/` 后暂不登记内容 |
|
||
| `indexes/project-index.md` | 创建 `work/` 骨架后暂不登记内容 |
|
||
|
||
## 8. 建议第一批执行项
|
||
|
||
最稳妥的第一批是只做低风险结构补齐和目录级迁移:
|
||
|
||
1. 执行 S1、W1、W2、W3。
|
||
2. 执行 P1、P2、P3。
|
||
3. 执行 R1、R2、R3、R4、R5、R6、R8、R9、R10。
|
||
4. 暂缓 R7。
|
||
|
||
不建议第一批直接处理:
|
||
|
||
- `rules/Templates/`
|