Skip to content

chore(upstream): sync Codex 0.172.0 - #303

Merged
sunerpy merged 1067 commits into
mainfrom
upstream-sync/0.172.0
Nov 30, 2026
Merged

sunerpy merged 1067 commits into
mainfrom
upstream-sync/0.172.0

Conversation

@sunerpy

@sunerpy sunerpy commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

把 Codex rust-v0.172.0(3d86e43b07)同步到 Zuno main(70e9610049)。0.166.0 之后上游发了 0.167.0、0.167.1、0.167.2、0.168.0、0.169.0、0.169.1、0.170.0、0.171.0、0.172.0 九个正式版(1064 个提交,4090 个文件)。巡检按 next 策略逐个重放,从 11-06 起一直停在 0.167.0 的冲突 issue #302。这次直接同步最新的 0.172.0(policy: newest),所以 0.167–0.171 不会有对应的 Zuno 版本。这是手工解决的候选,需要手工合并。

Closes #302

改名重放

沿用 main 上的规则:

  • 自动解决 53 个纯改名冲突,结构性合并 8 个;
  • 删除 2 个上游删掉的快照,刷新 43 个改名文件,改名 19 个上游新增的快照;
  • 24 处没有谓词担保的改写进了 review,已逐条核对,全部保留。新增的 Windows 沙箱服务提示写 "Zuno sandbox service",与同文件已有的 "Zuno sandbox rules" 一致(服务名本身仍是持久身份 CodexSandboxService)。

合并时丢失或漏掉的改名(重放覆盖不到,逐项补回)

  • models-manager/models.json:catalog 里多个模型的指令有大量相同的行,git 的行对齐因此出错,gpt-5.6-terra 的指令被静默换回 "You are Codex"(没有冲突提示)。新增的 gpt-6.2-sol、gpt-6.2-astra 和 0.166.0 漏掉的 gpt-6.1-terra 也自称 Codex,$CODEX_HOME 同样残留。这四行按 FORK_REBRAND.toml 规则改写;其余条目与"规则改写后的上游"逐条一致,只保留 Zuno 有意的两处差异(gpt-5.5 的 "vivid inner life as Zuno"、Codex Auto Review 的名称与描述)。
  • 上游把附件错误提示从 protocol/src/models.rs 挪进新 crate user-input,Zuno 的 "Zuno could not read the local …/Zuno cannot attach …" 随之变回 Codex。运行时文案与 user-input、core/tests/suite/client.rs 的断言一起改回 Zuno。
  • 上游新测试仍按 Codex 文案断言,而对应的运行时文案在 Zuno 里早已改名,断言改为 Zuno:ext/guardian-reviewer/src/prompt_tests.rs("The Zuno agent has requested …",提示词由 guardian-context 生成)、guardian-context/src/trusted_tool_tests.rs 两条("Zuno verified that this exact …")、exec/tests/suite/mcp_required_exit.rs(zuno exec --trust)、exec/tests/suite/cyber_access_program_tests.rs(zuno exec review)。
  • 新的 Windows MXC 诊断路径(mxc-sandbox/src/lib.rs)读 CODEX_HOME 并默认 ~/.codex,边界脚本拦下,改为 ZUNO_HOME / ~/.zuno。app-server-client/src/remote_addr.rs 的报错与 config/src/types.rs、model-provider-info/src/oauth_session.rs 的文档注释同步改为 ZUNO_HOME(后两处进入 config.schema.json)。
  • 上游新增的 7 处测试仍用 CODEX_HOME 给子进程隔离主目录,改为 ZUNO_HOME:app-server/tests/suite/v2/config_server_tests.rs、app-server/tests/suite/v2/mcp_server_status.rs(写进 environments.toml 的 [environments.env])、cloud-tasks/src/backend_auth_tests.rs ×2、core/tests/suite/scenarios_multi_environment_mcp.rs、core/tests/windows_sandbox/repository_skills_tests.rs、exec-server/src/fs_sandbox.rs。mcp_server_status_keeps_same_named_environment_inventory_separate 因此从挂起 240 秒变为 8 秒通过:两个环境的 exec-server 原来共用继承来的主目录。

剩余冲突

  • .github/CODEOWNERS:保持 Zuno 的 * @sunerpy。
  • app-server/src/config_manager_service.rs:取上游的 ConfigToml::try_from(共享的反序列化器),不恢复上游对 untrusted 的拒绝(Zuno 严格模式)。
  • cli/src/main.rs:run_update_action 保持 Zuno 的禁用提示;agents 子命令里上游删掉的 workload identity/remote 检查随上游删除。
  • core/src/realtime_prompt.rs:上游把它并进 prompts/src/realtime.rs,随上游删除,Zuno 的 "You are Zuno, a general-purpose agentic assistant" 断言搬到新位置。
  • 38 个快照(35 个 core 场景、2 个 guardian、1 个 tui)先取上游结构,再按 Zuno 文案重新渲染,insta 头部保持上游原样。

适配

  • 单文件二进制(cli/src/embedded_code_mode_host.rs):上游 #62476 删除了旧的分帧 stdio 协议和 run_stdio(),core 现在固定用 --listen grpc+stdio:// 启动 host。内嵌 host 改为调用 run_main,接受 --listen <URL> / --listen=<URL>(默认 grpc+stdio://),其他参数直接报错,避免静默跑错协议。这个模块只在 musl 目标编译,gnu 的检查看不到,已在本机构建 musl 单文件并冒烟。
  • 工具链:上游升到 Rust 1.99.1。zuno-ci.yml(3 处)和 zuno-upstream-sync.yml 的 dtolnay/rust-toolchain 换成上游同款 d124f86f… # 1.99.1,否则 musl、x86_64-apple-darwin、aarch64-pc-windows-msvc 这些交叉目标的 std 会装到 1.95.0 上。README 与严格模式文档的构建命令同步改为 1.99.1。边界脚本新增检查:工作流里的工具链注释必须等于 codex-rs/rust-toolchain.toml 的 channel。
  • ext/agent/src/one_shot.rs:上游统一了沙箱接口(transform_for_direct_spawn / SandboxDirectSpawnTransformRequest 移除),改用 SandboxManager::transform + WrappedSandboxCommand::into_direct_command,语义不变。
  • app-server-daemon:LifecycleCommand::Start 变成带 feature_overrides 的变体,fail-closed 拦截与测试改为 Start { .. };上游把 start_with_features 拆成委派给 start_with_features_classified 的薄包装(TUI 直接调用后者),守卫放在后者,边界脚本改为检查它并要求前者只做委派。
  • zuno agents:上游让 agents overview 一律尝试自动启动托管 daemon,在 Zuno 里会撞上 fail-closed,TUI 启动即报错。去掉 cli.agents_overview ||,与"交互式启动留在内嵌 app server"的约定一致;daemon_auto_start 仍默认关闭,边界脚本拒绝上游原文。
  • zuno-acp:映射新的 ThreadStreamDisconnected / ThreadStreamReconnected(只来自 Cloud 后端,记日志,桥接不断开)。InProcessClientStartArgs 新增的 required_human_approval 设为 false:桥接还不能回答受管命令检查点(humanCommand),这类命令在 ACP 下会被拒绝(fail closed),已写进 docs/zuno-acp*.md。
  • zuno-workflows:ProcessOwnedCodeModeSessionProvider 被移除,tests/v8_process.rs 改用 codex_core::ProcessOwnedGrpcCodeModeSessionProvider(codex-core 作为 dev-dependency)。
  • 工作流结果被截断:0.172.0 默认开启 code_mode_host_output_truncation,core 内置的 provider 改成 Server 截断模式。javascript/v1 工作流把脚本结果当 JSON 解析,超过约 1 万 token 就会被截断成非法 JSON、运行失败。工作流会话改为显式请求 CodeModeOutputTruncation::Client。
  • 工作流账本泄露密钥:上游 #59787 新增 gateway_oauth.credential_export,它的 args 是 RedactedString(序列化为原文)。Zuno 的 route binding 会把整个 provider 配置写进 zuno_workflows_1.sqlite,这些参数会明文落盘,违反"凭据不进入 workflow binding ledger"的约定。现在与 aws.credential_export.args 一起脱敏,测试用真实的 GatewayOAuthConfig 序列化覆盖。已有排队 run 的绑定 digest 会因此变化,恢复时按设计 fail closed。
  • cli/src/daemon_update_tests.rs:上游新测试断言 pnpm 更新会执行,与 Zuno 禁用更新冲突;改为断言更新被禁用、pnpm 从未运行。
  • 严格模式:docs/zuno-server-strict*.md 写明上游新增的 zuno exec --remote 以 never 运行,恢复线程时这个策略会沿用到该线程之后的 turn。边界脚本新增检查:重放不能把上游对 untrusted 的拒绝带回 core/src/config/mod.rs、app-server/src/lib.rs、config_manager.rs、config_manager_service.rs;FORK_DELTA 补上 config_manager.rs。
  • 上游代码在 Zuno 门禁下的告警:app-server/tests/suite/v2/sleep.rs 三个未使用的 import、core/src/session/session.rs 一处 collapsible_if(clippy 1.99 的 -D warnings 对依赖的工作区 crate 同样生效)。

派生产物

cargo update --workspace(第三方依赖与上游 Cargo.lock 完全一致,只多 Zuno 自己的 crate 和版本号);write_schema_fixtures.py 跑两次(UV_PYTHON=3.12);codex-write-config-schema。上游把 v8 git 依赖换到 openai-oss-forks/rusty_v8@90a65f88,预编译包 152.2.0 与校验清单不变。

本地验证

  • 全工作区 cargo check --all-targets 通过(排除需要 GStreamer 的 codex-voice-host);cargo xwin check(x86_64-pc-windows-msvc:zuno、codex-command-runner、codex-windows-sandbox-setup、codex-exec-server、codex-agent-extension、zuno-acp、zuno-workflows、codex-mxc-sandbox)通过,没有告警。
  • 门禁 static job 的各项在本地全部通过:CI 定向测试清单 14 条、cargo check --release -p codex-cli --bin zuno、8 个包的 clippy --all-targets -D warnings、cargo fmt --check、边界脚本、Python 工具测试、codex_package 测试、actionlint。
  • tui、app-server、cli 以及本次改到的另外 16 个 crate,共 11443 个测试:首跑 103 个失败、42 个超时(另一个会话的 Godot 占了约 6 核)。
    • 95 个在同环境的 main 基线上同样失败(受管 daemon 拦截、daemon_update_recovery 给子进程传 CODEX_HOME、doctor 快照与超时、ide_context::ipc、更新提示快照等)。
    • 其余 50 个用 8 线程、4 分钟上限重跑:45 个通过(负载超时);4 个 exec-server shell_snapshot 沙箱测试在本机 0.160.0 的全量里就同样失败(Read-only file system);1 个是上面修掉的 mcp_server_status。
    • 3 个按设计失败:测试先启动受管 daemon,被 Zuno 拦下(daemon mutation is disabled)。
    • 修复:上面列出的测试断言与 CODEX_HOME;11 个快照按 Zuno 文案重新渲染(只换正文):zuno__ doctor/exec-server 帮助与 codex__ 版一致,2 个 doctor_enterprise_network 与 startup_draft_full_frames 的版本号随 0.172.0 更新,thread_sample 的 openai-docs skill 描述本来就写 "Codex/Work"(review 里那处改写是错的,已按 skill 原文渲染)。
  • codex-core 全量 6360 个测试:首跑 76 个失败、1 个超时。
    • 52 个场景/guardian 快照重新渲染:只有 Zuno 文案、hash、"Zuno" 少一个字导致的截断位置与 token 估计(~4851 → ~4850)差异;新渲染里没有残留 "You are Codex"。其中 5 个 guardian direct review 快照被前面的断言挡住:测试把 "Reviewed Codex session id" 归一化,Zuno 的文案是 "Reviewed Zuno session id",归一化改为 Zuno 后才走到快照。
    • 重跑全部 77 个:57 个通过;20 个是本机已知的红灯族(agent control ×3、compact model_switch ×5、network_rejection ×3、pending_input reloaded ×4、multi_agents ×2)和 10 秒事件超时的偶发失败(remote_slash_compact、catalog_plugin_guidance、model_runtime_selectors::migrating_only_the_project_agent_setting_preserves_v1_tools;最后一个默认配置下重试即通过,纯上游 0.172.0 同环境 37 秒通过,候选 31 秒通过)。
    • agent_message_board 的两个测试需要预先构建新的 codex-message-board-mcp 二进制,构建后通过。
  • 本机构建 musl 单文件二进制(static-pie,zuno 0.172.0,sha256 f35e2c1e…):
    • zuno_standalone_smoke.py 在本机和断网的 python:3.13-slim 里都通过:严格模式拒绝后命令未执行,never 对照执行,持久终端的 write_stdin 再次审批且未执行,code_mode_only 模型经内嵌 host(code_mode_host: embedded,gRPC)调用 exec_command 仍弹出审批;
    • 空 scratch 镜像里 --version 输出 zuno 0.172.0;
    • zuno_standalone_live_check.py 对本机 Kiro(gpt-5.6-sol,code_mode_only)通过:批准的 ls -la 执行了,拒绝的 NOTE.txt 修改没有发生。

门禁

  • Windows 打包内存不足:首轮门禁里两个 Windows 打包 job 都在 codex-app-server 与 codex-tui 同时做 LTO 编译时报 rustc-LLVM ERROR: out of memory(15 GB 的 large 容器,CARGO_BUILD_JOBS=2)。release profile 与 0.166.0 相同,是这两个 crate 变大了。ba7400a449 先试了失败后以单任务重试:重试本身能编过,但最终链接的 ThinLTO 只剩一个线程,两条腿都在 180 分钟上限被取消(attempt 2)。c72ac0fca1 改为和 Linux 一样用 instance-size:xlarge(72 GB、36 vCPU)和 8 个并行任务,并去掉重试。按 us-east-2 按需价,Windows 每分钟从 $0.036 变为 $0.16。
  • macOS 打包:us-east-2 的共用 Mac fleet 自 2026-11-07 起申请不到实例(INSUFFICIENT_CAPACITY),macOS job 暂时改由 us-east-1 的同名 CodeBuild 项目 zuno-runner-macos 承接,工作流没有改动。首轮 run 因此取消,以 attempt 2 重跑;改用 xlarge 后是新的 run。

改名重放明细(prepare 报告)

FORK_REBRAND.toml resolved 53 rename-only conflicted paths, merged 8 more structurally, kept 0 Zuno documents that upstream deleted, removed 2 paths that upstream deleted, refreshed 43 rebranded paths with new upstream text, rebranded 19 new upstream snapshots, and reused 0 edits from the previous candidate. 1 paths still carry markers for hunks it could not resolve.

Resolved conflicts (53)
  • codex-rs/cli/src/doctor/network.rs
  • codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap
  • codex-rs/cli/src/mcp_cmd.rs
  • codex-rs/cli/tests/exec_server.rs
  • codex-rs/cli/tests/features.rs
  • codex-rs/cli/tests/rollout_trace.rs
  • codex-rs/config/src/config_toml.rs
  • codex-rs/config/src/requirements_exec_policy.rs
  • codex-rs/core/src/guardian/snapshots/codex_core__guardian__tests__network_access_guardian_prompt_layout.snap
  • codex-rs/core/src/guardian/tests.rs
  • codex-rs/core/src/tasks/mod.rs
  • codex-rs/core/tests/common/test_codex_exec.rs
  • codex-rs/core/tests/suite/hooks_executor.rs
  • codex-rs/core/tests/suite/realtime_conversation.rs
  • codex-rs/exec/src/cli.rs
  • codex-rs/exec/src/event_processor_with_human_output.rs
  • codex-rs/guardian-context/src/action.rs
  • codex-rs/guardian-context/src/composition.rs
  • codex-rs/guardian-context/src/trusted_tool.rs
  • codex-rs/models-manager/models.json
  • codex-rs/protocol/src/models.rs
  • codex-rs/tui/src/app/agents_overview.rs
  • codex-rs/tui/src/app/event_dispatch.rs
  • codex-rs/tui/src/app/startup.rs
  • codex-rs/tui/src/app/tests.rs
  • codex-rs/tui/src/app/tests/key_chords.rs
  • codex-rs/tui/src/app/tests/new_session_tests.rs
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap
  • codex-rs/tui/src/app/tests/startup_defaults_tests.rs
  • codex-rs/tui/src/bottom_pane/chat_composer.rs
  • codex-rs/tui/src/bottom_pane/feedback_view.rs
  • codex-rs/tui/src/chatwidget/replay.rs
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_denied_renders_denied_request.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_timed_out_renders_timed_out_request.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_startup.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__feedback_good_result_consent_popup.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__feedback_upload_consent_popup.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_exec_is_hidden_from_history.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__quick_dial_shortcuts_empty.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_delegated_tool_output.snap
  • codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__luna_reserve_usage_tests__luna_reserve_usage_narrow.snap
  • codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__luna_reserve_usage_tests__luna_reserve_usage_wide.snap
  • codex-rs/tui/src/clipboard_copy.rs
  • codex-rs/tui/src/daemon_startup.rs
  • codex-rs/tui/src/lib.rs
  • codex-rs/tui/src/lib_tests.rs
  • codex-rs/tui/src/onboarding/auth.rs
  • codex-rs/tui/src/onboarding/bedrock.rs
  • codex-rs/tui/src/onboarding/bedrock_tests.rs
  • codex-rs/tui/src/pets/image_protocol.rs
  • codex-rs/tui/src/slash_command.rs
  • codex-rs/tui/src/thread_transcript.rs
  • codex-rs/tui/tests/suite/provider_defaults.rs
Merged structurally (review) (8)
  • .github/workflows/rust-release.yml
  • codex-rs/app-server-daemon/src/launch.rs
  • codex-rs/app-server/src/config_manager.rs
  • codex-rs/core/src/thread_manager.rs
  • codex-rs/plugin/src/lib.rs
  • codex-rs/tui/src/app/exit_summary.rs
  • codex-rs/tui/src/app/tests/session_lifecycle_requests.rs
  • codex-rs/tui/src/goal_files.rs
Deleted with upstream (2)
  • codex-rs/tui/src/snapshots/codex_tui__app__agents_overview__tests__agents_daemon_started.snap
  • codex-rs/tui/src/snapshots/codex_tui__app__agents_overview__tests__agents_overview_embedded.snap
Refreshed rebranded files (43)
  • codex-rs/app-server/tests/suite/strict_config.rs
  • codex-rs/app-server/tests/suite/v2/sqlite_recovery.rs
  • codex-rs/cli/tests/cloud_auth.rs
  • codex-rs/cli/tests/exec_server/auth_refresh_tests.rs
  • codex-rs/cli/tests/mcp_list.rs
  • codex-rs/cli/tests/queue.rs
  • codex-rs/exec-server-cli/tests/standalone.rs
  • codex-rs/tui/src/app/feedback_upload.rs
  • codex-rs/tui/src/app/reconnect.rs
  • codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap
  • codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap
  • codex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap
  • codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs
  • codex-rs/tui/src/chatwidget/tests/status_and_layout.rs
  • codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_not_required.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snap
New upstream snapshots rebranded (19)
  • codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__shortcut_keyboard_owned_transcript.snap
  • codex-rs/tui/src/app/snapshots/codex_tui__app__sidebar_subagents__status__tests__watch_only_subagent.snap
  • codex-rs/tui/src/app/snapshots/codex_tui__app__tests__allocated_stream_table.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_exit_tests__embedded_exit_running_sessions.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__buffered_replay__steers_after_returning_to_a_running_turn.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__cloud_composer_receipts.snap
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__clear_context_plan_request.snap
  • codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_respect_system_proxy.snap
  • codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_tui_extensions_statusline.snap
  • codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_ultrafast_footer.snap
  • codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__delegated_message_list_spacing_in_scrollback_and_transcript.snap
  • codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_credentials_entry.snap
  • codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_setup_error_narrow.snap
  • codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__sign_in_menu_short_without_cloud_wizards.snap
  • codex-rs/tui/src/snapshots/codex_tui__app__tests__patch_approval_tests__patch_approval_expanded_inline.snap
  • codex-rs/tui/src/snapshots/codex_tui__device_login__tests__device_prompt_shows_where_to_enter_the_code_and_how_to_cancel.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cloud_server.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cloud_server_with_version.snap
  • codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server_without_version.snap
Partially resolved (markers remain) (1)
  • codex-rs/cli/src/main.rs
New upstream text rebranded, held for review (24)

Lines only upstream wrote or changed, rebranded by the rules in a structural merge or after the merge (only string literals in source files). No predicate vouches for them, so this candidate is not merged automatically: check each one is Zuno-facing text, and that the code or test on the other end of the string agrees (a fixture that mirrors a server response, or a message another crate still writes as Codex, must stay).

  • codex-rs/app-server/tests/suite/v2/snapshots/all__suite__v2__thread_sample__sample_inherits_parent_context.snap
    • - openai-docs: API first-timers, Zuno/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r0/openai-docs/SKILL.md) [hash=3bcb1206044c9862]
    • - openai-docs: API first-timers, Zuno/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r0/openai-docs/SKILL.md) [hash=3bcb1206044c9862]
    • - openai-docs: API first-timers, Zuno/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r0/openai-docs/SKILL.md) [hash=3bcb1206044c9862]
  • codex-rs/cli/src/doctor/sandbox.rs
    • "check that the Zuno sandbox service is running and let pending setup finish before retrying"
  • codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap
    • ✗ network provider is unreachable — A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in /experimentalor withzuno features enable respect_system_proxy. Restart Zuno after changing this setting.
  • codex-rs/cli/src/git_credential.rs
    • "Zuno Git authentication requires a file-backed ChatGPT login for this origin"
    • .map_err(|_| anyhow::anyhow!("Zuno authentication is unavailable"))?;
    • .map_err(|_| anyhow::anyhow!("Zuno authentication is unavailable"))?;
    • "Git cannot verify Zuno workspace policy using a protected login"
    • "Zuno workspace policy does not permit this Git login"
    • "Zuno login changed or expired while checking Git access"
    • anyhow::anyhow!("Zuno authentication configuration is unavailable")
  • codex-rs/cli/tests/app_server_proxy.rs
    • .env("ZUNO_HOME", dir.path())
    • .context("failed to run zuno app-server proxy")?;
    • "zuno app-server proxy exited with {}: {}",
  • codex-rs/cli/tests/shared_sandbox_launcher.rs
    • .env("ZUNO_HOME", home.path())
    • .env("ZUNO_HOME", home.path())
  • codex-rs/core/src/tasks/mod.rs
    • "Failed to save the conversation transcript; Zuno will continue retrying. Error: {err}"
  • codex-rs/core/tests/suite/snapshots/all__suite__scenarios__shared_instructions__shared_instructions_update_running_descendants.snap
    • You are Zuno, a coding agent based on GPT-5. You and the user share one workspace, and your job is to c...rate with them until their goal is genuinely handled. [hash=2a3efec66e7f8963]
  • codex-rs/exec/src/lib.rs
    • "warning: Untrusted project-local configuration is disabled. Run zuno exec --trust to allow project configuration and MCP servers for this and future chats in the project, including MCP commands outside the sandbox. Explicitly untrusted projects must have their trust setting updated first."
  • codex-rs/features/src/lib.rs
    • menu_description: "Use macOS or Windows system proxy settings for Zuno requests.",
  • codex-rs/tui/src/app/owned_transcript_tests.rs
    • || row.contains("Ask Zuno")
    • › Ask Zuno to do anything
  • codex-rs/tui/src/app/remote_control.rs
    • "Zuno could not verify that it manages the local background server.".to_string()
    • return Err("Zuno could not verify that it manages the local background server.".into());
    • return Err("Zuno could not verify that it manages the local background server.".into());
  • codex-rs/tui/src/app/tests/active_reconnect_tests.rs
    • "message": format!("session {id} is archived. Run zuno unarchive {id} to unarchive it first."),
  • codex-rs/tui/src/app/tests/session_lifecycle_requests.rs
    • › Ask Zuno to do anything
  • codex-rs/tui/src/app_server_connection.rs
    • color_eyre::eyre::bail!("Reopen Zuno to reconnect the cloud backend.");
  • codex-rs/tui/src/attachment_files.rs
    • codex_home.context("App server did not report $ZUNO_HOME; cannot create attachment")?;
  • codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs
    • Some("You can continue without this file or ask Zuno for an overview of "),
    • Some("You can retry without web search or ask Zuno for an overview of "),
    • let overview = "You can ask Zuno for an overview of ";
  • codex-rs/tui/src/device_login.rs
    • "Lost the gateway sign-in result. Restart Zuno to check the connection.",
    • message: "Zuno cannot handle this request during gateway sign-in".into(),
  • codex-rs/tui/src/device_login_tests.rs
    • insta::assert_snapshot!(error.to_string(), @"Zuno lost its connection during setup. Restart Zuno to continue.");
  • codex-rs/tui/src/history_cell/delegated_message.rs
    • attribution: format!("Sent by Zuno from task {source_thread_id}"),
  • codex-rs/tui/src/notifications/osc.rs
    • OscProtocol::Osc777 => format!("\x1b]777;notify;Zuno;{body}\x1b\\"),
    • format!("\x1b]777;notify;Zuno;{prefix}…\x1b\\"),
    • "\u{1b}]777;notify;Zuno;Approval requested: cargo test; git clean -fd\u{1b}\\",
    • "\u{1b}Ptmux;\u{1b}\u{1b}]777;notify;Zuno;Approval requested: cargo test; git clean -fd\u{1b}\u{1b}\\\u{1b}\\",
  • codex-rs/tui/src/onboarding/gcp.rs
    • "Enter an absolute file path on the host running Zuno, or press Enter to use Application Default Credentials (ADC).",
  • codex-rs/tui/src/onboarding/mod.rs
    • "Zuno lost its connection during setup. Restart Zuno to continue.";
  • codex-rs/tui/tests/suite/unix_daemon.rs
    • .env("ZUNO_HOME", home)
New upstream snapshot text rebranded (2)

Rendered lines only upstream wrote, rebranded like new upstream snapshots.

  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__safety_buffering__safety_recourse.snap
    • systems beyond permitted scope. You can ask Zuno for an overview of account
  • codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__safety_buffering__safety_recourse_request_history.snap
    • - codex_tui: Manage Zuno tasks available through the connected app server.
    • - codex_tui: Manage Zuno tasks available through the connected app server.
Possible rebrand drift in user-visible surfaces (32 of 287 paths)

Upstream changed or added these files outside the Zuno delta and the rebrand rules would alter their text. They were not rewritten; review whether the new wording is user-visible and rebrand it (with its snapshots) in the candidate.

  • codex-rs/app-server/src/config_manager_service_tests.rs
  • codex-rs/app-server/src/request_processors/account_processor.rs
  • codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs
  • codex-rs/app-server/src/request_processors/thread_processor_tests.rs
  • codex-rs/cli/src/debug_sandbox.rs
  • codex-rs/cli/src/shared_sandbox_launcher.rs
  • codex-rs/core/src/agent/registry.rs
  • codex-rs/core/src/agents_md_tests.rs
  • codex-rs/core/src/client.rs
  • codex-rs/core/src/codex_thread.rs
  • codex-rs/core/src/event_mapping_tests.rs
  • codex-rs/core/src/exec_policy.rs
  • codex-rs/core/src/mcp_openai_file.rs
  • codex-rs/core/src/responses_metadata.rs
  • codex-rs/core/src/session/handlers.rs
  • codex-rs/core/src/session/session.rs
  • codex-rs/core/src/session/tests.rs
  • codex-rs/core/src/spawn.rs
  • codex-rs/core/src/tools/context.rs
  • codex-rs/core/src/tools/handlers/request_plugin_install.rs
  • codex-rs/core/src/tools/handlers/unified_exec_tests.rs
  • codex-rs/core/src/tools/router_tests.rs
  • codex-rs/core/src/tools/sandboxing.rs
  • codex-rs/tui/src/app/backend_selection.rs
  • codex-rs/tui/src/app/startup_prompts.rs
  • codex-rs/tui/src/app/tests/model_catalog.rs
  • codex-rs/tui/src/markdown_render.rs
  • codex-rs/tui/src/markdown_render/local_links.rs
  • codex-rs/tui/src/resize_reflow_cap.rs
  • codex-rs/tui/src/status/rate_limits.rs
  • codex-rs/tui/src/tui/alternate_screen.rs
  • codex-rs/tui/src/tui/link_pointer.rs

Zuno-Source-Commit: 70e9610
Zuno-Upstream-Tag: rust-v0.172.0
Zuno-Candidate-Commit: 1a3318e

felixxia-oai and others added 30 commits November 16, 2026 12:05
## What changed

Use `HousekeeperSampler` for evidence routing instead of starting a separate review-session thread. The housekeeper now owns a tool-free model conversation, retains completed routing batches, and evicts whole batches under context-window pressure.

Commit sampled history only after all board writes succeed and the evidence cursor advances. Stop the worker after a routing error or an interrupted routing future. Cancel routing when the account changes while allowing accepted appends to finish before shutdown.

## Testing

Extend housekeeping integration coverage for retained history, whole-batch eviction, transient retries, retry exhaustion with `Retry-After`, HTTP fallback, credential renewal, command-token rotation, and shutdown waiting for accepted evidence appends.

GitOrigin-RevId: 316ab1b90529e2a5874e617855d38c41f232872a
Document managed `prompt-user` command checkpoints as stable in the interactive
Codex CLI, while keeping app-server integration marked experimental. Clarify
that each matching command requires a fresh human decision, even with automatic
review enabled, and that session or persistent approvals cannot satisfy it.

GitOrigin-RevId: 98c36d00294bd97ab937f32940dfb24310ecbc32
…1801)

## Why

A turn's terminal event can arrive after the next turn has started, cancelling the newer turn's pending approval requests and incorrectly changing the thread's active status.

## What changed

Track the latest started turn in the app server. Only let completion or abort events for that turn cancel pending server requests and update thread watch status, preserving the existing behavior when no started turn is recorded.

## Testing

Add a regression test that delays one turn's completion until the next turn requests command approval, then verifies that the thread remains waiting on approval and the approval can still be accepted to execute the command.

GitOrigin-RevId: 521f4fb74728b3e70572839b2e73d2d2b2735f35
## Why

A turn can complete after the next turn has started. Sharing one turn summary lets late completion events consume the next turn's metadata and clear its command tracking.

## What changed

Track turn summaries and command start times by turn ID so errors, timestamps, final agent messages, and command lifecycle notifications stay associated with the correct turn. Read and remove only the completing turn's state, and clear tracked state when listeners are replaced or removed.

Initialize summaries for inline reviews that can finish before their delegate emits `TurnStarted`.

## Testing

Extend regression coverage to check that overlapping turns retain their own errors, completed turns include start timestamps, and the next turn's approved command emits one start and one completion notification despite a late completion from the previous turn.

GitOrigin-RevId: 91f022d885c67c7d8982091c72325f1d701569a6
## Why

A steer can restart sampling within the same turn. Recreating the diff tracker loses earlier edits, and changing the working directory can change the meaning of relative diff paths.

## What changed

Keep the diff tracker for the lifetime of the turn and retain each environment's first display root. Refresh cached diff headers when new environments are added. Emit the final aggregate `TurnDiff` before `TurnComplete` instead of at sampling completion.

## Testing

Extend regression coverage for steering during the final flush, with and without additional patches and with a changed working directory. Check final diff ordering across continued sampling and header updates when adding an environment.

GitOrigin-RevId: fbd1ebef072d8486a324190c9125fc1446510802
…61833)

## Why

Creating a child thread with inherited model context collected owned rollout items just to count them, then collected them again during persistence even when telemetry did not need them.

## What changed

Count persisted inherited items without collecting an owned vector. Only collect filtered items during persistence when telemetry is enabled, and reuse those items for metadata updates on normal appends.

## Testing

Extend the inherited-context test to verify that paginated history excludes legacy-only events, preserves the child history boundary and record ordinals, and replays the expected records after reopening from disk.

GitOrigin-RevId: 04dfb7b5b086c66f4dc760027c4faa704cab0df1
## Why

Metadata-only `thread/read` requests for loaded threads reread the store to attach a title after already loading persisted metadata.

## What changed

Reuse persisted metadata and overlay live settings, returning metadata-only responses without another store read. Keep history loading conditional on `includeTurns` and centralize stored-title trimming and legacy preview fallback handling.

## Testing

Extend the in-memory store test to verify that a loaded thread without a rollout path returns its trimmed stored title with exactly one metadata read, while requests with turns still return stored history.

GitOrigin-RevId: 74f20914afb44901d7586eb8e944afdae2640c31
## Why

Reading the newest turns or items in a fork previously resolved the entire rollout lineage, even when the page only needed recent segments. This caused unnecessary ancestor reads and could fail when an unused ancestor was missing.

## What changed

Introduce an incremental `LineageWalk` and use it to resolve descending history pages only as far as needed for the cursor, requested rows, and next-page lookahead. Defer sibling rollout discovery until a parent is needed, while preserving newer turns' overrides when resuming in an ancestor.

Keep full lineage resolution for ascending reads, update replay, item anchors, and inherited summary lookup.

## Testing

Add regression coverage for pages with missing unused ancestors, continuation within a parent, turn overrides, inherited summaries, and exact page-boundary lookahead. Extend coverage for descending item pages using the selected rollout.

GitOrigin-RevId: dad941f4f3c54a46121d4fa22b69e13f1830a385
## Why

A background command can request approval after its originating turn has completed. Interrupting a later turn cancels the pending approval but can leave the command item marked as in progress.

## What changed

Complete these late command items with `Declined` status when their approval is canceled by a turn transition. Route completion through the thread listener so `item/completed` reaches the thread's current subscribers, preserving the original turn ID and command start timestamp.

## Testing

Add regression coverage for interrupting a turn with a pending approval from a completed turn, and for delivering late command completion to a replacement subscriber.

GitOrigin-RevId: 8c62fa3302fd3754b84e6fb87b3117f678f55164
## Why

Each cell eagerly built `tools` and `ALL_TOOLS`, even when its code never accessed them.

## What changed

- Initialize each catalog global lazily on its first read, preserving writable values and mutations within each cell.
- Normalize tool metadata at the service boundary and share it through an `Arc`-backed catalog instead of repeatedly converting it between runtime layers.
- Construct catalog properties without invoking inherited setters.

## Testing

Add regression tests for cell-local catalog mutations, fresh catalogs across cells, and catalog construction with inherited setters on `Object.prototype` and `Array.prototype`.

GitOrigin-RevId: 04695c24ff33d3b3a4335558e9c754844f04e9f0
## Why

Repeated executions with the same tools resend the full catalog and duplicate tool metadata. Catalog revisions let clients reuse an acknowledged catalog within a session.

## What changed

- Negotiate catalog revision support over stdio and gRPC, retaining full requests for hosts without support.
- Send tool definitions when installing a revision, then reference that revision for matching executions. Commit client catalog state only after execution admission succeeds; concurrent admissions can send full requests.
- Keep immutable tool snapshots for each cell, reject invalid, unknown, or conflicting revisions, and share identical definitions and runtime metadata across sessions in the same process.

## Testing

Add tests for acknowledged reuse, abandoned admissions, changed definitions, revision conflicts, session isolation, snapshot lifetimes, and shared metadata.

GitOrigin-RevId: d2f29bf668bc2279715f5f1b7d24310923c57d33
## What changed

- Add `transparent_tcp` to network configuration and managed requirements, defaulting to off. When enabled, route outbound TCP from managed Linux sandbox commands through the managed SOCKS5 proxy without requiring an executor startup flag.
- Propagate the setting through local and remote execution, require an enabled SOCKS5 proxy, and check the executor's `networkProxyTransparentTcp` capability before remote launches.
- Refresh the live proxy when switching between permission profiles with different network settings.

## Testing

Add coverage for configuration-driven sandbox capture, rejection of unsupported launch contexts, execution parameter propagation, and live permission profile changes.

GitOrigin-RevId: c4db87056de116f433a128806bef673802f35397
## Why

Clients need read-state updates for threads they have not opened so they can keep thread lists current.

## What changed

Broadcast `thread/readState/changed` to initialized experimental clients whenever a durable read receipt changes, regardless of thread subscription. Preserve filtering through `optOutNotificationMethods` and document refreshing the list after reconnecting to recover missed changes.

## Testing

Add a WebSocket regression test verifying that an unsubscribed experimental client receives updates while clients without the experimental capability and clients that opt out do not.

GitOrigin-RevId: a1a0f29405a856fdf6e379ded1376ed7d3d765cb
## What changed

Add optional `multi_agent_tools_in_code_mode` model metadata to control whether native multi-agent tools follow the model's `tool_mode`. When `true`, expose them according to `Direct`, `CodeMode`, or `CodeModeOnly`; when `false`, keep them direct-only. When omitted, preserve the `multi_agent_v2.non_code_mode_only` runtime setting.

## Testing

Add coverage for metadata overrides and runtime fallback across all three tool modes, plus serialization and deserialization of absent, null, and boolean metadata values. Update the namespace-prefix integration scenario to enable code-mode tools through model metadata.

GitOrigin-RevId: be90f436066226bf9971cbd17f28c396341bb83a
## What changed

Allow executors to set `CODEX_TOOL_CALL_ATTRIBUTION_PROXY` to designate an upstream proxy that consumes and strips `x-openai-internal-tool-call-id`. When the selected upstream matches that endpoint, attach the controller's tool-call ID to plaintext HTTP requests or the outer HTTPS `CONNECT` request.

Strip caller-supplied attribution headers and send no attribution to direct destinations or other upstream proxies. Leave attribution disabled when the setting is unset.

## Testing

Add request-capture tests for HTTP and HTTPS attribution, execution-specific IDs, header stripping, split upstream selection with nonstandard origin ports, and inbound `CONNECT` tunneling.

GitOrigin-RevId: f908faf55a991bc11f2f9c7fd3100f42b4f638b9
…1865)

## Why

A remote plugin's catalog version can differ from the package available locally. Matching names and versions also do not establish that a cached package belongs to the same remote plugin.

## What changed

- Resolve `local_version` for remote plugin lists, details, and shares from the active local package, requiring a matching remote plugin ID and an existing manifest. Perform these filesystem reads on a blocking task.
- Download the package when a same-version cache has a conflicting or unreadable identity receipt. Preserve migration for older caches without receipts, and retain the original receipt if the replacement download fails.

## Testing

Add coverage for local package identity and manifest requirements, differing catalog and local versions, and preservation of the original receipt after a failed replacement download. Update share expectations to leave `local_version` unset when no matching local package exists.

GitOrigin-RevId: 5d86f834ac3861a4a3d3bf0d042bfe3f991a7cad
## Why

Direct SQLite listings already contain thread titles and section ordering metadata. Converting those rows to rollout summaries and fetching metadata again discards the original per-row values.

## What changed

Build thread listings directly from the collected SQLite rows, retaining their titles, section positions, and section entry times. Preserve row order and each occurrence's metadata when a thread appears more than once during pagination refill. Continue resolving legacy names from the session index with the existing title precedence.

Keep rollout listings and search name enrichment best effort, and avoid redundant metadata queries for direct SQLite listings.

## Testing

Add coverage for repeated legacy rows retaining indexed names and distinct timestamps and section positions. Extend listing tests to check SQLite titles and section metadata in recent-thread results.

GitOrigin-RevId: 838036250d38e6ca1b403741de3e6dd3eafdd04b
## Why

Plugin skill paths include the installed version, so changing versions loses the influence of previous selections on `$` picker ordering.

## What changed

Aggregate selection frequencies using a version-independent key for cached plugin skills. Recognize both configured and canonical plugin cache paths so usage history still applies when the cache is symlinked. Continue ranking by frequency within each match tier.

## Testing

Extend the composer regression test to load usage from an older plugin version and verify that the current version is preferred within its match tier, including a symlinked cache on Unix.

GitOrigin-RevId: 483619dc75254898982959ff5f3bcb1f17d6ff0e
## What changed

Parse `subgraph title` and `subgraph ID[title]` blocks and render labeled frames around their nodes and internal edges. Support edges between nodes in different groups in all four flowchart directions.

Keep nested subgraphs, edges to subgraph IDs, and subgraph-local directions unsupported, preserving source fallback for unsupported input. Document the expanded syntax subset.

## Testing

Add snapshot and regression coverage for group rendering, cross-group edges, all four directions, width limits, and invalid or unsupported subgraphs. Extend TUI native-renderer coverage to include grouped flowcharts.

GitOrigin-RevId: 5bed535bcd4991b53143e3a591eef04f46ef4bd1
…880)

## What changed

Retain eligible local `.md` and `.markdown` link targets as document metadata and allow transcript hit testing to resolve them when `document_links` is enabled. The flag defaults to disabled, and document targets are excluded from terminal OSC-8 links.

Preserve link metadata through narrow table layouts, account for grapheme widths when remapping header links, and retain literal backslashes in POSIX file URI targets. Keep validated workspace artifact links usable as terminal hyperlinks.

## Testing

Add regression coverage for opt-in document hit testing, narrow table link ranges, styled emoji and escaped pipes, POSIX file URI backslashes, and validated workspace artifact links.

GitOrigin-RevId: e5d12c8558f5210eb66c17b5be8b28b7e80d414f
## What changed

Add session helpers to resolve file paths against the source thread's workspace and read preview bytes through `fs/readFile`. Require a workspace on the app-server host, restrict reads to POSIX paths, and reject reads when the workspace changes.

Add text document validation that rejects invalid UTF-8 and control characters other than tabs and line endings.

## Testing

Add a mock WebSocket app-server test covering source-thread metadata requests, relative path resolution, large text reads, invalid UTF-8, binary content, and workspace changes during a read.

GitOrigin-RevId: b51cb227e478d72cba42309828e40bbffff6d847
## What changed

- Open transcript file links in sidebar tabs when the TUI workspace is enabled, resolving and reading files through the focused thread's app server and rendering their contents as Markdown.
- Support pager keys, mouse scrolling, switching between document and chat tabs, and closing previews with `Esc`. Reuse existing previews and allow failed opens to be retried.
- Show loading and error states, and prevent late document results from taking focus back after the user switches views.
- Adapt tab widths to the available space, preserve filename extensions in truncated labels, and keep divider dragging aligned to exact terminal columns.

## Testing

Add coverage for workspace-gated link opening, loading and error states, retrying, custom pager bindings, multiple previews, tab reuse, closing during loading, and preserving focus when results arrive late. Update tab and divider assertions and snapshots.

GitOrigin-RevId: e979b757c623c29a8ed50277ec929655d783ad18
## What changed

- Enable search, keyboard and mouse selection, and Markdown copying in sidebar document previews, including copying while offline.
- Navigate links with `Tab` and `Shift+Tab`, then open them with `Enter`. Open web links in the browser and resolve file links relative to the current document.
- Render local Markdown links as interactive labels and preserve distinct link occurrences across wrapping.
- Add document zoom, scroll indicators, and contextual footer hints. Disambiguate document tabs with matching filenames, including when titles are truncated.
- Cancel pending PRIMARY selection publication when a document is hidden and preserve the intended destination for composer clipboard pastes.

## Testing

Extend document preview coverage for search, selection, offline copying, link activation, hidden PRIMARY selections, and duplicate tab titles. Add rendering tests for local link labels and navigation across wrapped links.

GitOrigin-RevId: 80240fa580eed9dda971759afc49bc2bb909fcb5
## What changed

- Extend sidebar previews beyond Markdown to source files, including extensionless files. Preserve line and column targets such as `./Makefile#L12C3`, scroll to the target, and highlight its line and character.
- Render source previews with syntax highlighting and line numbers when space permits. Keep plain Markdown links rendered as Markdown, and show source when a location is specified.
- Show local link labels without appended destinations when workspace previews are available, and emphasize links on hover. Refresh rendering when preview availability changes.
- Limit source previews to 1 MiB and 10,000 lines, and disable document previews for Windows workspaces.

## Testing

Add coverage for extensionless link parsing, matching hover and click targets, streamed file citation metadata, and source navigation with CRLF input, tab reuse, and Escape handling.

GitOrigin-RevId: c2629b122628a4f5afa17df1890f63bd1c9bbcf6
…61894)

## What changed

Return `Message accepted.` from the v2 `send_message` tool. For non-root recipients, also advise using `followup_task` when an idle agent should act immediately. Messages to the root agent receive only the acknowledgment.

## Testing

Assert the acknowledgment when a child messages the root agent, and update the idle-eviction follow-up snapshot to include the guidance for non-root recipients.

GitOrigin-RevId: bb0cf6039d9b693052a1747daa2e75fa25c13522
## What changed

- Add `rollout_trace.max_payload_bytes` and `rollout_trace.max_bytes`, defaulting to 64 MiB per body or separated value and 256 MiB per bundle. Root and child threads share the bundle budget.
- Record explicit truncations and omissions when limits are reached, reserve space for later events, and stop at the last complete event if the event log fills.
- Reuse identical prepared-prompt items and store inline images separately from message structure. Preserve exact JSON bytes for complete composite payloads and surviving content and links in partial captures.
- Let reducers handle partial payloads while retaining lifecycle information and reporting `closed_with_partial_payloads` for closed bundles with incomplete captures.

## Testing

Add coverage for payload reuse and byte-exact reconstruction, truncation, compressed bundle budgets, later events after omissions, readable prefixes after event-space exhaustion, and CLI capture-limit configuration and startup failures.

GitOrigin-RevId: be99a68da427414a7a12bf8209f232c1a0bbe545
## What changed

Add the disabled-by-default `utc_environment_date` feature to compute the model-visible environment date in UTC and render it as `<current_date_utc>`. Preserve local dates when the feature is disabled.

Track the date's time basis in environment snapshots so switching to UTC emits an update even when the date is unchanged. Use the matching date tag when reporting an unavailable clock.

## Testing

Extend coverage for UTC midnight rollover, unchanged dates within a day, legacy snapshot refresh, and date removal and recovery. Update local and remote compaction snapshots to exercise the UTC date tag.

GitOrigin-RevId: 6e983d05ca2914629c9f8575e2efe3ed274a2f77
## Why

Host proxy bridges must close active connections when a sandbox exits or is cancelled. Proxy descriptor exhaustion must also leave synthetic mount cleanup able to run.

## What changed

- Run host proxy bridges as threads in an outer supervisor that forwards signals and preserves the sandbox command's exit status. Use parent-death signals to terminate supervised children when their parent exits.
- Give bridge routes private descriptor tables where supported, retry accepts after descriptor exhaustion, and keep mount cleanup in a separate supervisor.
- Create the transparent TCP namespace in the bubblewrap child after re-executing the sandbox helper, clearing inherited credentials from memory and restoring dumpability for user namespace ID mapping.

## Testing

Add regression tests for bridge teardown after normal exit, process-group cancellation, launcher termination, and caller-thread exit; exit status propagation with inherited `SIGCHLD` ignored; and SOCKS connectivity and synthetic mount cleanup under descriptor pressure.

GitOrigin-RevId: dd297af98e9383942098fab5683ef2474c5ae554
## Why

Bubblewrap 0.12 reports proc mount failures at `/proc` instead of `/newroot/proc`, so the Linux sandbox preflight did not recognize failures that should enable the existing fallback.

## What changed

Recognize both destinations for `Invalid argument`, `Operation not permitted`, and `Permission denied`. Match the destination and error on the same diagnostic line to avoid treating unrelated errors as proc mount failures.

## Testing

Extend unit tests to cover both diagnostic formats and reject unrelated destinations, unsupported errors, and errors on separate lines. Exercise the fallback and explicit PID namespace inheritance integration test with both destinations.

GitOrigin-RevId: 7cb0d004cd88ec3dcf14960497c1fac665e6e74a
## What changed

Apply source, model provider, working directory, and attached-thread filters as soon as the first session metadata record is read. Stop reading excluded rollouts before scanning for preview and user-message events.

## Testing

Add a regression test confirming that copied metadata with a different source cannot override the canonical session metadata when filtering thread listings.

GitOrigin-RevId: 2a9ab6cf419c94884b672b6f03ec23b43b244c83
bc-openai and others added 25 commits November 19, 2026 02:26
## Why

Cloud turn and item pages can reflect different points in time. A reply
restored from history may still be unfinished even when its turn is marked
complete. When the final text arrives, the TUI can leave a stale prefix in
the transcript or put the final reply after intervening tool output.

## What changed

Track Cloud replies by turn and item across history replay, pagination, and
live streaming. Reserve a transcript position even for an unfinished reply
with no visible text. When it completes, replace its fragments in place or
remove them if the final text contains only hidden directives. Keep late
completions from interrupting another reply's stream.

Preserve transcript order when choosing the latest copyable reply. When a
turn completion notification has no response text, fall back to the latest
completed response from that turn.

## Testing

Cover replies restored from older history pages, late completions during
another stream, and directive-only completions that remove a visible prefix.
Check the resulting transcript order, copy text, and notification fallback.

GitOrigin-RevId: a0abb75bf1378524461a519fe9a0656e15bca4bf
## Why

Repeated tool output, such as the same image returned in several results,
can consume the trace bundle budget. When output bytes are unavailable,
the surrounding result can still carry terminal metadata and conversation
links.

## What changed

- Store JSON string values of at least 64 KiB, measured after encoding,
  separately from their tool result or runtime event. Identical encoded
  values share one record per bundle, while each occurrence retains its
  position and complete captures reconstruct the original JSON bytes.
- Keep separate compression shards open for content and surrounding
  records. Budget for the serialized event and fall back to a single
  capped or omitted payload when the split layout or its references
  exceed the applicable limit.
- Track missing values separately from literal `null` so reduction can
  preserve surviving terminal metadata and keep tool output IDs attached
  to their original items.

## Testing

Add regression tests for shared image and text payloads, byte-for-byte
reconstruction, recording completion under tight bundle limits, and
reduction with missing output.

GitOrigin-RevId: a003197ea998639b6c2ae27f408990c0186406bd
## Why

Remote runners can block bubblewrap from creating a nested network
namespace, preventing the shell from starting and reaching the
filesystem checks.

## What changed

Enable network access in `denied_read_in_second_workspace_root` so the
test can exercise denied reads across both workspace roots without
requiring a nested network namespace.

GitOrigin-RevId: 26eada1e5efde4a31190628f4696c6beb400454d
## Why

Clients sampling a thread could only use the source thread's model.

## What changed

Add an optional `model` field to the experimental `thread/sample`
request. Omitting it or passing `null` inherits the source thread's
model. When an override is supplied, the server uses the selected
model's capabilities to decide whether to apply the requested
reasoning effort.

## Testing

Add an app-server integration test that checks model selection and
reasoning effort for the overridden sample, then verifies that a
subsequent sample and a follow-up turn use the source model.

GitOrigin-RevId: f5c54ca3d693d31e1f3e0628a520583330a5d56d
## Why

Callers of `CodexThread::inject_response_items` each compile a copy of
its concrete future, duplicating compilation work.

## What changed

Return a `BoxFuture` from `CodexThread::inject_response_items` so the
concrete future stays in the core crate. Raise the core integration
test crate's recursion limit to 256.

GitOrigin-RevId: 2ccb280c7887278fc8011c37df35df84c47b3e35
…2421)

## Why

The Responses client checks the gateway URL and request headers before
allowing connector result bodies to be attached. Provider query parameters
can also change the request while leaving those checks satisfied.

## What changed

Require an empty provider query parameter map, or no map, when selecting
a connector result destination. Check the ChatGPT credential variants
directly and retain the current auth owner for thread grant verification.

## Testing

Extend the client setup test to check that a custom provider URL is
ineligible even with refreshed ChatGPT credentials. Extend the enterprise
MCP lifecycle test to check that the configured provider receives the
account bearer token and executed tool-call metadata. Allow HTTP client
tests to cache a direct system proxy decision as well as a proxied route.

GitOrigin-RevId: 1e7e77ec6e65263eaff658ba39943ec51230d332
## Why

Result body capture covered direct Apps calls, leaving eligible calls made inside Code Mode without their result bodies in follow-up sampling metadata.

## What changed

Capture eligible nested MCP results and bind them to the originating `exec` or `wait` output for the current turn. Send `tool_result` and `tool_result_call_id` together when both fit the request budget. Keep the bodies out of conversation history and reclaim capture capacity when the output binding is lost.

Require analytics to be enabled and the provider to allow request metadata before starting turn-level capture. Check the call's credentials at dispatch and again when recording the result.

## Testing

Add coverage for yielded and finished outputs, late results, retries with replacement output items, capture budget recovery, and the request size boundary for sending the body and call ID together.

GitOrigin-RevId: 0983261ac39021099d14efa5c9a9acac47ac9269
## What changed

Let in-process sessions and hosts using stdio or gRPC supply trusted
JavaScript helpers. Run each helper before the cell's module in the same V8
context, only when the cell exposes a unique matching binding with the
expected tool name and namespace.

Report ambiguous bindings and preload failures as bounded cell errors.
Suppress V8 diagnostics on stdout so they cannot corrupt stdio protocol frames.

## Testing

Add coverage for per-session helper selection, exact tool matching, ambiguous
bindings, and bounded compile and execution errors. A stdio subprocess test
checks that a failed preload leaves another session on the same connection
usable. Allow more time for existing CLI and MCP integration tests to connect,
start their test server, or shut down.

GitOrigin-RevId: f9f037de7f9d6018ae755b38475c4131ca7ba1f0
## What changed

Allow config server bundle and auth loaders to discover authorization and
token endpoints, plus an optional device authorization endpoint, from OAuth
metadata when callers enable discovery and omit `config_server.oauth`.
Discovery uses the bootstrap HTTP policy, times out after five seconds,
and keeps the discovered settings in memory. Existing managed-config
entry points pass `ConfigServerDiscovery::Disabled`.

If bundle loader initialization fails, report the error on the first read
and retry on later reads until a loader and its refresh worker can start.

## Testing

Add tests for endpoint parsing and defaults, the discovery timeout,
explicit OAuth precedence, disabled discovery, and local network policy.

GitOrigin-RevId: 7cb72054147ec34f985d55dfe708fccfafcb4ba3
…(#62434)

## What changed

Pass the resolved result-body destination into sampling, where its owner
is used to select retained bodies for the turn. Check that the capture
owner is current under the retention lock before converting an MCP
result and again before retaining its body.

## Testing

Extend the request-budget integration test for direct calls and Code Mode
to check when executed calls carry result metadata. Cover ungranted and
custom endpoints, independent model credentials, hosted Apps OAuth and
header overrides, and disabled result-body passthrough. Check that the
shared configuration preserves metadata on a subsequent turn.

GitOrigin-RevId: 8e5ac88ba323d10e0f3e696d4ae356d52bdf22a3
## What changed

Add `ToolLifecycleContributor::mcp_tool_request_meta` so an extension can
use thread and turn data and the captured tool registration to attach an
entry to the outgoing request's `_meta`. Codex rejects duplicate keys.
Expose the registering plugin's package ID in `McpToolContext` so
contributors can scope metadata to that plugin.

Export `PERSISTED_MCP_RESULT_MAX_BYTES`, the existing 64 KiB limit for
untruncated MCP results in durable history.

## Testing

Extend the multi-environment MCP scenario to check that only the call
for the selected plugin receives the metadata and that the result
callback sees the same plugin context.

GitOrigin-RevId: 25a2afc5402a5c9323de184313d614aede3692fb
## Why

A turn interrupted during setup can be discarded before it runs. Starting
the worktree scan during setup can spend time scanning for a turn that
will never send a model request.

## What changed

Collect `HEAD` and remote URLs in the background after turn setup, and
start the worktree status scan only after the turn is admitted to run.
Model requests use the latest available Git metadata while collection
continues, and later requests can include the worktree status once it
is available.

Use shared background Git root discovery for the memory extraction
change probe and pass the resolved root into the probe.

## Testing

Regression tests cover requests proceeding while status is blocked,
later requests carrying the updated `HEAD`, remote URL, and dirty
status, and an interrupted wake skipping the worktree scan.

GitOrigin-RevId: 00f465a5621d672d8b6d9063c384fb62e493c79f
## Why

Launch errors and timeouts can be hard to diagnose without knowing which
stage the launcher reached or how long each stage took.

## What changed

Log MXC launch phases by process ID in the Windows sandbox runtime log.
Distinguish filesystem helper launches from regular commands and record
filesystem grant counts, preparation, spawn, and wait durations, and
launch outcomes or errors.

Reuse the runtime log's rolling file appender across entries in the same
launcher process.

GitOrigin-RevId: 8d55261fc9efeab8afe4b5be67b5aacb6868f3da
## Why

The existing GPT-6 migration guidance points to the earlier Astra
quickstart. Explicit GPT-6.2 Astra and Sol requests need guidance for
the selected model and its endpoint requirements.

## What changed

Direct both GPT-6.2 targets to the shared migration quickstart and
document that both support Responses and Chat Completions, with tool
calling requiring Responses. Refresh the fallback model guidance and
point onboarding examples to the model selection guide. Specify model
choices for legacy Chat Completions examples, Codex CLI
examples, and configuration shared with the IDE extension.

GitOrigin-RevId: 14000eedac4f2a4169bb76212cb74d8342b5752e
## Why

HTTP sampling can attach private connector result bodies, but Responses
WebSocket sampling leaves them out. WebSocket requests need the same
destination and account checks before sending those bodies.

## What changed

Apply the existing HTTP eligibility checks to each WebSocket attempt and
attach only result bodies that belong to the current account and match
the input being sent, including when that input is an incremental update.
Keep prewarm requests free of private result bodies. Update
`tungstenite` and `tokio-tungstenite` to keep sensitive payload bytes
out of frame diagnostics.

## Testing

Add regression coverage for connector results reaching the server while
staying out of request observers and client logs. Cover custom-provider
requests and retries across an account change with results from both
Code Mode `exec` and `wait`.

GitOrigin-RevId: df5ec8608e59bb3a0444fafd5268279e669ccb55
## What changed

Remove the legacy framed stdio protocol and its client and server.
Local Codex launches the standalone host with `--listen grpc+stdio://`,
which is also the host's default. The `stdio` and `stdio://` aliases
now select gRPC over stdio. The `features.code_mode_host_grpc` setting
is deprecated and ignored.

Carry execution trace context into gRPC tool callbacks and
notifications. Reject oversized execute requests before sending them
so an encoding failure does not appear as a connection reset.

## Testing

Exercise gRPC callback cancellation, trace context across overlapping
yielded cells, and isolation of tool preload failures between sessions.
Check that both values of the deprecated feature setting are ignored.

GitOrigin-RevId: f5faff3901dc60958627f677f50cfad834291b69
## Why

Boxing the thread startup future at each call site makes each caller
compile its own copy of the future.

## What changed

Return a `BoxFuture` from `spawn_thread` and move the startup logic into
`spawn_thread_inner`. Thread start, resume, and fork paths now await
`spawn_thread` directly.

GitOrigin-RevId: 5004651423551e173b1cc98b185c6a1dc2bc097e
## Why

Attached reviews used fixed evidence limits even when elastic budgeting
was configured. This could reject a pending tool call whose exact
arguments would fit within the review request's input budget.

## What changed

Use the configured budgeting policy to prepare the pending action and
permissions for attached reviews. With elastic budgeting enabled, check
whether the exact call fits when enforcing the final request budget.

## Testing

Add a regression test for a tool call that exceeds the fixed evidence
limit. Elastic budgeting rejects it when the request budget is too small
and preserves the original call when it fits.

GitOrigin-RevId: 42cc4a8682a98badfe6be95434703500403e7118
## Why

A thread can start while managed Guardian policy is being refreshed. Startup
and refresh need to coordinate so the thread does not register with policy
that the refresh has already superseded.

## What changed

Let hosts provide a `GuardianPolicyLoader` to `ThreadManager` for startup
and on-demand refresh. Pause thread registration while a refresh loads and
publishes policy. If publication overtakes a thread's startup configuration,
reload Guardian policy before registering the thread.

Apply the published policy to live threads concurrently. Once published, the
updates continue even if the refresh caller is canceled. Return an error if
any live thread rejects the update.

## Testing

Add regression coverage for an idle thread receiving the update while
another thread holds its session lock, and for reporting a live thread's
rejection of invalid Guardian configuration.

GitOrigin-RevId: ca0cfa2a30f0d45c4ac5ded3400e0e18177ede1d
## Why

Clients need to distinguish a caller who must enroll in Daybreak from a
model that does not support it. The list of accepted access programs
alone cannot express that distinction.

## What changed

Carry the server-resolved status for each caller and model from the
model catalog into `model/list` as `availableAccessPrograms.daybreakAvailability`.
Update the JSON schemas, TypeScript bindings, and Python SDK to expose
the field.

Rust decoders use `default` for missing or unrecognized statuses. The
Python SDK also defaults missing statuses and preserves new strings
from newer hosts.

## Testing

Cover catalog decoding, app-server response serialization, and Python
SDK round trips with known, missing, and future status values.

GitOrigin-RevId: c1e5ddef68fd19b25e583bb6996a93fd78ab9d18
## Why

Dividing total handler time by the call count gives a per-call mean
without averaging histogram export batches.

## What changed

Record `codex.exec_command.duration_total_ms` and
`codex.exec_command.calls` for built-in `exec_command` handler runs,
including failures. Measure from handler entry through command exit or
the first yield, including shell setup and startup. Exclude calls rejected
before the handler runs and retain tags such as `shell_snapshot_mode`,
`success`, and `product_sku` when available.

## Testing

Cover Statsig export of both counters and check that their counts and
duration totals match the tool duration histogram for eligible calls
within each tag set.

GitOrigin-RevId: 4bf6dc628bca5758999bf0ed5f67051f870a61e8
App-server clients that prepare threads for later use need to be able
to skip Daybreak propagation for an individual thread when the server
configuration enables it.

With `experimentalApi`, pass `daybreakProgramPropagationEnrolled: false`
to `thread/start` to opt a new root thread out. Managed requirements
take precedence. Omitting the field or passing `null` or `true` uses the
configured enrollment rule.

The same field on `Thread` reports actual enrollment for the live
session, including in the start response and `thread/started`
notification. Reusing a live session preserves its enrollment. A thread
returned from stored metadata alone reports `null`, and resuming it
from storage in a new session reports `false`.

App-server tests cover enrollment under enabled, required, and disabled
configuration, as well as reporting across live reads and resumes,
unload, and resume from storage. A core test checks that opting out
prevents native helpers from inheriting the root's saved Daybreak choice.

GitOrigin-RevId: f9aae9ff76702b1e5a38d45120cd889a26f8ece5
(cherry picked from commit 566020b72410eb46345b0c3ae55dd6a4d3268e89)
…(#63266)

## Why

Discovering project instructions and repository skill directories can
require several metadata checks per ancestor directory. Batching those
checks reduces remote executor round trips and sandbox helper launches.

## What changed

Add bounded metadata batches that return a result or error for each
path in input order. Remote executors advertise support for
`fs/getMetadataBatch`, and sandboxed filesystems can process a batch in
one helper invocation.

Check project root markers alongside the first working-directory
instruction candidate, then batch the next candidate across unresolved
directories in filename priority order. Batch checks for
`.agents/skills` directories between the project root and the working
directory. Fall back to individual checks when batching is unsupported.

## Testing

Extend tests to assert batch counts for shallow and nested `AGENTS.md`
discovery and verify that metadata batches preserve result order and
per-path errors.

GitOrigin-RevId: 6cb04202a905d783454908348d008def95b9a5d6
(cherry picked from commit 5f645d732cc2905c0d7e02a5d1683631fe8a02e7)
- Follow thread links from search results and transcripts to open saved conversations and nested agents in the terminal. (#62332)
- Press `Tab` to complete arguments for supported slash commands. For example, `/mcp lo` completes to `/mcp login`. (#62343)
- Jump between task groups in the agent command center with `Shift+Up` and `Shift+Down`. (#62200)
- Optional stdio MCP servers with cached tool lists now start on their first tool call by default. (#62366)
- Set an approval reviewer for individual connected app tools in `config.toml`. (#62360)
- App-server clients can select Amazon Bedrock Runtime during setup or sign-in. (#62222)

## Bug Fixes

- `codex exec resume` restores saved sandbox permissions, the working directory, and workspace roots unless explicitly overridden. (#62194)
- Remote sessions preserve working directories, workspace roots, and writable paths when the client and server run on different operating systems. (#62375, #62376, #62377)
- Codex reports provider errors as soon as they arrive in a response stream and identifies which API spend limit was reached. (#62329, #62356)
- Interrupting a parent turn preserves queued replies from child agents for the next turn. (#62348)
- Use `PageUp` and `PageDown` to read and submit answer choices that are taller than the terminal’s answer area. (#62209)
- Cloud replies that finish after history loads now update in place, keeping the terminal transcript in order. (#62403)

## Documentation

- The bundled `openai-docs` skill now covers migration to GPT-6.2 Astra and Sol, including endpoint choices and tool-calling requirements. (#62447)

## Chores

- Code Mode now uses gRPC for all host connections. The `code_mode_host_grpc` setting is deprecated. (#62476)
- Python formatting and SDK type generation now verify dependency hashes against the repository lockfile. (#62346)

## Changelog

Full Changelog: openai/codex@rust-v0.171.0...rust-v0.172.0

- #62190 Route turn and response checkpoints through the rollout budget policy @anp-oai
- #62192 Distinguish Windows sandbox provisioning timeouts and pipe closures @zm-oai
- #62194 Preserve saved sandbox permissions when resuming `codex exec` @viyatb-oai
- #62200 Add task group navigation to the agent command center @bc-openai
- #62202 Omit unknown server versions from `/status` @bc-openai
- #62205 Keep sandbox preparation with the command through launch @viyatb-oai
- #62206 Prevent duplicate initial context when injection races the first turn @euroelessar
- #62209 Allow paging through long choices in async questions @bc-openai
- #62215 Resolve Linux sandbox mode once before launching the helper @viyatb-oai
- #62222 Allow Bedrock Runtime selection during setup and login @alexsong-oai
- #62225 Tag Guardian review counts with turn origin @cazhang-oai
- #62245 Refactor realtime handoff and history access @zahan-oai
- #62251 Derive realtime input receipts from thread history @zahan-oai
- #62271 Gate local realtime frame history on paginated storage @zahan-oai
- #62274 Support independent refreshes of managed Guardian policy @ioanbudea-OAI
- #62276 Refresh managed Guardian policy independently of MCP @ioanbudea-OAI
- #62284 Use the system clock for in-memory MCP message boards @jif-oai
- #62288 Persist realtime handoffs before accepting turn input @zahan-oai
- #62292 Route injected plaintext agent mail through the native mailbox @jif-oai
- #62299 Preserve pending realtime speech when a call ends @zahan-oai
- #62302 Route local MCP board notifications through response item injection @jif-oai
- #62308 Extract Guardian verdict execution and pending-action context @felixxia-oai
- #62309 Use attached Guardian reviewers for synchronous approvals @felixxia-oai
- #62310 Use Guardian V3 board evidence for synchronous approvals @felixxia-oai
- #62314 Keep authorization evidence local to agent forks @rhan-oai
- #62317 Move sandbox preparation into platform backends @viyatb-oai
- #62320 Trace MCP binding capture and tool catalog refresh @bkotsopoulos
- #62325 Accept inbound Noise connections in remote exec-server @richardopenai
- #62326 Measure plugin recommendation latency during initial context setup @bkotsopoulos
- #62329 Report API spend limit errors by scope @apcha-oai
- #62331 Migrate the Windows MXC sandbox to the public V1 SDK @iceweasel-oai
- #62332 Open Codex thread links inside the TUI @bc-openai
- #62335 Let users open the command center from provider error screens @bc-openai
- #62337 Box the config reload future for persistent MCP tool approvals @dylan-hurd-oai
- #62338 Account for macOS voice build parallelism in Bazel @dylan-hurd-oai
- #62343 Add slash command argument completion to the TUI composer @bc-openai
- #62346 Verify dependency hashes when running Python repository tools @colby-oai
- #62348 Preserve queued agent messages when a parent turn is interrupted @jif-oai
- #62350 Support piped I/O when starting Seatbelt sandbox commands @charliemarsh-oai
- #62353 Add a shared sandbox launcher for Linux and macOS @charliemarsh-oai
- #62354 Treat statusless bio and cyber policy errors as terminal @charliemarsh-oai
- #62356 Surface Responses stream errors as soon as they arrive @charliemarsh-oai
- #62357 Report why turn critical path capture is incomplete @akak-oai
- #62358 Reserve credential permission tables in Codex configuration @viyatb-oai
- #62360 Allow per-tool approval reviewers for Codex apps @jameswt-oai
- #62362 Make sidebar file preview errors easier to act on @fcoury-oai
- #62366 Enable lazy startup for stdio MCP servers by default @charliemarsh-oai
- #62370 Share config layer entries across snapshots @charliemarsh-oai
- #62372 Make Guardian V3 routing and retrieval guidance configurable @felixxia-oai
- #62373 Add opt-in in-memory message boards for Guardian v3 @felixxia-oai
- #62374 Reconsider denials in attached Guardian reviews @felixxia-oai
- #62375 Preserve app-server thread working directories across platforms @etraut-openai
- #62376 Preserve sandbox writable roots across client and server platforms @etraut-openai
- #62377 Preserve workspace roots across client and server platforms @etraut-openai
- #62378 Remove the 4,000-byte prompt limit for `thread/sample` @keyz
- #62382 Skip the sandbox denial wait when unified exec output closes @richardopenai
- #62384 Centralize transcript overlay input routing @fcoury-oai
- #62386 Prepare managed proxy settings once per sandbox command @viyatb-oai
- #62387 Expose custom status lines in `/experimental` @joesavona
- #62388 Support optional Apps tool results in Responses requests @ssetty-oai
- #62389 Pause runtime sandbox integrity checks @iceweasel-oai
- #62390 Highlight clickable links and controls on hover in the fullscreen TUI @fcoury-oai
- #62392 Pass eligible connector results through to ChatGPT Responses @ssetty-oai
- #62400 Test saved chat hover highlighting in the sidebar chooser @fcoury-oai
- #62403 Reconcile unfinished Cloud replies in the TUI transcript @bc-openai
- #62407 Deduplicate large tool output strings in rollout traces @cassirer-openai
- #62415 Enable network access in the shell snapshot filesystem test @TAFOYA-OAI
- #62419 Allow per-sample model overrides in `thread/sample` @keyz
- #62420 Box the future returned by response item injection @charliemarsh-oai
- #62421 Reject provider query parameters for connector result passthrough @ssetty-oai
- #62423 Include nested Apps tool results in Code Mode sampling requests @ssetty-oai
- #62430 Support tool-specific JavaScript preloads in Code Mode @hlevy-openai
- #62432 Add opt-in OAuth discovery to config server loaders @vishnu-oai
- #62434 Expand connector result metadata coverage across auth configurations @ssetty-oai
- #62435 Let extensions attach metadata to MCP tool requests @tepman-oai
- #62437 Defer Git worktree status until the turn starts @ningyi-oai
- #62439 Add Windows MXC sandbox launch diagnostics @iceweasel-oai
- #62447 Update the `openai-docs` skill for GPT-6.2 @kkahadze-oai
- #62474 Send authorized connector results over Responses WebSockets @ssetty-oai
- #62476 Use gRPC for all code-mode host connections @cconger
- #62477 Box the thread startup future in `spawn_thread` @charliemarsh-oai
- #62489 Honor elastic budgets for attached Guardian reviews @felixxia-oai
- #62496 Refresh managed Guardian policy across Codex threads @ioanbudea-OAI
- #62499 Expose Daybreak availability in model discovery @igorrybalka-oai
- #62507 Add Statsig counters for `exec_command` latency @jif-oai
Merges exact Codex release rust-v0.172.0 into the reviewed Zuno source 70e9610.

Zuno-Source-Commit: 70e9610
Zuno-Upstream-Tag: rust-v0.172.0
Zuno-Upstream-Commit: 3d86e43
@sunerpy sunerpy added the upstream-sync Codex upstream release candidate prepared by automation label Nov 30, 2026
Release Fixture Maintainer added 2 commits November 30, 2026 19:03
codex-app-server 与 codex-tui 在 15 GB Windows 容器里并行做 LTO 编译时 LLVM 内存不足。整个构建改成 --jobs 1 会超出 180 分钟上限,所以只在 Windows 上把失败的那一遍以单任务重试一次,并行阶段已经编好的 crate 会被复用。
0.172 的 codex-app-server 与 codex-tui 并行做 LTO 编译时,15 GB 的 Windows large 容器在两个并行任务下就内存不足;上一个提交的单任务重试实测在 180 分钟内跑不完(最终链接的 ThinLTO 只剩一个线程)。Windows 两条腿改用和 Linux 相同的 instance-size:xlarge(72 GB、36 vCPU)与 8 个并行任务,并去掉重试。
@sunerpy
sunerpy merged commit 823ba9b into main Nov 30, 2026
14 checks passed
@sunerpy
sunerpy deleted the upstream-sync/0.172.0 branch November 30, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream-sync Codex upstream release candidate prepared by automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(upstream): Codex rust-v0.167.0 candidate has replay conflicts