From 9389c7fff8d197505f2993c249eddf866752aa61 Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 15 Sep 2026 12:26:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20AGC=20=E7=AD=96=E5=88=92?= =?UTF-8?q?=E8=A1=A5=E5=85=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新首页启动模式注释以覆盖游戏策划补全分支 同步实施计划与当前测试覆盖边界 --- apps/ai-game-creator-shell/src/view/home/index.tsx | 2 +- .../plans/【实施计划】AGC首页策划补全入口-2026-09-15.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/home/index.tsx b/apps/ai-game-creator-shell/src/view/home/index.tsx index 74f596b64..4310caee6 100644 --- a/apps/ai-game-creator-shell/src/view/home/index.tsx +++ b/apps/ai-game-creator-shell/src/view/home/index.tsx @@ -153,7 +153,7 @@ export default function HomeView({ HOME_CREATION_TYPE_ITEMS.find( (item) => item.creationType === homeCreationType, ) ?? HOME_CREATION_TYPE_ITEMS[0]!; - // 做方案走立项策划链路,做游戏 / 做素材维持既有的直接开建路由。 + // 做方案始终走立项策划链路;做游戏勾选“策划补全”时复用该链路,做素材保持直接开建。 const startMode = resolveHomeStartMode( homeCreationType, planningCompletionEnabled, diff --git a/docs/project-memory/plans/【实施计划】AGC首页策划补全入口-2026-09-15.md b/docs/project-memory/plans/【实施计划】AGC首页策划补全入口-2026-09-15.md index 8f9ca580c..c2d0fbf4f 100644 --- a/docs/project-memory/plans/【实施计划】AGC首页策划补全入口-2026-09-15.md +++ b/docs/project-memory/plans/【实施计划】AGC首页策划补全入口-2026-09-15.md @@ -7,10 +7,14 @@ Parent Spec: 【里程碑】AGC首页策划补全入口-2026-09-15.md 1. 在 `view/home/index.tsx` 增加本地复选框状态与入口切换清理。 2. 将游戏勾选状态映射到既有 `ProjectStartMode`。 -3. 增加首页组件测试覆盖模式分流和显示边界。 +3. 增加启动模式纯函数测试,覆盖模式分流;首页显示边界和切换清理作为后续组件测试补充项。 ## 验证 - AGC 首页相关定向测试。 - AGC 前端 typecheck。 - `npm run check:encoding` 与 `git diff --check`。 + +## 当前验证边界 + +本次已交付测试覆盖 `planning` / `direct-build` 模式分流;“策划补全”复选框的显示边界及切换创作类型后的状态清理尚未有组件级自动化测试,需后续补充 `HomeView` 测试时完成。