guard high-extent tile reencoding

This commit is contained in:
OpenAI Codex
2026-04-18 14:26:54 +08:00
parent b0f68dbe39
commit 6d72340f36
7 changed files with 1807 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# 项目步骤记录
最后更新:`2026-04-18 14:18`
最后更新:`2026-04-18 15:03`
仓库:`/root/sourceserver/pbf`
远端:`ssh://git@nas:2222/tei/pbf.git`
@@ -218,6 +218,67 @@
2. 先把“旧坏 tile”与“主线 style 差异”两类问题彻底拆开
3. 之后再决定是否把这套 rebuild 从热点 AOI 扩到全国更大范围
## 2026-04-18 全国高 extent 错重编码根因钉实
### 1. 本轮新结论
- 当前全国 `full / semantic` 中反复出现的:
- 岛礁附近整块空白
- 海底等深线 / 陆域 / 海岸线整片缺失
- 根因不是 `style` 改图标本身
- 当前已用数值签名确认:
- 是高 extent tile 在某条重写链里被按 `4096` 口径重编码
### 2. 关键证据
- 代表 source tile 正常 overflow
- `20480`
- 对应生产坏 tile overflow
- `1064960`
- 并且已通过复现实验确认:
-`extent = 1048576` tile 重编码时故意写成 `4096`
- 可稳定复现出同样的 `1064960` 错移签名
### 3. 本轮新增守卫与审计
- 已新增重编码守卫:
- [`navsea_tile_reencode_guard.py`](/root/sourceserver/pbf/navsea_tile_reencode_guard.py)
- 已新增错移根因审计脚本:
- [`navsea_extent_shift_audit.py`](/root/sourceserver/pbf/navsea_extent_shift_audit.py)
- 已补充根因报告:
- [`report/full_extent_shift_root_cause_2026-04-18.md`](/root/sourceserver/pbf/report/full_extent_shift_root_cause_2026-04-18.md)
### 4. 本轮加固
- 已修改:
- [`build_semantic_delivery_assets.py`](/root/sourceserver/pbf/build_semantic_delivery_assets.py)
- 当前语义版重写链要求:
- decode 时保存原 layer extent
- encode 时按原 extent 写回
- 写完后立即做几何守卫校验
- 这样后续凡是“改图标 / 改属性”触发的语义版 tile 重写,
- 不再允许静默把高 extent tile 写坏
### 5. 热点修前备份审计结果
- 对修前热点 full 备份审计:
- `154` 张里 `42` 张命中“高 extent 被按 4096 重编码”的签名
- 对修前热点 semantic 备份审计:
- `154` 张里 `43` 张命中同类签名
- 审计文件:
- [`hotspot_backup_full_shift_audit_2026-04-18.json`](/root/sourceserver/pbf/report/hotspot_backup_full_shift_audit_2026-04-18.json)
- [`hotspot_backup_semantic_shift_audit_2026-04-18.json`](/root/sourceserver/pbf/report/hotspot_backup_semantic_shift_audit_2026-04-18.json)
### 6. 当前下一步
1. 把当前热点修复扩大为:
- 全国 `full`
- 全国 `semantic`
的整树安全重建
2. 重建前后都跑:
- `navsea_extent_shift_audit.py`
3. 把全国现网目录切换到通过守卫校验的新产物
## 2026-04-17 Karatsu 20nm final Native ParseTile 异常定位
### 1. 用户现象