修复 AGC 画布生成、卡片展示与布局交互 #412
Open
suzmii
wants to merge 33 commits from
feat/agc-canvas-acceptance into master
pull from: feat/agc-canvas-acceptance
merge into: GenarrativeAI:master
GenarrativeAI:master
GenarrativeAI:feat/agc-organize-assetkind
GenarrativeAI:rm/design-v2
GenarrativeAI:feat/bgfilter-api
GenarrativeAI:fix/ref-persistent
GenarrativeAI:fix/ci
GenarrativeAI:feat/more-ref
GenarrativeAI:codex/platform-session-identity-credential-split
GenarrativeAI:feat/ui-editor-v3
GenarrativeAI:fix/chat-state
GenarrativeAI:feat/Crt_Ws
GenarrativeAI:codex/fix-model-refresh
GenarrativeAI:feat/smart-ref-ui-res
GenarrativeAI:codex/preview-llm-router-config
GenarrativeAI:fix/stroke-width-regression-from-285
GenarrativeAI:agent-organize
GenarrativeAI:feat/expose-image2edit
GenarrativeAI:feat/game-agent-canvas-resource-workbench-v2
GenarrativeAI:feat/agc-new-workflow
GenarrativeAI:fix/agc-release-version-sync
GenarrativeAI:codex/shared-components-followup
GenarrativeAI:codex/agc-runtime-generation-reliability
GenarrativeAI:codex/game-agent-runtime-interaction-design
GenarrativeAI:feat/spine-sequence-export-v2
GenarrativeAI:codex/agc-platform-account-editor-api
GenarrativeAI:codex/game-agent-run
GenarrativeAI:codex/ui-spritesheet-durable-transaction-latest
GenarrativeAI:feat/art-agent-more-tools
GenarrativeAI:codex/editor-canvas-null-source-repair
GenarrativeAI:hotfix/editor-layout-2mib
GenarrativeAI:codex/showcase
No Reviewers
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: GenarrativeAI/Genarrative#412
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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?
Closes #411
交付范围与分支
feat/agc-canvas-acceptance→master;汇总提交20b1fd63d,已合入 master195b7dd5d;批量标签实现提交105591bac。对应 2026-09-17《AGC 画布验收报告》的原六项问题(生成参考、生成占位、资源名称、文档卡、整理画布、多选移动),并追加多选素材批量标签需求。实现及独立 review 均使用 deepseek-flash,主 Agent 核对报告后多轮返修并统一集成。
不包含拖入对话批量 @、复制聊天引用、历史素材替换交互;不修改数据库 schema,不新增远程公开 API。
前后变化、修复方案与落地位置
ResourceCanvasAssetGenerationPanelView、resourceCanvasAssetGenerationQueue、原生canvas_generationuseResourceCanvasGenerationPlaceholders、ResourceCanvasGenerationPlaceholderCardView、ProjectDevelopmentViewResourceCard、卡片样式ResourceCard、资源预览模型useProjectResourceCanvasLayout、resourceCanvasLayoutModelresourceCanvasHistoryModel关键边界与防回归
referenceAssetIds与targetCategory:真实参考与入口栏目落盘各有明确职责,正式素材分类不由前端伪造。Review 发现及已修复
验证证据
reference_17 项通过;cargo check --all-targets --offline通过。尚未验证 / 合并前注意
background_agent_runtime_can_start_local_preview的 LLM mock 超时,已在无本批改动基线重复复现;不将其宣称为通过。195b7dd5d,自动合并无冲突;本轮合并态验证结果见下方。远端 master 此后若继续前进,不将本轮结果冒充后续合并态验证。文档
已同步工作台 PRD、AGC 技术方案、规范驱动里程碑/实施计划及 worktree 测试解析约定。运行时验收尚未完成,因此临时计划保留明确的待验入口。
本次更新:批量标签与最新主线合并
用户可见变化
实现落点
ResourceClassificationPanel.tsxResourceCanvasPanelView.tsx、resourceBatchTagTargetModel.ts、工作台index.tsxproject/manifest.rs、commands.rs、main.rsadd_local_project_resource_tags;项目权限/身份/写锁/CAS;全批预检、一次写盘和 revisionclassification_tests.rs、resourceBatchTagsIntegration等新测试接口为
input: { projectPath, expectedProjectId, expectedProjectRevision, assetIds, tags },返回{ assets, committedProjectRevision };不修改 manifest schema、数据库或远程 API。原生已写入后若审计/revision 异常会明确说明“已写入”;成功后刷新失败说明“标签已保存,但刷新失败”,不伪报回滚。新增 review 返修
主线整合与验证分层
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.