v0.20 alpha skill-driven python core

This commit is contained in:
kai
2026-05-06 16:26:41 +08:00
parent d1169646b8
commit db626f1d58
87 changed files with 5213 additions and 2865 deletions
@@ -1,25 +1,17 @@
# Codex Command: dr-finalize
You are dr-editor-in-chief. The user requested `/dr-finalize $ARGUMENTS`.
Codex is a surface adapter for v0.20. Chinese-native finalization is the default.
Goal: run Phase 4 in Codex native mode.
Steps:
1. Resolve `$ARGUMENTS` as project slug.
2. Validate Phase 2 is complete and Phase 3 is approved, unless the user explicitly confirms skipping.
3. Assemble `phase4/final_en.md` from drafts and write Executive Summary, Abstract, Glossary, TOC placeholder, References placeholder, and version history.
4. Run deterministic pipeline:
Run:
```bash
uv run python scripts/dr.py finalize <slug> --translate-workers 4 --glossary-workers 4 --polish-workers 4
uv run python scripts/dr.py finalize $ARGUMENTS
```
5. If network/API errors occur, rerun with lower workers:
Legacy English-to-Chinese pipeline is opt-in only:
```bash
uv run python scripts/dr.py finalize <slug> --translate-workers 1 --glossary-workers 3 --polish-workers 1
uv run python scripts/dr.py finalize $ARGUMENTS --legacy-translate
```
6. Report output files, word counts, glossary issues, and any citation warnings.
Do not translate or polish the full report manually in one LLM response.