v0.20.6 rebuild platform environments from templates

This commit is contained in:
Deep Research System
2026-05-07 21:00:21 +08:00
parent bb2c91754b
commit b3050260b2
93 changed files with 6027 additions and 89 deletions
@@ -0,0 +1,17 @@
# 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.
@@ -0,0 +1,11 @@
# 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.
@@ -0,0 +1,26 @@
# 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.
@@ -0,0 +1,11 @@
# 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`.
@@ -0,0 +1,41 @@
# 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.
@@ -0,0 +1,11 @@
# 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.
@@ -0,0 +1,17 @@
# 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.
@@ -0,0 +1,9 @@
# 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.