Use when approved tutorial context packs exist and the run needs the final article-first tutorial deliverable. **Trigger**: source tutorial writer, tutorial drafting, 教程正文, 从资料写教程. **Use when**: `source-tutorial` 的 C3,`outline/tutorial_context_packs.jsonl` 已就绪,且 `DECISIONS.md` 已勾选 `Approve C2`。 **Skip if**: C2 未批准,或 context packs 还没准备好。 **Network**: none. **Guardrail**: 正文必须 reader-first,但不能写出 sources 没支持的内容。
Writes the final tutorial markdown from approved module packs and the locked C2 structure.
outline/tutorial_context_packs.jsonloutline/module_plan.ymlDECISIONS.mdoutput/TUTORIAL.mdThe tutorial must:
Per module, the writer should emit:
### Why it matters### Key idea### Worked example### Check yourself### Source notesscripts/run.py should:
Approve C2output/TUTORIAL.mdKeep rendering and pack interpretation in shared tutorial tooling, not in the wrapper.
output/TUTORIAL.md exists