b1ab10b952
work #03 (2026-07-03):daily_check 报告 18 行里有 6 个 disabled 旧 task (stock_info/kline/hs300/industry/sector/scoring),占 1/3 噪音,干扰 对真正 missed 任务的注意力。 根因:PG 迁移(commit 7a985dd)时把它们 enabled=0 标记禁用但没删行。 旧 sync_script 全部指向 dashboard/api/services/sync/*.py(sibling 项目 已下线),storage_uri 指向 dashboard/data_uat/ 下的 SQLite/Parquet。 变更: - bin/archive/clean_legacy_registry_rows.py: 一次性清理脚本,保守策略 (enabled=0 + 旧 storage_layer 或非 app.tasks. 路径),默认 dry-run, 显式 --apply 才 DELETE - 实际删除 6 行:stock_info / kline / hs300 / industry / sector / scoring - docs/works/2026-07-03-03-clean-legacy-registry.md: 完整 work 记录 (含保守原则说明:enabled=0 但 storage_layer='pg' 的行不在清理范围) 验证:daily_check counts 从 18 行 → 12 行,disabled 段清零。 Co-Authored-By: Claude <noreply@anthropic.com>