fix(module_type): 对齐 module_type 规范大写并加防回归守卫(防 similarasin/SIMILAR_ASIN 之类漂移)

- heartbeat 夹具 moduleType 改规范大写 SIMILAR_ASIN 并加断言锁定
- ModuleTypeAlignmentTest:扫描 src/main——MODULE_TYPE 常量须大写下划线、setModuleType("小写") 禁止(仅允许 legacy collectdata)——守卫写入/常量/夹具三者一致
- 全量扫描结果:生产代码写入均用常量大写,无存量漂移
This commit is contained in:
2026-09-05 08:54:06 +08:00
parent e69d82e7b1
commit 92bd114e71
3 changed files with 86 additions and 1 deletions
@@ -1,5 +1,5 @@
{
"moduleType": "similarasin",
"moduleType": "SIMILAR_ASIN",
"phase": "search",
"current": 3,
"total": 10,