本卡屬 FR-145(母卡見子卡清單回填),卡 5:專案總報告。等卡 3、4。
專案完成後自動建的「專案總報告」,開頁是七章:1 專案概況、2 各輪演進(一列一次稽核看不符合怎麼收斂,加「跨多次稽核未改善項目」列每次怎麼判、最後哪次過)、3 最終符合度(每條評估目標取它最後一次被判的結果)、4 缺失與改善紀錄、5 各輪總結(把各輪階段報告已定稿的總結帶進來唯讀)、6 專案總結與建議(本報告唯一手寫)、7 附件清單;附件一逐評估目標多「覆核」欄。報告包把各輪的子包原封收進 第1輪/、覆核輪/,加一張合併的證據對照表(多「輪次」欄)與總報告 Word/PDF。
report_type 分支可擴:closing_report_app_service、closing_report_bundle_service。project_audit_rounds 依 project_id,status closed;覆核輪與母輪關係(FR-140 parent_round_id 或同等欄,開卡時 \d compliance.project_audit_rounds 確認)。summary:project_summary_reports where report_type=stage and audit_round_id in (…);issued 才帶。app/closing_report/service/closing_report_final_model.py 新:總報告七章讀模型(不往 app service 塞)
app/closing_report/service/closing_report_docx_generator.py 加 final 範本分支
app/oscal/templates/closing/final_report_template.docx 新:從 stage 範本複製改章
app/closing_report/service/closing_report_bundle_service.py 加 final 分支:收子包、合併對照表
compliance-manager-fe …ClosingReportView.vue 依 report_type 切章節(子元件共用)
summary(issued 帶內容、draft 標「尚未定稿」,D14 不擋);附件一=全部 passes 跨輪+最終。final_report_template.docx 七章;附件一欄數隨 passes 數。<專案>_專案總報告[_v<N>]/:00-專案總報告.docx/pdf、01-證據對照表.xlsx(各輪合併,首欄「輪次」)、第1輪/、覆核輪/(各放該輪 stage 報告包內容:有定稿版 bundle_ref 直接解開收入,否則即時 build)。report_type=final 切章節配置與目次;第 5 章用 quote 區塊帶各輪總結(照雛形 project-final-report.html)。第1輪/、覆核輪/、合併對照表「輪次」欄;第 1 輪子包內容=第 1 輪定稿版 zip。