AGC 七项交付效率优化并升级捆绑 Codex 到 0.155.1 #439

Merged
kdletters merged 4 commits from codex/agc-delivery-efficiency into master 2026-09-21 02:29:30 +08:00
Member

背景

净月潭案例(2026-09-19 21:53 → 09-20 01:26,3 小时 33 分)的问题不是模型慢,而是环境未就绪、验收靠模型自述、预算只约束单个工具入口、工具调用被 SDK 全局串行闸门卡住。本 PR 落地确认后的七项交付效率合同,并把捆绑 Codex 升到当前 npm latest。

结果

  • 新建 Web 游戏在正式生成前由宿主自动预检:捆绑 Node/npm、真实 Vite 构建、受限浏览器桌面/移动截图;失败不启动生成或付费素材。
  • 首个副作用前冻结交付合同,宿主保存权威证据与预算;证据齐全后先封口、排空并取得执行器完整退出证明,再产出交付报告,模型回复不再当作验收。
  • 原生 shell、内置浏览器与托管命令、第三方 MCP 共用同一执行许可和累计执行时间;validation.maxRuns 改为执行/返修批次语义,另设 maxTurnSeconds 墙钟上限。
  • 所有工具可并发:移除 SDK 全局串行的 apply_patch/update_plan 注册,改由宿主 agc_apply_patch(官方 parser + 当前回合写许可 + 受控进程树 + 短项目事务)和 agc_update_plan 提供等价能力;真实请求目录里已无串行注册,长 MCP 与补丁/计划实测在同一响应内重叠。
  • 付费提交与本地写入绑定原回合原租约:容量与同动作锁等待可取消,封口、取消或预算耗尽后零新增提交;已越过提交边界的请求保留 operation ID 走 GET 对账,不自动重放。
  • 新增请求与工具分段计时、有界并行批读和首轮上下文预取,未知耗时不补零。
  • 捆绑 Codex 0.147.0 → 0.155.1:固定版本收敛到 build_support/codex_bundle.rs 单一声明,vendor 解析源码按 rust-v0.155.1 逐字节重取并更新 UPSTREAM 证据,适配 0.155 统一 exec(exec_command/write_stdin);macOS 侧车最小系统版本仍为 15.0。

验证

  • 生产 CLI → 捆绑 Codex 0.155.1 → 本地 Responses/MCP 夹具 9/9:补丁、完成收尾、批次、只读/可写 MCP 并发、原生命令并发、原生资源并发、统一 exec 会话、期限终止(真实重叠 775 / 764 / 999 ms)。
  • 真实模型目录 2/2;vendor 上游库 111 项;宿主定向与回归 106 项;真实 Windows 进程与取消 21 项;Node 侧门禁 52 项。
  • 发行载荷:artifact-only 重建 NSIS,解包验证侧车清单 codex-cli 0.155.1、6 个组件哈希、打包后 bin/codex.exe --version、Node 运行时 2130 文件与双端 PNG、--environment-check ready。
  • check-config、TypeScript、编码(4991 文件)、文档索引、git diff --checkcargo fmt --check 全部通过。

未覆盖

  • 真实陶泥儿登录态 Provider 生成尚未执行(本机 --llm-status 返回 authentication-required)。
  • macOS 侧车只在本机做静态 Mach-O 与清单解析,未在 macOS 上跑 check-macos-bundle.mjs
  • 全仓库聚合套件在本机仍因负载敏感的后台 mock-provider 用例而红,与本次改动无关:改动前的旧二进制同样失败,换单线程后相关用例 3/3 通过。
## 背景 净月潭案例(2026-09-19 21:53 → 09-20 01:26,3 小时 33 分)的问题不是模型慢,而是环境未就绪、验收靠模型自述、预算只约束单个工具入口、工具调用被 SDK 全局串行闸门卡住。本 PR 落地确认后的七项交付效率合同,并把捆绑 Codex 升到当前 npm latest。 ## 结果 - 新建 Web 游戏在正式生成前由宿主自动预检:捆绑 Node/npm、真实 Vite 构建、受限浏览器桌面/移动截图;失败不启动生成或付费素材。 - 首个副作用前冻结交付合同,宿主保存权威证据与预算;证据齐全后先封口、排空并取得执行器完整退出证明,再产出交付报告,模型回复不再当作验收。 - 原生 shell、内置浏览器与托管命令、第三方 MCP 共用同一执行许可和累计执行时间;`validation.maxRuns` 改为执行/返修批次语义,另设 `maxTurnSeconds` 墙钟上限。 - 所有工具可并发:移除 SDK 全局串行的 `apply_patch`/`update_plan` 注册,改由宿主 `agc_apply_patch`(官方 parser + 当前回合写许可 + 受控进程树 + 短项目事务)和 `agc_update_plan` 提供等价能力;真实请求目录里已无串行注册,长 MCP 与补丁/计划实测在同一响应内重叠。 - 付费提交与本地写入绑定原回合原租约:容量与同动作锁等待可取消,封口、取消或预算耗尽后零新增提交;已越过提交边界的请求保留 operation ID 走 GET 对账,不自动重放。 - 新增请求与工具分段计时、有界并行批读和首轮上下文预取,未知耗时不补零。 - 捆绑 Codex 0.147.0 → 0.155.1:固定版本收敛到 `build_support/codex_bundle.rs` 单一声明,vendor 解析源码按 `rust-v0.155.1` 逐字节重取并更新 UPSTREAM 证据,适配 0.155 统一 exec(`exec_command`/`write_stdin`);macOS 侧车最小系统版本仍为 15.0。 ## 验证 - 生产 CLI → 捆绑 Codex 0.155.1 → 本地 Responses/MCP 夹具 9/9:补丁、完成收尾、批次、只读/可写 MCP 并发、原生命令并发、原生资源并发、统一 exec 会话、期限终止(真实重叠 775 / 764 / 999 ms)。 - 真实模型目录 2/2;vendor 上游库 111 项;宿主定向与回归 106 项;真实 Windows 进程与取消 21 项;Node 侧门禁 52 项。 - 发行载荷:artifact-only 重建 NSIS,解包验证侧车清单 `codex-cli 0.155.1`、6 个组件哈希、打包后 `bin/codex.exe --version`、Node 运行时 2130 文件与双端 PNG、`--environment-check` ready。 - `check-config`、TypeScript、编码(4991 文件)、文档索引、`git diff --check`、`cargo fmt --check` 全部通过。 ## 未覆盖 - 真实陶泥儿登录态 Provider 生成尚未执行(本机 `--llm-status` 返回 `authentication-required`)。 - macOS 侧车只在本机做静态 Mach-O 与清单解析,未在 macOS 上跑 `check-macos-bundle.mjs`。 - 全仓库聚合套件在本机仍因负载敏感的后台 mock-provider 用例而红,与本次改动无关:改动前的旧二进制同样失败,换单线程后相关用例 3/3 通过。
kdletters added 1 commit 2026-09-21 01:08:45 +08:00
AGC 七项交付效率优化并升级捆绑 Codex 到 0.155.1
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 16s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 18s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 18s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Failing after 16s
Project CI / AI game creator shell Rust smoke (pull_request) Failing after 12s
Project CI / AI game creator shell Rust crates (pull_request) Failing after 16s
Project CI / Backend tests (pull_request) Failing after 21s
Project CI / Native shell tests (pull_request) Failing after 20s
Project CI / Frontend tests (pull_request) Failing after 8s
Project CI / AI game creator shell web tests (pull_request) Failing after 17s
Project CI / Repository checks (pull_request) Failing after 17s
8a8d94c14a
- 自动环境预检接入首页与 Direct 后端:新建 Web 游戏在生成前完成 Node/npm、真实构建与双端浏览器检查
- 新增宿主权威执行账本与交付合同:冻结核验项、绑定当前输入证据、封口后拒绝新副作用并产出宿主报告
- 原生 shell、内置浏览器/托管命令与第三方 MCP 共用执行许可和累计执行时间预算,按执行批次与墙钟分别约束
- 新增固定种子 runner 物理基线、真实双端输入与公平窗口负例,可复用且不冒充完整关卡
- 新增请求与工具分段计时、有界并行批读和首轮上下文预取,未知耗时不补零
- 移除 SDK 全局串行的 apply_patch/update_plan 注册,改由宿主 agc_apply_patch/agc_update_plan 提供等价能力,独立工具可并发
- 付费提交与本地写入绑定原回合租约:封口、取消或耗尽后零新增提交,已受理操作保留 GET 对账
- 捆绑 Codex 由 0.147.0 升级到 0.155.1,固定版本收敛到 build_support/codex_bundle.rs,vendor 解析源码按 rust-v0.155.1 重取并更新 UPSTREAM 证据
- 适配 0.155 统一 exec(exec_command/write_stdin),生产夹具新增会话用例,宿主 Job 与期限约束保持有效
- 同步更新 AGC 主规范、Skill 与提示词、共享记忆和发行载荷校验
kdletters added 1 commit 2026-09-21 02:00:30 +08:00
合并 master 到 AGC 交付效率分支
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
648223aa4c
- 合并 master 的模型使用记录、Godot 编辑器接入与 macOS universal 发布管线
- 保留本次的请求/工具分段计时与 master 的模型用量观测:同一响应流同时统计耗时并观测型号,归属在读取请求体前冻结
- 保留本次的宿主执行许可分类与并行调度,补上 master 新增的 agc_godot_execute 执行许可与分派
- Skill 包文件表合并双方新增项到 23 项,保留双方的 Skill 校验测试
- macOS 侧车校验同时采用 master 的产品名推导与本次的锁定版本来源,避免版本字面量漂移
- 目录真实用例的拉取次数断言改为有界区间:SDK 自带瞬时重试不再造成负载相关偶发失败,来源真伪仍由字段断言证明
- 合并后重跑编译、定向测试、九项生产夹具与发行载荷 smoke
kdletters added 1 commit 2026-09-21 02:02:24 +08:00
再次合并 master 到 AGC 交付效率分支
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
78d588545a
- 合并 master 的项目列表状态隔离与客户端渠道、错误报告展示修复
- 决策日志保留本次 DirectProject 交付收敛条目与 master 的最近项目隔离条目
- 修正上一轮合并中被 lint-staged 回滚的 codex_provider_proxy 结构(重复 impl 头与重复 use),该文件现在与验证过的源码一致
kdletters added 1 commit 2026-09-21 02:29:23 +08:00
Merge branch 'master' into codex/agc-delivery-efficiency
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 8m2s
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 smoke (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
e710b0abc8
kdletters merged commit 485ed50b26 into master 2026-09-21 02:29:30 +08:00
kdletters deleted branch codex/agc-delivery-efficiency 2026-09-21 02:29:30 +08:00
Sign in to join this conversation.