docs(游戏共创): 5.7 补本次提交 SHA 与浏览器核验方式
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 6m54s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 5m51s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 4m42s
Project CI / Frontend tests (pull_request) Successful in 3m46s
Project CI / Backend tests (pull_request) Successful in 8m14s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m32s
Project CI / Native shell tests (pull_request) Successful in 7m32s
Project CI / Repository checks (pull_request) Successful in 6m1s

This commit is contained in:
2026-10-07 00:53:48 +08:00
parent caf7db4ba0
commit 2d5c79d0e0
@@ -1016,7 +1016,9 @@ procedure 另要求**受信服务身份**(归属判定靠 `owner_user_id`,
| 冲突容器收敛 | 确认页须知块计算值 `overflow-y: visible` / `max-height: none` / `noticesClipped=false`(无内层滚动);页脚 `position: sticky` + `bottom: 0`(滚动前后 `footerVisible=true`) | ✅ 已验证 |
| jsdom 用例 | 新增 `tests/launcherScrollContract.test.ts`(CSS 契约:根/外壳/`.launcher-main` 逐层高度与 `overflow`、视图 `flex: 0 0 auto`、旧 grid 覆盖已删、内容列 720–880px 与 `72ch`);`tests/coCreation.test.tsx`(删除「直接 Fork 指定作品」标题/输入框/按钮/占位的四条断言、`创建时间` 真实值与缺失整行不渲染、`.fork-page` 内无 `overflow-y-auto`);`tests/forkConfirm.test.tsx`(须知块无内层滚动且五条全文、页脚 `sticky bottom-0` 且是页面根最后一个子元素、徽章倒计时 3s→0 与按钮 enable) | ✅ 已验证 |
| 死代码删除 | `parsePlatformGameId` / `PLATFORM_FORK_INPUT_ERROR` / `GAME_ID_PATTERN` / `GAME_ID_QUERY_KEYS` 与对应解析用例全部移除(`platformGameForkModel.ts` 只剩失败分类);`formatCatalogTime` 更名 `formatCatalogCreatedAt` 并返回 `null` 表示「无值」 | ✅ 已验证 |
| 门禁(AGC 本工作树自跑,逐条 exit) | `tsc -p tsconfig.json` 0;`tsc -p tsconfig.tests.json` 0;`npm run ai-game-creator-shell:typecheck` 0(含 `check-config.mjs`:`read_public_game_detail` 已登记 native-only 白名单);`npx vitest run apps/ai-game-creator-shell/tests` 全绿;`npx eslint . --ext .ts,.tsx,.js,.mjs,.cjs --max-warnings 0` 0;`npm run check:encoding` 0;`git diff --check` 0 | ✅ 已验证 |
| 门禁(AGC 本工作树自跑,逐条 exit) | `tsc -p tsconfig.json` 0;`tsc -p tsconfig.tests.json` 0;`npm run ai-game-creator-shell:typecheck` 0(含 `check-config.mjs`:`read_public_game_detail` 已登记 native-only 白名单);`npx vitest run apps/ai-game-creator-shell/tests` 0(**211 文件通过 / 1 跳过,2095 用例通过 / 17 跳过**);`npx eslint . --ext .ts,.tsx,.js,.mjs,.cjs --max-warnings 0` 0;`npm run check:encoding` 0(5550 文件);`git diff --check` 0 | ✅ 已验证 |
| 改动清单(提交) | 外壳滚动链 `501fd0925`(`styles.css` + `tests/launcherScrollContract.test.ts`);共创列表页与版式令牌 `2010c1382`(`view/co-creation`、`platformForkCatalog`、`platformGameForkModel`、`forkPageStyles` + 用例);确认页与发布面板 `caf7db4ba`(`view/fork-confirm`、`GameDistributionPublishPanel` + 用例) | ✅ 已提交 |
| 真实浏览器(本次核验方式) | 一次性夹具把两页挂进与 `WindowChrome` 同构的外壳(`#root` → `.window-chrome__content` → `main.launcher-shell > aside + section.launcher-main`),真实 `styles.css` + Vite;在 1440×900 / 1000×620 / 800×600 三档量逐层计算值、滚到底后末项与页脚可见性、横向溢出;夹具用完即删(`git status` 干净) | ✅ 已验证 |
---