Use this task family when the document already exists, the user reports that it looks wrong, and the job is to fix the visual outcome rather than merely inspect it.
.docxNormalize the complaint into one or more issue classes:
extra_blank_pageheader_footer_mismatchsection_restart_wrongtoc_not_generatedheading_number_wrongtable_row_splitimage_float_overlaptitle_orphanstyle_contaminationinconsistent_page_numbersFixed sequence:
D, S, or low-risk X only if truly local)REPAIR_LAYOUT must produce two rendered reports using the same issue classes and page references:
Use rendered-delivery.md and scripts/rendered_report.py for both passes. The report must include:
Typical repair classes:
extra_blank_pageheader_footer_mismatchpage_number_wrongtoc_layout_or_updatetemplate_fidelitylayout_overflow_or_clippingstrict