# Changelog — BUG 全量扫描 B0 登记册(2026-06-04) ## 摘要 建立手写源码 BUG 扫描机器可读登记册,作为 B7–B77 执行与签退的 SSOT。 ## 动机 Batch 1–6 仅覆盖约 25 路径(多节选);需 definitive 清单追踪 ~290 手写路径至 100% `done`。 ## 变更 - 新增 `scripts/generate_bug_scan_registry.py`:扫描 `server/`、`frontend/src/`、`web/app` 根 HTML/JS、`web/agent/`、`tests/`、`deploy/`、`scripts/`、`docker/`、根配置。 - 生成 `docs/audit/2026-06-04-bug-scan-registry.json`(284 `must_audit` + 2773 `covered-by-frontend-src`)。 - 预填 Batch 1–6:`done` / `partial` + `needs_full_rescan`。 - 排除:`scripts/sedul3hFb`、`docker/.env`(本地密钥)。 ## 涉及文件 - `scripts/generate_bug_scan_registry.py` - `docs/audit/2026-06-04-bug-scan-registry.json` ## 迁移 / 重启 无。 ## 验证 ```bash python3 scripts/generate_bug_scan_registry.py # summary: total_must_audit=284, pending 按批次递减至 0 ```