计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
paper-micro-unit-generator【效率与协作】Repair a repeatedly failing Standard paper section from repair_queue.json, or generate an explicitly requested legacy/quickstart scaffold. Do not use it as the formal paper writer.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill only for local repair or an explicitly requested legacy scaffold. paper-formal-writer remains the sole formal author and the only producer of paper_output/final_paper_source.md and paper_output/final_paper.docx.
For formal repair, run:
python .agents/skills/paper-workflow-orchestrator/scripts/workflow_guard.py --skill paper-micro-unit-generator
Continue only when S0-S6 pass and paper_output/qa/repair_queue.json contains at least one item whose strategy is micro-repair. Do not create a repair queue manually to bypass the two-failure threshold.
Legacy and quickstart modes are installation or old-model scaffolds. They do not satisfy S7 and do not require the formal repair queue.
paper_output/plan/writing_plan.json, paper_output/context/authoring_state.json, paper_output/qa/draft_audit.json, and paper_output/qa/repair_queue.json.micro-repair items. Keep the issue ID, section, failure category, expected evidence, and attempt count intact.paper_output/drafts/repairs/<issue-id>.md. The material must contain concrete replacement text, its target location, and any required evidence marker.python .agents/skills/paper-formal-writer/scripts/validate_authoring.py --section <section-id>
$paper-formal-writer or $paper-workflow-orchestrator. This skill must not assemble the formal manuscript or generate Word.If the same blocking category reaches the third changed attempt, respect authoring_state.status = BLOCKED. Report the evidence or requirement causing the failure and suggest Lite as a user decision; never switch editions automatically.
<!-- mathmodel-evidence: ... --> markers until deterministic assembly removes them.validate_authoring.py --section returns PASS.The old command names remain available. With no arguments they write only to paper_output/drafts/legacy/:
python .agents/skills/paper-micro-unit-generator/scripts/generate_all_offline.py
python .agents/skills/paper-micro-unit-generator/scripts/merge.py
Expected outputs:
paper_output/drafts/legacy/micro_units/*.txt
paper_output/drafts/legacy/generate_log.json
paper_output/drafts/legacy/legacy_scaffold.md
paper_output/drafts/legacy/legacy_scaffold.docx
paper_output/drafts/legacy/legacy_ref_check.md
tasks.json is required only for this legacy batch path. The merge is deterministic and preserves existing reference numbers.
For the built-in smoke test, the orchestrator passes --output-root paper_output/quickstart --stem quickstart_scaffold; all smoke-test files stay under paper_output/quickstart/.
Never write final_paper.md, final_paper_source.md, final_paper.docx, or similarly formal names from legacy/quickstart mode.
Read references/micro-unit-library.md only when a queued repair needs a fine-grained paragraph/sentence pattern or when the user explicitly requests legacy scaffolding. Do not load the full 200+ template library for ordinary section writing.
After a formal repair, run workflow status and update persistent context:
python .agents/skills/paper-workflow-orchestrator/scripts/workflow_guard.py --status
python .agents/skills/context-memory-keeper/scripts/update_workflow_memory.py
The guard report is authoritative if memory and current artifacts disagree.
Read the persistent snapshot at paper_output/context/workflow_memory.json before resuming a repair.