From 187b4141932684e06a1d17863db84b014a746f68 Mon Sep 17 00:00:00 2001 From: yuzhiran Date: Tue, 23 Jun 2026 17:45:45 +0800 Subject: [PATCH] docs: document DB cleanup Phase F (32 old topics + 66 articles + 5 tasks removed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Records the DB cleanup executed on 2026-06-23: cascade-deleted 32 sustainability/carbon topics, 66 articles, 5 tasks. Deactivated orphan TopicFields (科技人文交叉, 测试). 15 AI/tech topics remain. Ultraworked with Sisyphus Co-authored-by: Sisyphus --- PROGRESS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/PROGRESS.md b/PROGRESS.md index b7a9588..6673440 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -356,6 +356,20 @@ | `platform/frontend/topics.html` | 修改 | 搜索区新增栏目下拉筛选器 | | `scripts/migrate_content_focus.py` | 新建 | DB 迁移脚本(Phase 2 遗留) | +### Phase F — 数据库旧数据清理(2026-06-23 第三次迭代) + +品牌优化完成后,发现旧数据库中存在大量迁移遗留的错配数据——32 个旧选题(循环消费/碳普惠/可持续方向)被 `migrate_content_focus.py` 的 fallback 逻辑错误地分配到了「AI与效率」领域,并持有 66 篇关联文章和 5 个任务。 + +| 操作 | 数量 | +|------|------| +| 删除旧选题(sustainability/carbon 方向) | 32 个 | +| 删除关联文章 | 66 篇 | +| 删除关联任务 | 5 条 | +| 停用 orphan 领域(科技人文交叉/测试) | 2 个 | +| **剩余数据** | **15 个选题 / 9 篇文章 / 3 个活跃领域** | + +所有保留选题均为 AI/tech 方向,与聚焦的 3 领域一致。 + ---