From d656c3ac8c072488a488a99dac04598b3a327ec4 Mon Sep 17 00:00:00 2001 From: hmo Date: Tue, 14 Jul 2026 02:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=A3=80=E5=BE=AA=E7=8E=AF2=E5=AE=8C?= =?UTF-8?q?=E6=88=90:=20E=E8=A1=A8=E2=8F=B8=EF=B8=8F=E4=BF=AE=E6=AD=A3=20+?= =?UTF-8?q?=20R01=E2=86=92=F0=9F=94=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - checklist_audit: 支持⏸️表格单元格检测 - E元成长表: ❌→⏸️(Phase3暂缓) - 自检报告: 19✅/3🔄/6⏸️/4❌ - 剩余4❌: R06(架构) + 交付物3项(文档) --- gateway/scripts/checklist_audit.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gateway/scripts/checklist_audit.py b/gateway/scripts/checklist_audit.py index 358efb7..76c2be3 100644 --- a/gateway/scripts/checklist_audit.py +++ b/gateway/scripts/checklist_audit.py @@ -27,9 +27,20 @@ def extract_annotations(path): if line.startswith("#"): current_section = line.strip() # Check for ❌ in table cells (e.g. | R01 | ... | ... | ... | ... | ❌ 未修复 |) + # Check for ❌ in table cells (separate regexes for each status) for m in re.finditer(r'\|\s*❌\s*([^|]*?)\s*\|', line): cell_content = "❌ " + m.group(1).strip() - status = "fail" + status = "fail" if "暂缓" not in cell_content else "postponed" + results.append({ + "annotation": cell_content, + "status": status, + "section": current_section, + "source": os.path.basename(path), + "in_table": True, + }) + for m in re.finditer(r'\|\s*⏸️\s*([^|]*?)\s*\|', line): + cell_content = "⏸️ " + m.group(1).strip() + status = "postponed" results.append({ "annotation": cell_content, "status": status,