diff --git a/game-studio/.agent b/game-studio/.agent index 9d7dc87c..437736f9 100644 --- a/game-studio/.agent +++ b/game-studio/.agent @@ -37,7 +37,7 @@ game-studio/ - [x] **4 个 contractGaps 已由契约 owner 在 Wave3 补齐**:publish 门禁明细(GAP-1 ProjectPublishRespVO) / GamePackage 取包端点(GAP-2 runtime manifestUrl) / ShareMeta versionId(GAP-3) / 遥测 snake→camel(GAP-4)。 - [x] **已 git 提交**(前端脊柱 `67ad750`)。 - [ ] **真实联调(staging:切 `VITE_API_BASE_URL` 接 mini-desktop 后端,5 条链路端到端走查)** ← 当前最高价值待办,见总账 §5「联调」。 -- [x] **本地预览真玩**(create→预览渲染【真生成物】,非 demo):runtime mock 9001 回填 manifestUrl 指本地静态 manifest(内嵌 E1 适配器 engineBundle/__GameBundle)。**本地预览前先跑 `node scripts/gen-preview-manifest.mjs`**(生成 `public/mock-manifests/9001.json`,gitignore 不入库)。绕开 T1b 替换中自研壳的 `load_timeout`(CDP 走查实证:预览渲染 tap-target 真玩件)。 +- [x] **本地渲染真玩件**(创作预览 + 玩家试玩均渲染【真生成物】,非 demo):runtime mock 对 studio 生成版本(≥9001)回填 manifestUrl 指本地静态 manifest(内嵌 E1 适配器 engineBundle/__GameBundle)。**本地预览/试玩前先跑 `node scripts/gen-preview-manifest.mjs`**(生成 `public/mock-manifests/9001.json`,gitignore 不入库)。绕开 T1b 替换中自研壳的 `load_timeout`(CDP 走查实证:create→preview/9001、改进→preview/9002、feed→play/1/9001 均渲染 tap-target 真玩件)。 - [x] 安全测试补:postMessage 双校验"拒非法 origin/schema"独立验证(`src/host/bridge.security.test.mts`,12 例覆盖全 RejectReason + 空白名单默认拒 + dispose 失活;跑:`node --import tsx --test src/host/bridge.security.test.mts`)。 - [ ] 可选:卡片点击热区扩大到整卡;mock 假数据品牌文案;srcdoc 生产收紧 origin。