纳入移动壳烟测脚本扫描

移动壳单端门禁登记 EAS 和 Expo 烟测脚本

移动壳生产替身词扫描覆盖烟测脚本

宿主壳方案和项目记忆同步烟测脚本验收口径
This commit is contained in:
2026-06-20 06:42:06 +08:00
parent aba6d14eb9
commit c026db0f32
3 changed files with 26 additions and 2 deletions
@@ -2901,6 +2901,13 @@
- 影响范围:`scripts/check-native-shells.mjs`、原生壳方案文档。
- 验证方式:`npm run check:native-shells``npm run check:encoding``git diff --check`
## 2026-06-20 移动壳 smoke 脚本进入生产扫描
- 背景:移动壳 `check-eas-build-config.mjs``check-expo-config.mjs``check-expo-export.mjs` 已经成为原生包构建、Expo managed config 和 Metro production bundle 的验收入口;如果它们不进入单端结构清单和替身词扫描,后续可能在验收脚本里留下临时绕过逻辑而不被发现。
- 决策:`apps/mobile-shell/scripts/check-config.mjs` 必须把上述三个 smoke 脚本登记为受控生产验收脚本,并纳入 mock / fake / placeholder / stub / TODO / FIXME / 占位 / 模拟 / 伪造 / 未实现 / 临时 扫描;`check-config.mjs` 本身继续由根级门禁调用,不自扫自身。
- 影响范围:`apps/mobile-shell/scripts/check-config.mjs`、原生壳方案文档。
- 验证方式:`npm run mobile-shell:typecheck``npm run check:native-shells``npm run check:encoding``git diff --check`
## 2026-06-20 移动壳 ShellApp HostBridge 事件注入必须可执行覆盖
- 背景:Expo 移动壳声明 `host.events``app.lifecycle``network.statusChanged``navigation.canGoBack`,但 ShellApp 真实 AppState、Network 和 WebView 返回栈注入链路需要和扫码链路一样有可执行测试覆盖,不能只靠字符串门禁。