删除策划agent v2,删除supervisor,与退役功能解耦 #355

Open
lhk229 wants to merge 45 commits from rm/design-v2 into master
Owner
No description provided.
lhk229 added 3 commits 2026-09-14 14:19:01 +08:00
删除已失效的 --plan 策划自动应答说明
移除 Planning V2 协议模块与 Tauri 命令注册

保留新版 Design Agent、做游戏 Agent 与共享运行时
删除退役策划 V2 前端测试契约
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
4933c6c380
移除 Plan GDD 审批测试套件及注册入口
lhk229 marked the pull request as work in progress 2026-09-14 14:19:38 +08:00
lhk229 added 1 commit 2026-09-14 14:20:35 +08:00
Merge remote-tracking branch 'origin/master' into rm/design-v2
Project CI / Repository checks (pull_request) Failing after 3m24s
Project CI / Frontend tests (pull_request) Failing after 3m2s
Project CI / Backend tests (pull_request) Successful in 6m55s
Project CI / Native shell tests (pull_request) Failing after 4m20s
ee03ade156
lhk229 added 3 commits 2026-09-14 14:31:48 +08:00
移除旧版 GDD 审批卡和策划运行条组件

项目总控视图仅保留新版 Design Agent 与通用运行面板
删除项目总控运行面板中已无调用方的 GDD 审批状态参数
移除退役策划 V2 运行态刷新入口
Project CI / Repository checks (pull_request) Failing after 2m22s
Project CI / Frontend tests (pull_request) Failing after 3m7s
Project CI / Native shell tests (pull_request) Failing after 3m47s
Project CI / Backend tests (pull_request) Successful in 6m38s
7eb2326a76
删除旧版策划状态随项目总控运行态刷新的专用 effect

移除仅服务该 effect 的 planningLane 判定模块
lhk229 added 1 commit 2026-09-14 15:22:32 +08:00
Merge branch 'master' into rm/design-v2
Project CI / Repository checks (pull_request) Failing after 3m20s
Project CI / Frontend tests (pull_request) Failing after 2m42s
Project CI / Native shell tests (pull_request) Failing after 3m57s
Project CI / Backend tests (pull_request) Successful in 6m23s
8f691d4c8c
lhk229 added 2 commits 2026-09-14 15:24:33 +08:00
移除已无调用方的 planning_gdd_model.rs 及模块导出

删除仅依赖退役提交错误类型的无效判定函数
Merge remote-tracking branch 'origin/rm/design-v2' into rm/design-v2
Project CI / Repository checks (pull_request) Successful in 2m42s
Project CI / Frontend tests (pull_request) Successful in 3m0s
Project CI / Native shell tests (pull_request) Failing after 3m51s
Project CI / Backend tests (pull_request) Successful in 5m46s
0847b1bb83
lhk229 added 1 commit 2026-09-15 10:28:15 +08:00
Merge remote-tracking branch 'origin/master' into rm/design-v2
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 3m2s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 3m6s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Failing after 3m7s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 3m10s
Project CI / AI game creator shell Rust smoke (pull_request) Failing after 1m57s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m39s
Project CI / Native shell tests (pull_request) Failing after 3m35s
Project CI / AI game creator shell web tests (pull_request) Failing after 1m6s
Project CI / Repository checks (pull_request) Successful in 2m49s
Project CI / Frontend tests (pull_request) Successful in 4m4s
Project CI / Backend tests (pull_request) Successful in 7m22s
9833a53e06
lhk229 added 1 commit 2026-09-15 10:44:35 +08:00
移除退役策划 V2 流式事件订阅
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 3m3s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 2m47s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 2m48s
Project CI / Backend tests (pull_request) Failing after 16s
Project CI / AI game creator shell Rust smoke (pull_request) Failing after 2m2s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Failing after 2m26s
Project CI / Repository checks (pull_request) Failing after 11s
Project CI / AI game creator shell web tests (pull_request) Failing after 1m7s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m33s
Project CI / Native shell tests (pull_request) Failing after 3m17s
Project CI / Frontend tests (pull_request) Successful in 3m42s
64ab959d4f
删除 planning-session-v2-stream 事件监听与旧实时回复错误处理

保留新版 Design Agent 事件订阅链路
lhk229 added 2 commits 2026-09-15 12:53:44 +08:00
新增退役策划 Agent V1/V2 解耦清理里程碑规范

新增分提交实施计划、修改边界与验收命令

明确不主动清理做游戏 Supervisor 与 16 Agent DAG
Merge remote-tracking branch 'origin/master' into rm/design-v2
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
908d248f27
lhk229 added 4 commits 2026-09-15 14:46:21 +08:00
为 Design Agent 增加独立 active、瞬态回复和 reasoning 状态

保留策划 V2 会话自身的状态与消息动画链路

统一项目总控轮询使用两条策划 lane 的合并状态

移除 Design Agent 对旧 planning lane ref 的共享依赖
明确Supervisor产品运行链路已退役

将做游戏和做素材统一收口到DirectCodex

保留16 Agent DAG仅到编译所需范围
移除 App 内策划 V2 会话、GDD 同步与审批状态

删除策划 V2 类型转换模块和退役 GDD 状态类型

保留现役设计 Agent 会话恢复与项目运行时入口
删除退役GDD交付入口
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
79b49519b6
移除已批准 fast GDD 自动转建游戏流程

清理工作台与首页创建控制器中的旧策划回调

保留 DirectCodex 正常做游戏入口
lhk229 added 10 commits 2026-09-15 16:10:45 +08:00
删除策划 V2 与批准 GDD 的旧测试数据和调用模拟

保留现役设计 Agent 与 DirectCodex 的界面测试

移除测试中对退役规划命令的断言
删除旧 GDD 审批卡与策划窄条的孤儿 CSS

更新聊天布局测试以覆盖现役 DirectCodex 选择器

保留设计 Agent 和通用项目工作台表现
移除旧 Fast GDD 打开命令及 Tauri 注册

删除规划目录和 GDD 投影的专用文件保护分支

保留通用 Agent 控制面与 DirectCodex 文件安全边界
删除 project-planning 的澄清与用户修订跳转说明

保留做游戏 Agent 的静态委派返工语义

更新运行时诊断测试中的旧策划身份夹具
移除 planning-session-v2-stream 订阅注销测试

保留通用 Tauri 事件订阅竞态回归覆盖
移除旧策划 source、plan.submit_gdd 专用卡和相关前端提交分支

保留通用 Supervisor 提交与做游戏 DAG 路由

同步临时计划文档的实际删除边界
移除静态委派验收中的旧 plan.submit_gdd 说明

保持通用委派返工判定语义不变
删除 Supervisor playbook 中旧 project-planning 委派说明

保留通用协作与回执规则
将通用验收证据和委派测试中的旧 GDD 路径改为中性产物

保留做游戏 Agent 的通用证据回执逻辑
Merge remote-tracking branch 'origin/master' into rm/design-v2
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 4m39s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 4m27s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m35s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 4m56s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 4m18s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 1m57s
Project CI / Frontend tests (pull_request) Failing after 3m31s
Project CI / Repository checks (pull_request) Failing after 3m25s
Project CI / Native shell tests (pull_request) Successful in 6m48s
Project CI / AI game creator shell web tests (pull_request) Failing after 3m16s
Project CI / Backend tests (pull_request) Successful in 7m26s
23bb0bf131
lhk229 added 3 commits 2026-09-15 17:04:59 +08:00
将通用 file.read 证据测试改用中性 design.md 样例

确保现役代码和测试不再引用旧 Fast GDD 路径
移除随包提示词中的旧 project-planning 部署描述

改为当前 Design Agent Runtime 的单 Agent 运行口径
更新退役GDD样式测试
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 4m31s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 4m35s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m58s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 5m2s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 4m5s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m15s
Project CI / Frontend tests (pull_request) Successful in 4m35s
Project CI / Repository checks (pull_request) Successful in 4m3s
Project CI / Native shell tests (pull_request) Successful in 7m5s
Project CI / Backend tests (pull_request) Successful in 8m2s
Project CI / AI game creator shell web tests (pull_request) Successful in 3m12s
8e6fb7d078
删除对已移除 GDD 审批弹层选择器的旧断言

保留现役窗口覆盖层样式校验
lhk229 added 1 commit 2026-09-15 20:59:12 +08:00
Merge branch 'master' into rm/design-v2
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
c2064836ce
kdletters added this to the 陶泥儿gameAgent project 2026-09-16 12:11:45 +08:00
kdletters moved this to 评估中 in 陶泥儿gameAgent on 2026-09-16 12:12:20 +08:00
lhk229 added 2 commits 2026-09-17 10:30:10 +08:00
合并远程分支并解决提交历史分叉
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 5m44s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 5m21s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 5m21s
Project CI / Backend tests (pull_request) Failing after 10s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 5m47s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m50s
Project CI / Repository checks (pull_request) Failing after 11s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
ea34cbdea6
合并 origin/rm/design-v2 的 master 合并记录
保留本地已合入的 master 更新及策划 Agent 清理成果
合并前后文件树一致,仅统一双方提交历史
lhk229 added 1 commit 2026-09-17 10:41:21 +08:00
合并最新主分支并清理新增策划耦合
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
3e3b35713d
合入 master 的聊天界面、回合控制及运行时更新
解决七处合并冲突,保持退役策划 V1/V2 链路删除
将新增界面判断连接到 Design Agent 状态并移除旧 GDD 测试依赖
保留现役文档建造指令、回合终止及推理档设置
lhk229 added 1 commit 2026-09-17 22:36:56 +08:00
合并最新主分支并保留策划退役清理
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 4m30s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 4m44s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 2m37s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 5m6s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 5m9s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m26s
Project CI / Native shell tests (pull_request) Successful in 19m40s
Project CI / Frontend tests (pull_request) Successful in 21m8s
Project CI / Repository checks (pull_request) Successful in 21m29s
Project CI / Backend tests (pull_request) Successful in 27m41s
Project CI / AI game creator shell web tests (pull_request) Successful in 19m50s
3de9341a9c
合并 origin/master 的最新功能与测试变更

保留已删除的策划 Agent V1/V2 运行时和旧 GDD 入口

仅解决资源预览类型冲突,不恢复退役策划调用
lhk229 added 1 commit 2026-09-18 16:16:04 +08:00
合并最新主分支并保留策划退役清理
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
bd40ca45f1
合入 origin/master 的现役 Direct、Mac 随包资源、配置和测试变更
保留策划 Agent V1/V2 退役删除结果
仅在重叠文件保留当前分支的策划解耦代码
不额外处理 master 自身已有缺陷
lhk229 force-pushed rm/design-v2 from e7117f6fee to bd40ca45f1 2026-09-18 16:16:04 +08:00 Compare
lhk229 added 1 commit 2026-09-18 16:36:47 +08:00
合并最新主分支变更
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
945b3efa6f
合入 origin/master 的 Direct、资源画布、工具展示和运行时更新
保留策划 Agent V1/V2 退役删除结果
冲突文件继续采用当前分支的策划退役边界
lhk229 added 1 commit 2026-09-18 17:02:19 +08:00
清理退役策划测试并更新现状文档
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 6m1s
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 6m30s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 6m1s
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
4efaec42ea
删除旧 hydrate 命令的无效测试桩

将策划 V1/V2 技术方案和共享记忆标记为历史

明确当前策划入口统一使用 Design Agent
lhk229 added 1 commit 2026-09-18 17:47:32 +08:00
修正合并后残留的 Direct 旧命令调用
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 7m16s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 7m22s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 7m41s
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 7m42s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m57s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m5s
Project CI / Repository checks (pull_request) Failing after 5m23s
Project CI / Frontend tests (pull_request) Failing after 6m37s
Project CI / Native shell tests (pull_request) Successful in 9m25s
Project CI / Backend tests (pull_request) Successful in 9m38s
Project CI / AI game creator shell web tests (pull_request) Failing after 5m23s
90b707727c
删除前端对已移除 Direct 命令的回读

更新回合流类型注释
Author
Owner

审查结论(rm/design-v2 → master,HEAD 90b707727)

策划 V1/V2 退役本体做得干净彻底:Rust 三模块(planning_session_v2 / planning_policy_v2 / planning_gdd_model)、4 个 Tauri 命令、.agent/planning/**game/fast_gdd.md 的写入保护门(patchset / file_ops / checkpoint / filesystem)、前端 GDD 审批卡与策划会话状态、测试夹具、docs 与共享记忆同步,删除边界一致,符合"四不写"。但当前分支不可合并:最近两次合入 master 时的冲突解决把 master 的 Direct 前端新架构回退成了旧版,前端测试大面积失败。

阻塞项

1. 合并冲突解决回退了 master 的 Direct 前端架构(#384「保留唯一的 thread manager 作为状态来源」及后续过程折叠 / 计时 PR)

合并提交 bd40ca45f / 945b3efa6 在冲突文件上整体取了分支侧旧版本:

  • 删除了 master 现役模块:directThreadChat.tsdirectHistoryPaging.tsdirectHistoryAnchorGate.tsdirectThreadItemProjection.ts
  • directThreadEvents.ts 从 ts-rs 生成绑定的纯转发退回手写类型(违背「字段增删必须改 Rust」的现行约定)
  • directTurnPresentation.tstoolCallGroupPresentation.tsProjectSupervisorView.tsxtests/appSurface/harness.ts 均为旧版实现
  • 而测试保留了 master 新版 → 本地实测:appSurface 43 个失败 + directTurnPresentation 12 个失败resolveToolGroupTiming is not a functionbuildDirectChatTurns is not a functiondirectHarness.emitDirectThreadEvents is not a function,另有多条 5s 超时)

这些文件与策划退役无关,建议重做这两次合并的冲突解决、Direct 相关文件取 master 侧;若确有意回退 #384,需同步删除/重写对应测试并在 PR 说明中写明。

2. CI 无全绿:8e6fb7d078(09-15)之后的合并均未跑完,最新 run 2496 仍在排队,按上述结果 web tests 必失败。合前需要一次全绿。

非阻塞建议

  1. 混入与本 PR 无关的格式化改动:仓库根 src/services/apiClient.tssrc/services/image-editor/*src/components/image-editor/ImageCanvasWorldView.tsx(虽符合 prettier 配置,但属另一个应用的代码,建议拆出);另外 generated/DirectThreadRequestKind.ts 是 ts-rs 生成文件,手工改格式下次 export_bindings 会回弹。
  2. App.tsx 残留 const planningLaneActive = designAgentActive 别名(9 处使用),退役命名建议一并改掉。
  3. agent-runtime/model.tsplanning_invalid / gdd 结构无效 / 策划输出格式 的错误映射在后端已无可达来源,按四不写应删。
  4. view/project-development/index.tsx:2849 注释仍写「GDD 审批」,审批卡已删,措辞过时。
  5. 行为变化待确认:含旧 .agent/planning-v2 会话的存量项目现在静默新开 Design 会话(原逻辑会给「此项目包含旧策划会话」的明确报错)。无数据丢失,如属预期可忽略。
## 审查结论(rm/design-v2 → master,HEAD 90b707727) 策划 V1/V2 退役本体做得干净彻底:Rust 三模块(planning_session_v2 / planning_policy_v2 / planning_gdd_model)、4 个 Tauri 命令、`.agent/planning/**` 与 `game/fast_gdd.md` 的写入保护门(patchset / file_ops / checkpoint / filesystem)、前端 GDD 审批卡与策划会话状态、测试夹具、docs 与共享记忆同步,删除边界一致,符合"四不写"。**但当前分支不可合并**:最近两次合入 master 时的冲突解决把 master 的 Direct 前端新架构回退成了旧版,前端测试大面积失败。 ### 阻塞项 **1. 合并冲突解决回退了 master 的 Direct 前端架构(#384「保留唯一的 thread manager 作为状态来源」及后续过程折叠 / 计时 PR)** 合并提交 bd40ca45f / 945b3efa6 在冲突文件上整体取了分支侧旧版本: - 删除了 master 现役模块:`directThreadChat.ts`、`directHistoryPaging.ts`、`directHistoryAnchorGate.ts`、`directThreadItemProjection.ts` - `directThreadEvents.ts` 从 ts-rs 生成绑定的纯转发退回手写类型(违背「字段增删必须改 Rust」的现行约定) - `directTurnPresentation.ts`、`toolCallGroupPresentation.ts`、`ProjectSupervisorView.tsx`、`tests/appSurface/harness.ts` 均为旧版实现 - 而测试保留了 master 新版 → 本地实测:**appSurface 43 个失败 + directTurnPresentation 12 个失败**(`resolveToolGroupTiming is not a function`、`buildDirectChatTurns is not a function`、`directHarness.emitDirectThreadEvents is not a function`,另有多条 5s 超时) 这些文件与策划退役无关,建议重做这两次合并的冲突解决、Direct 相关文件取 master 侧;若确有意回退 #384,需同步删除/重写对应测试并在 PR 说明中写明。 **2. CI 无全绿**:8e6fb7d078(09-15)之后的合并均未跑完,最新 run 2496 仍在排队,按上述结果 web tests 必失败。合前需要一次全绿。 ### 非阻塞建议 3. 混入与本 PR 无关的格式化改动:仓库根 `src/services/apiClient.ts`、`src/services/image-editor/*`、`src/components/image-editor/ImageCanvasWorldView.tsx`(虽符合 prettier 配置,但属另一个应用的代码,建议拆出);另外 `generated/DirectThreadRequestKind.ts` 是 ts-rs 生成文件,手工改格式下次 `export_bindings` 会回弹。 4. `App.tsx` 残留 `const planningLaneActive = designAgentActive` 别名(9 处使用),退役命名建议一并改掉。 5. `agent-runtime/model.ts` 中 `planning_invalid` / `gdd 结构无效` / `策划输出格式` 的错误映射在后端已无可达来源,按四不写应删。 6. `view/project-development/index.tsx:2849` 注释仍写「GDD 审批」,审批卡已删,措辞过时。 7. 行为变化待确认:含旧 `.agent/planning-v2` 会话的存量项目现在静默新开 Design 会话(原逻辑会给「此项目包含旧策划会话」的明确报错)。无数据丢失,如属预期可忽略。
lhk229 changed title from WIP: 删除策划agent v2 to WIP: 删除策划agent v2,删除supervisor 2026-09-18 18:42:43 +08:00
lhk229 changed title from WIP: 删除策划agent v2,删除supervisor to WIP: 删除策划agent v2,删除supervisor,与退役功能解耦 2026-09-18 18:46:54 +08:00
Author
Owner

这个pr的工作量已经太大了,彻底解耦supervisor需要另开

这个pr的工作量已经太大了,彻底解耦supervisor需要另开
lhk229 added 2 commits 2026-09-18 19:39:49 +08:00
Design Agent 激活时不再渲染旧总控运行状态面板。
在现有策划会话测试中补充总控状态面板不显示的断言。
恢复合并中被回退的 Direct 前端架构
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
8909b18a15
恢复主分支的线程事件消费、聊天投影、历史锚点与分页模块。
恢复过程折叠、工具卡片计时以及对应测试和测试桩。
保留策划 V1/V2 退役清理及 Design Agent 总控面板修复。
修正 Direct 验证文档中的测试入口。
验证通过:60 个 Direct 单元测试、69 个相关界面测试、4 个 Design Agent 测试及静态检查。
完整界面测试仍有 8 个资源 UI 测试失败,涉及旧卡片断言和提示词输入方式,本次未修改。
lhk229 marked the pull request as ready for review 2026-09-18 19:45:58 +08:00
lhk229 added 1 commit 2026-09-18 19:47:47 +08:00
修复资源界面测试并清理退役策划残留
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 5m57s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 5m26s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 2m10s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 5m21s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m15s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 4m32s
Project CI / Backend tests (pull_request) Successful in 9m36s
Project CI / Repository checks (pull_request) Successful in 9m13s
Project CI / Frontend tests (pull_request) Successful in 9m42s
Project CI / Native shell tests (pull_request) Successful in 11m55s
Project CI / AI game creator shell web tests (pull_request) Successful in 7m59s
43b7396909
更新资源卡片断言与 Lexical 提示词输入,恢复生成任务异步状态及轮询收尾验证。
删除旧策划别名和不可达错误映射,更新阶段审批注释。
保留旧项目无报错新开 Design 会话并继续的行为。
资源界面修复后完整界面测试 448 通过、17 跳过;审查清理后 Runtime 模型 27 项及 Design Agent 4 项测试通过,类型和配置检查通过。
Author
Owner

复审结论(HEAD 43b739690)

上一轮阻塞项已全部解决,本地独立验证通过,LGTM,待 CI 全绿后可合并

阻塞项复核

1. Direct 前端架构恢复 (8909b18a1)

directThreadEvents.tsdirectTurnPresentation.tstoolCallGroupPresentation.tsdirectThreadChat.ts 已与 origin/master 逐字节一致;harness.ts 剩余差异仅为策划 GDD 测试夹具删除(正确)。本地从仓库根目录全量跑 shell 前端测试:154 个文件、1928 通过 / 0 失败 / 22 跳过,其中 appSurface 448 通过 17 跳过、directTurnPresentation 全过,与提交说明一致。

2. CI:43b739690 各检查当前均为 pending,等一次全绿即可。

非阻塞项复核

  • 格式化保留:收到,撤回拆分建议。
  • planningLaneActive 别名 已删(43b739690)。
  • 不可达的 planning_invalid / GDD 错误映射 已删(43b739690)。
  • 「GDD 审批」过时注释 已改(43b739690)。
  • 旧项目静默新开 Design 会话:提交说明已明确为有意保留,关闭此项。
  • 顺带确认:5a712910b 的总控状态面板收口正确,designAgentActive = Boolean(designView || onDesignApprove) 的推导与设计 Agent 面板逻辑一致。

保留验证结果

  • 策划退役边界未受恢复影响:start_planning_session_v2 等 4 个命令、PLAN_FAST_GDD_PATHplanningSessionV2.tsGddApprovalCard.tsx 等均已删除且无残留引用。
  • tsc --noEmitskill-pack:checkcheck-config.mjsgit diff --check 全部通过。
  • 当前 PR 规模 91 文件 +652/−9643,删除主体清晰。

一个小提醒(不阻塞):generated/DirectThreadRequestKind.ts 是 ts-rs 生成文件,后续重新 export_bindings 时若格式回弹,重新过一遍 prettier 即可。

## 复审结论(HEAD 43b739690) 上一轮阻塞项已全部解决,本地独立验证通过,**LGTM,待 CI 全绿后可合并**。 ### 阻塞项复核 **1. Direct 前端架构恢复 ✅(8909b18a1)** `directThreadEvents.ts`、`directTurnPresentation.ts`、`toolCallGroupPresentation.ts`、`directThreadChat.ts` 已与 origin/master 逐字节一致;`harness.ts` 剩余差异仅为策划 GDD 测试夹具删除(正确)。本地从仓库根目录全量跑 shell 前端测试:**154 个文件、1928 通过 / 0 失败 / 22 跳过**,其中 appSurface 448 通过 17 跳过、directTurnPresentation 全过,与提交说明一致。 **2. CI**:43b739690 各检查当前均为 pending,等一次全绿即可。 ### 非阻塞项复核 - 格式化保留:收到,撤回拆分建议。 - `planningLaneActive` 别名 ✅ 已删(43b739690)。 - 不可达的 `planning_invalid` / GDD 错误映射 ✅ 已删(43b739690)。 - 「GDD 审批」过时注释 ✅ 已改(43b739690)。 - 旧项目静默新开 Design 会话:提交说明已明确为有意保留,关闭此项。 - 顺带确认:5a712910b 的总控状态面板收口正确,`designAgentActive = Boolean(designView || onDesignApprove)` 的推导与设计 Agent 面板逻辑一致。 ### 保留验证结果 - 策划退役边界未受恢复影响:`start_planning_session_v2` 等 4 个命令、`PLAN_FAST_GDD_PATH`、`planningSessionV2.ts`、`GddApprovalCard.tsx` 等均已删除且无残留引用。 - `tsc --noEmit`、`skill-pack:check`、`check-config.mjs`、`git diff --check` 全部通过。 - 当前 PR 规模 91 文件 +652/−9643,删除主体清晰。 一个小提醒(不阻塞):`generated/DirectThreadRequestKind.ts` 是 ts-rs 生成文件,后续重新 `export_bindings` 时若格式回弹,重新过一遍 prettier 即可。
lhk229 requested review from k88936 2026-09-18 20:06:57 +08:00
lhk229 requested review from suzmii 2026-09-18 20:06:58 +08:00
lhk229 added 1 commit 2026-09-19 00:09:29 +08:00
修复回归
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 7m15s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 7m22s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 7m22s
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 7m45s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
e69865a3b5
Member

close #424

close #424
Member

这个分支没有删除 supervisor。它删的是策划 V2(立项策划)整条链,外加 supervisor 里只服务旧策划的那几条入口/分支。supervisor 本体——总控壳、总控 Runtime、总控对话面板、chat-only 视图、16 Agent DAG——一行都没删。

那个supervisor在我那里删吧

> 这个分支没有删除 supervisor。它删的是策划 V2(立项策划)整条链,外加 supervisor 里只服务旧策划的那几条入口/分支。supervisor 本体——总控壳、总控 Runtime、总控对话面板、chat-only 视图、16 Agent DAG——一行都没删。 那个supervisor在我那里删吧
lhk229 added 1 commit 2026-09-20 13:29:50 +08:00
合并最新主分支并保留策划 Agent 解耦清理
Project CI / AI game creator shell web tests (pull_request) Waiting to run
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 7m32s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 7m40s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 7m41s
Project CI / Backend tests (pull_request) Has started running
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 7m49s
Project CI / Native shell tests (pull_request) Has started running
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m50s
Project CI / Frontend tests (pull_request) Has started running
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m23s
Project CI / Repository checks (pull_request) Has started running
1617213a87
合入 master 的资源类型枚举、编辑器插件、项目快照和发布渠道更新。

保留策划 V1/V2 退役结果,并整合模板建项竞态保护。

解决策划入口及文档冲突,保留当前 Design Agent 与 DirectCodex 链路。
Some checks are pending
Project CI / AI game creator shell web tests (pull_request) Waiting to run
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 7m32s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 7m40s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 7m41s
Project CI / Backend tests (pull_request) Has started running
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 7m49s
Project CI / Native shell tests (pull_request) Has started running
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m50s
Project CI / Frontend tests (pull_request) Has started running
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m23s
Project CI / Repository checks (pull_request) Has started running
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rm/design-v2:rm/design-v2
git checkout rm/design-v2
Sign in to join this conversation.