docs(plan): add platform vertical-slice implementation plan

This commit is contained in:
2026-09-04 22:34:03 +08:00
parent c9f6df6e10
commit 621eb8722e
3 changed files with 1232 additions and 10 deletions
@@ -129,7 +129,7 @@ videoConfig, shortcode, match, matchid, agreefree, isbet, deskinfo
- `roomcode` 存在决定是否恢复房间;
- `isbattle` 只写房间 stage;
- `deskinfo` 字段存在决定是否调用 `onReconnect(deskinfo)`;
- `deskinfo` 值为真决定是否调用 `onReconnect(deskinfo)`,严格复刻原工程 `if (deskinfo)`;
- `deskinfo` 值不被平台复制、补字段或解析;
- `roomtype` 保留完整嵌套数组结构。
@@ -171,6 +171,8 @@ videoConfig, shortcode, match, matchid, agreefree, isbet, deskinfo
| GAME-13 | snapshot 是冻结 DTO,不暴露内部 Store 类型 | mutation failure/type test |
| GAME-14 | dispose 后 Host 失效并释放全部订阅 | lifecycle/leak test |
| GAME-15 | 不同游戏、不同房间会话之间无状态泄漏 | two-game isolation test |
| GAME-16 | `resolveSeatCount(roomtype)` 是座位总数的唯一游戏侧解释入口,且必须返回正整数 | descriptor validation test |
| GAME-17 | Host 座位映射绑定当前 self seat/seat count,子游戏不导入内部 seat 实现 | 2/4/10-seat round-trip test |
第一版 `GameHostCommand` 只包含: