v0.12.1: select model profile at init and carry via manifest
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
description: 初始化一个新的 Deep Research 主题。创建 projects/<slug>/ 目录与 manifest.json,启动 Phase 1 访谈(8 步),访谈末尾自动提议 3 个报告标题让用户选。用法:/dr-init <研究主题>
|
||||
description: 初始化一个新的 Deep Research 主题。创建 projects/<slug>/ 目录与 manifest.json,启动 Phase 1 访谈(9 步,含模型策略选择),访谈末尾自动提议 3 个报告标题让用户选。用法:/dr-init <研究主题>
|
||||
agent: dr-plan
|
||||
subtask: false
|
||||
---
|
||||
@@ -26,7 +26,7 @@ subtask: false
|
||||
mkdir -p projects/<slug>/{phase1,phase2/drafts,phase2/evidence,phase3/revisions,phase4/figures}
|
||||
```
|
||||
|
||||
### Step 3: 启动访谈(8 步)
|
||||
### Step 3: 启动访谈(9 步)
|
||||
|
||||
**不要急着生成 framework**,向用户清晰编号地提出以下 8 个关键问题:
|
||||
|
||||
@@ -55,6 +55,13 @@ mkdir -p projects/<slug>/{phase1,phase2/drafts,phase2/evidence,phase3/revisions,
|
||||
- `deep` — 深度(50,000-80,000 中文字,12-15 章;行业专著级)
|
||||
- 说明:字数只是参考,以把问题讲清楚为第一优先。
|
||||
|
||||
9. **模型策略选择(新增,必须在 init 阶段确定)**:
|
||||
- `simple`:低成本探索
|
||||
- `medium`:默认推荐(平衡质量/成本)
|
||||
- `premium`:高质量正式交付
|
||||
- `cn_heavy`:中文/中国市场侧重
|
||||
- `codex_native`:Codex 原生模式
|
||||
|
||||
**等待用户回答**。用户可能一次性回答也可能分多轮。
|
||||
|
||||
### Step 4: 提议报告正式标题(关键新增步骤)
|
||||
@@ -105,6 +112,9 @@ mkdir -p projects/<slug>/{phase1,phase2/drafts,phase2/evidence,phase3/revisions,
|
||||
"comparison_targets": [],
|
||||
"exclusions": [],
|
||||
"word_budget_mode": "<auto/concise/detailed/deep>",
|
||||
"model_profile": "<simple/medium/premium/cn_heavy/codex_native>",
|
||||
"model_profile_selected_at": "<今天 YYYY-MM-DD>",
|
||||
"model_profile_source": "dr-init interview",
|
||||
"target_words_zh": <按类型和模式计算,见 length-budget skill §1-2>,
|
||||
"target_words_en": <target_words_zh / 1.4>,
|
||||
"min_words_zh": <target_words_zh × 0.8>,
|
||||
@@ -123,6 +133,16 @@ mkdir -p projects/<slug>/{phase1,phase2/drafts,phase2/evidence,phase3/revisions,
|
||||
|
||||
把整个访谈对话写入 `projects/<slug>/phase1/interview.md`(用户原话 + 你的提问 + 提议的候选标题 + 用户选择)。
|
||||
|
||||
### Step 6.5: 立刻应用模型策略(必须执行)
|
||||
|
||||
在项目初始化完成后,立即把 `model_profile` 应用到 agent 文件(OpenCode + Codex 模板):
|
||||
|
||||
```bash
|
||||
uv run python scripts/dr.py apply-models --profile <model_profile> --target both
|
||||
```
|
||||
|
||||
这样可以确保从 Phase 1(plan)到 Phase 4(polisher/reporter)全流程使用同一套预设策略,而不是中途切换。
|
||||
|
||||
### Step 7: 回报
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user