diff --git a/docs/superpowers/plans/2026-10-20-slice-foundation-phase0-1.md b/docs/superpowers/plans/2026-10-20-slice-foundation-phase0-1.md index 551538f..e72caea 100644 --- a/docs/superpowers/plans/2026-10-20-slice-foundation-phase0-1.md +++ b/docs/superpowers/plans/2026-10-20-slice-foundation-phase0-1.md @@ -105,7 +105,7 @@ git add docs/evidence/backup-record.md && git commit -m "chore(evidence): cms --- -### Task 0.3: 脱敏最小夹具 +### Task 0.3: 脱敏最小夹具 ✅ 完成(commit 681163b + 修正 ee58 待查,规格审查通过;审查发现并修复计划中 PHP 序列化长度前缀笔误 s:7→s:8、s:12→s:10;203/204 悬空图库引用为有意设计,已记入夹具 README) **Files:** - Create: `tests/fixtures/wxr/mini.xml` @@ -154,7 +154,7 @@ git add docs/evidence/backup-record.md && git commit -m "chore(evidence): cms Product body

]]>
- Tab

";}}]]>
+ Tab

";}}]]>
diff --git a/tests/fixtures/README.md b/tests/fixtures/README.md index 3574c4e..16c65b9 100644 --- a/tests/fixtures/README.md +++ b/tests/fixtures/README.md @@ -20,7 +20,8 @@ - `.html` 后缀 permalink 与目录式 permalink 混用 - Yoast SEO meta(`_yoast_wpseo_title`、`_yoast_wpseo_metadesc`) - 特色图(`_thumbnail_id`)与产品图库(`_product_image_gallery`) -- PHP serialized postmeta(`wppop_sections`) +- PHP serialized postmeta(`wppop_sections`,串内长度前缀为合法 PHP 序列化:`s:8:"SpecsTab"`、`s:10:"

Tab

"`) +- **故意的悬空引用**:`_product_image_gallery=203,204` 引用的附件 ID 在夹具中不存在(只有 201/202)——用于阶段 2 测试"图库引用缺失→报告不崩溃"路径 - `wp:term`(category / product_cat 两种 taxonomy) - attachment 条目(`wp:attachment_url`、`status=inherit`) - post / product(CPT) / page 多种 post_type diff --git a/tests/fixtures/wxr/mini.xml b/tests/fixtures/wxr/mini.xml index 16c9334..83b4e6c 100644 --- a/tests/fixtures/wxr/mini.xml +++ b/tests/fixtures/wxr/mini.xml @@ -36,7 +36,7 @@ Product body

]]>
- Tab

";}}]]>
+ Tab

";}}]]>