修复 AGC 画布生成、卡片展示与布局交互 #412
Reference in New Issue
Block a user
Delete Branch "feat/agc-canvas-acceptance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
关联 #411(仍有未完成项,本 PR 不自动关闭 Issue)。
范围与状态
feat/agc-canvas-acceptance→master;当前提交2ffccb844,已合入主线a2e6f205d。本批收口画布验收已有修复、批量追加标签、对话动态计时、初始消息重复及 Agent 游戏居中指引。不是“所有 bug 已修复”,也不是已通过发布验收。
问题、症状、原因与解决方案
关键边界
a2e6f205d。验证与 Review
本轮实际执行:
cargo check --all-targets --locked --offline通过。历史阶段证据(不冒充本轮全量):原六项定向 424 项、原生 reference_ 17 项;批量标签前端 68 项、原生分类 22 项通过。真实客户端生成/布局、原生 IPC 批量写盘及付费 Provider 联调仍需验收。
CI 与发布边界
1bd153d7f的 run 2473:11 项中 10 项成功,Rust shard 2/4 失败,具体为:background_agent_runtime_confirmation_is_bound_to_exact_tool_inputbackground_agent_runtime_loads_same_agent_continuity_through_tool_observation2ffccb844的远程 CI 以实际新轮次为准,尚未确认通过。因此本 PR 仍不是可直接发布的全绿状态。未完成 / 后续处理
补充 Review 结论(2026-09-18)
审查提交:
2ffccb844c790c0e54d644b5a1e0b0bc6236f154;对比主线:a2e6f205d660cfa8a2b2b6e0104bf991021d3d58。由 4 个 deepseek-flash 子 agent 分区只读审查,gpt-6-astra 主 Agent 复核。补审此前缺少最终集成复核的原生事件时间、前端跨回合/历史恢复、生成引用与占位、批量标签及布局并发链路。此次仅报告发现,尚未针对以下问题修复。
P1:切换生成占位时复用旧面板状态
apps/ai-game-creator-shell/src/view/project-development/index.tsx:9584-9618,9624-9631;apps/ai-game-creator-shell/src/features/resource-canvas/ResourceCanvasGenerationPanelView.tsx:121-166。P2:整轮总耗时漏算发送后的初始化等待
apps/ai-game-creator-shell/src-tauri/src/agent/codex_app_server/mod.rs:3053-3066;apps/ai-game-creator-shell/src/features/project-workspace/directTurnPresentation.ts:188-190,239-259。P2:live 为空时有权威终态时间,但展示边界丢失
apps/ai-game-creator-shell/src/features/project-workspace/directThreadChat.ts:295-324;apps/ai-game-creator-shell/src/features/project-workspace/directTurnPresentation.ts:250-262。P2:失败重试静默丢弃已删除的参考素材
apps/ai-game-creator-shell/src/view/project-development/index.tsx:8774-8794;原生恢复校验位于apps/ai-game-creator-shell/src-tauri/src/agent/generation/canvas_generation.rs:3096-3115。P3:不同栏目连续整理会覆盖排队范围
apps/ai-game-creator-shell/src/view/project-development/useProjectResourceCanvasLayout.ts:1216-1226。P3:拖动中布局刷新后,预览和保存使用不同起点
apps/ai-game-creator-shell/src/view/project-development/index.tsx:7047-7048与5813-5819。尚未证实的风险(不计入确定 bug)
取消后立即重发与迟到终态的竞争:内存状态机可构造出新回合被旧终态收口,但原生 FIFO、IPC 回包与新请求的实际先后尚未验证,需要真实客户端复现后再定性。
本轮验证与边界
结论:建议先修 P1 与三个 P2,再评估合并/发版。此评论不是“所有 bug 已修复”或发布批准。