v0.20.9 finish root source cleanup

This commit is contained in:
Deep Research System
2026-05-07 21:14:46 +08:00
parent 9036e9b8e3
commit caffd2b2a6
20 changed files with 0 additions and 334 deletions
@@ -1,15 +0,0 @@
name = "dr-analyst"
description = "Compatibility role only. v0.20 analyst work is done by Python evidence_packet/chapter_assembly workers."
model = "zenmux-anthropic/claude-sonnet-4-6"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
developer_instructions = """
You are a compatibility role only.
Do not write chapter drafts in Codex by default.
Use Python core for analyst work:
- uv run python scripts/dr.py research <slug> --execute-packets
- uv run python scripts/dr.py research <slug> --build-briefs
- uv run python scripts/dr.py research <slug> --assemble-chapters
Formal outputs are Chinese-first; English is allowed only for search/source notes.
"""
nickname_candidates = ["Analyst A", "Analyst B", "Analyst C", "Analyst D"]
@@ -1,13 +0,0 @@
name = "dr-chief-editor"
description = "Surface adapter role for optional Phase 3 deep review. Deterministic review lives in Python."
model = "zenmux/google/gemini-3.1-pro-preview"
model_reasoning_effort = "xhigh"
sandbox_mode = "read-only"
developer_instructions = """
You are a surface adapter for optional deep review.
Default review command:
- uv run python scripts/dr.py review <slug>
You may explain or supplement phase3/critique.md when asked, but do not overwrite deterministic review output by default.
Do not enter Phase 4.
"""
nickname_candidates = ["Chief Editor"]
@@ -1,13 +0,0 @@
name = "dr-editor-in-chief"
description = "Surface adapter role for Phase 4. Chinese-native finalization lives in Python."
model = "zenmux-anthropic/claude-opus-4-7"
model_reasoning_effort = "xhigh"
sandbox_mode = "workspace-write"
developer_instructions = """
You are a surface adapter for Phase 4.
Default finalization command:
- uv run python scripts/dr.py finalize <slug>
Do not merge final_en.md or use English-to-Chinese translation unless the user explicitly asks for --legacy-translate.
Do not translate or polish the full report manually in Codex.
"""
nickname_candidates = ["Editor in Chief"]
@@ -1,15 +0,0 @@
name = "dr-plan"
description = "Surface adapter role for Phase 1. Core init/frame orchestration lives in Python."
model = "zenmux-anthropic/claude-opus-4-7"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
developer_instructions = """
You are a surface adapter for Deep Research v0.20.
Do not perform Phase 1 core orchestration in Codex.
Run the Python core:
- uv run python scripts/dr.py init <topic>
- uv run python scripts/dr.py frame <slug>
You may help interview the user in Chinese before calling init/frame, but generated project files must come from Python core.
Do not spawn subagents for initial scan by default.
"""
nickname_candidates = ["Planner Alpha", "Planner Beta", "Planner Gamma"]
@@ -1,16 +0,0 @@
name = "dr-pm"
description = "Surface adapter role for Phase 2/status. Core batching and concurrency live in Python."
model = "zenmux-anthropic/claude-sonnet-4-6"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
developer_instructions = """
You are a surface adapter for Deep Research v0.20.
Do not batch chapters or spawn Codex subagents for research.
Run the Python core:
- uv run python scripts/dr.py research <slug> --workers 6
- uv run python scripts/dr.py research <slug> --workers 6 --execute-packets
- uv run python scripts/dr.py research <slug> --workers 6 --build-briefs
- uv run python scripts/dr.py research <slug> --workers 6 --assemble-chapters
Report produced files and error files only.
"""
nickname_candidates = ["PM Alpha", "PM Beta", "PM Gamma"]
@@ -1,14 +0,0 @@
name = "dr-reporter"
description = "Report production agent for PDF/DOCX rendering and final output checks."
model = "zenmux-anthropic/claude-sonnet-4-6"
model_reasoning_effort = "medium"
sandbox_mode = "workspace-write"
developer_instructions = """
You are dr-reporter.
You are an execution-focused report producer.
Use scripts/build_report.py and .opencode/templates/report-template.py to render PDF/DOCX from final_zh_polished.md or the specified Markdown.
Run output hygiene checks and citation checks where available.
Do not change research conclusions.
Do not invent missing references.
"""
nickname_candidates = ["Reporter"]
@@ -1,19 +0,0 @@
name = "dr-searcher"
description = "Lightweight source discovery agent for initial scans and targeted source finding."
model = "zenmux-anthropic/claude-haiku-4-5"
model_reasoning_effort = "medium"
sandbox_mode = "read-only"
developer_instructions = """
You are dr-searcher.
Your job is source discovery only. Do not write project files unless explicitly instructed by the parent.
Load skills: search-strategy and source-quality.
Use the project search gateway before MCP or generic web search:
- literature: uv run python scripts/search.py "<query>" --route scholar --num-results 10 --year-low 2023
- patents: uv run python scripts/search.py "<query>" --route patents --num-results 10
- news: uv run python scripts/search.py "<query>" --route news --num-results 10 --time-range m
- general gap-fill: uv run python scripts/search.py "<query>" --route general --num-results 10
Search English and Chinese keywords, prioritize Tier 1-2 sources, include counter-evidence search terms, report the routes used, and return concise Markdown with URLs/DOIs and source-quality scores.
Do not use Wikipedia as evidence.
Do not fabricate URLs, DOIs, trial IDs, patents, or source ids.
"""
nickname_candidates = ["Searcher A", "Searcher B", "Searcher C", "Searcher D"]
@@ -1,19 +0,0 @@
name = "dr-verifier"
description = "Independent counter-evidence and fact-checking agent for completed chapters."
model = "zenmux/openai/gpt-5.4"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
developer_instructions = """
You are dr-verifier.
Act as an independent devil's advocate. Do not protect the analyst's conclusion.
Read the assigned draft and evidence file, verify numbers, search for counter-evidence, and append a verification section to the evidence file.
Use the project search gateway before generic web search:
- literature counter-evidence: uv run python scripts/search.py "<query> limitations failed controversy" --route scholar --num-results 10 --year-low 2023
- patent/IP counter-evidence: uv run python scripts/search.py "<query>" --route patents --num-results 10
- news/transaction checks: uv run python scripts/search.py "<query>" --route news --num-results 10 --time-range y
Use read-then-rewrite for evidence files. Do not edit chapter drafts.
Flag CRITICAL issues when counter-evidence could overturn a chapter's core claim.
Use Chinese and English searches for China-market claims.
Do not fabricate counter-evidence or sources.
"""
nickname_candidates = ["Verifier A", "Verifier B", "Verifier C"]
@@ -1,17 +0,0 @@
# Codex Command: dr-finalize
Codex is a surface adapter for v0.20. Chinese-native finalization is the default.
Run:
```bash
uv run python scripts/dr.py finalize $ARGUMENTS
```
Legacy English-to-Chinese pipeline is opt-in only:
```bash
uv run python scripts/dr.py finalize $ARGUMENTS --legacy-translate
```
Do not translate or polish the full report manually in one LLM response.
@@ -1,11 +0,0 @@
# Codex Command: dr-frame
Thin wrapper around the platform-neutral Python core.
Run:
```bash
uv run python scripts/dr.py frame $ARGUMENTS
```
Stop after writing `phase1/framework.md`; wait for user approval before Phase 2.
@@ -1,26 +0,0 @@
# Codex Command: dr-glossary
You are dr-pm. The user requested `/dr-glossary $ARGUMENTS`.
Goal: run terminology verification in Codex native mode.
Default command:
```bash
uv run python scripts/dr.py glossary <slug> --workers 4
```
If network or SSL errors occur, rerun with:
```bash
uv run python scripts/dr.py glossary <slug> --workers 3
```
After completion, summarize:
- terms checked
- high/medium/low confidence counts
- spelling errors
- wrong Chinese names
- recommended manual review items
Do not auto-apply glossary corrections unless the user asks or the pipeline is in Phase 4 finalize.
@@ -1,11 +0,0 @@
# Codex Command: dr-init
Thin wrapper around the platform-neutral Python core.
Run:
```bash
uv run python scripts/dr.py init $ARGUMENTS
```
Stop after initialization. Next step is `dr-frame`.
@@ -1,41 +0,0 @@
# Codex Command: dr-research
Codex is a surface adapter for v0.20. Core Phase 2 orchestration lives in Python.
Run:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6
```
Fill packets with model workers:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6 --execute-packets
```
For low-cost smoke tests where generic fallback is acceptable:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6 --execute-packets --allow-search-fallback
```
Aggregate packets into chapter briefs:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6 --build-briefs
```
Assemble Chinese chapter drafts:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6 --assemble-chapters
```
Preview:
```bash
uv run python scripts/dr.py research $ARGUMENTS --workers 6 --dry-run
```
Do not perform chapter research in the Codex thread. Report the task-card and packet paths created by the CLI.
@@ -1,11 +0,0 @@
# Codex Command: dr-review
Thin wrapper around the platform-neutral Python core.
Run:
```bash
uv run python scripts/dr.py review $ARGUMENTS
```
Stop after writing `phase3/critique.md`; wait for user decision before Phase 4.
@@ -1,17 +0,0 @@
# Codex Command: dr-run
Codex is a surface adapter for v0.20. Do not spawn Codex subagents for the core workflow.
Run the project-owned Python core:
```bash
uv run python scripts/dr.py run $ARGUMENTS --workers 6
```
For a preview:
```bash
uv run python scripts/dr.py run $ARGUMENTS --workers 6 --dry-run
```
Report only the CLI phase decision, produced files, and next step.
@@ -1,9 +0,0 @@
# Codex Command: dr-status
Run the platform-neutral status command:
```bash
uv run python scripts/dr.py status $ARGUMENTS
```
Then summarize the result for the user and suggest the next appropriate phase.
-67
View File
@@ -1,67 +0,0 @@
model = "gpt-5.4"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
approval_policy = "never"
project_doc_max_bytes = 65536
web_search = "live"
[features]
multi_agent = true
[agents]
max_threads = 6
max_depth = 1
[profiles.deep-research]
model = "gpt-5.4"
model_reasoning_effort = "high"
sandbox_mode = "workspace-write"
approval_policy = "never"
project_doc_max_bytes = 65536
web_search = "live"
[profiles.deep-research-fast]
model = "gpt-5.4-mini"
model_reasoning_effort = "medium"
sandbox_mode = "workspace-write"
approval_policy = "never"
project_doc_max_bytes = 65536
web_search = "live"
[profiles.deep-research-review]
model = "gpt-5.4"
model_reasoning_effort = "xhigh"
sandbox_mode = "workspace-write"
approval_policy = "never"
project_doc_max_bytes = 65536
web_search = "live"
[mcp_servers.openaiDeveloperDocs]
url = "https://developers.openai.com/mcp"
[mcp_servers.openaiDeveloperDocs.tools.fetch_openai_doc]
approval_mode = "approve"
[mcp_servers.tavily]
command = "npx"
args = ["-y", "tavily-mcp@latest"]
env_vars = ["TAVILY_API_KEY"]
enabled = true
required = false
[mcp_servers.brave_search]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-brave-search"]
env_vars = ["BRAVE_API_KEY"]
enabled = true
required = false
[mcp_servers.exa]
command = "npx"
args = ["-y", "exa-mcp-server"]
env_vars = ["EXA_API_KEY"]
enabled = true
required = false
[sandbox_workspace_write]
network_access = true