Skip to content

chore(upstream): sync Codex 0.161.0 - #294

Merged
sunerpy merged 156 commits into
mainfrom
upstream-sync/0.161.0
Oct 8, 2026
Merged

sunerpy merged 156 commits into
mainfrom
upstream-sync/0.161.0

Conversation

@sunerpy

@sunerpy sunerpy commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

同步 Codex rust-v0.161.0(979011409d)到 Zuno main(abbe5f96ab)。这是手工解决的候选:巡检报告的冲突见 #292,因此需要手工合并,不会自动合并。上游的 tag 已经推出,但截至目前 GitHub release 页面还没有发布;releases/latest 仍显示 0.160.1。

Closes #292

冲突解决(改名重放之后剩下的 4 个)

  • codex-rs/Cargo.toml:两侧在同一处插入依赖。保留上游新增的 codex-windows-sandbox-test-support,并保留 Zuno 的 zuno-workflows、zuno-acp。
  • codex-rs/app-server/src/lib.rs:上游去掉了文案末尾的句号;Zuno 这里有改名,并删除了 untrusted 策略的拒绝函数。结果为 "Zuno rebuilt its local database",同时保持该函数删除。
  • startup_draft_full_frames.snap:冲突只在 assertion_line 一行,以重跑测试得到的渲染结果为准。
  • AGENTS.md:上游在 #49713 中删除了仓库内的 Codex 指南。Zuno 保留自己的版本(含 Zuno 规则),今后由 Zuno 自己维护。

适配上游 API 变化

  • zuno-workflows/src/ledger.rs:SqliteConfig::open_read_write_pool 改为返回 anyhow::Result。现在如果底层是 SQLite 错误,仍映射为 Database 变体。
  • core/src/thread_manager.rs:ResumedHistory 新增了 history_revision 字段。Zuno 的分页子代理 fork 路径会重新组装 fork 快照,所以这里填 None。
  • app-server/src/message_processor.rs:上游新代码在门禁 clippy(-D warnings)下触发 let_and_return,改为 as _ 写法。
  • core/src/lib.rs:加上 #![recursion_limit = "256"](tui、app-server、exec 等已有)。门禁的 cargo check --release -p codex-cli --bin zuno 在计算 request_plugin_install 异步 future 的布局时超过默认的 128 层(queries overflow the depth limit);本地已确认不加时失败、加上后通过。

上游新写的文案与测试(漏改的品牌和 home)

  • 文案改名:
    • mcp_processor.rs 中企业 MCP 认证的提示;
    • tui/src/daemon_startup.rs 中管理员启动的警告(要与新快照一致);
    • exec/src/lib.rs 中的 zuno exec review;
    • app-server/src/lib.rs 中 Moved damaged Zuno local database file:Zuno 原本已改名,这次被上游重写后又变回了 Codex。
  • 测试断言和快照:
    • sqlite_recovery.rs;
    • key_chords.rs 的 inline 快照;
    • startup_tip_in_transcript.snap 的版本号。
  • 测试里子进程的 home 改为 ZUNO_HOME。用 CODEX_HOME 起不到隔离作用:
    • cli/tests/app_server_daemon.rs、cli/tests/daemon_startup.rs;
    • app-server/tests/suite/v2/account_enterprise_tests.rs;
    • core/tests/suite/mcp_storage_telemetry_tests.rs;
    • rmcp-client/tests/streamable_http_recovery/telemetry_tests.rs。
  • 刻意没有改的:
    • config/src/tui_keymap.rs 的 keymap 提示:这些源文件本身仍写 Codex,对应的 CLI 快照也保持 Codex;
    • app-server-daemon/src/background_command.rs 读取 CODEX_HOME:保持上游原样。这段 daemon 代码在 Zuno 中走不到,而上游自己的 update-loop 测试依赖这个行为。

派生产物

  • cargo update --workspace
  • write_schema_fixtures.py,运行两次(UV_PYTHON=3.12)
  • codex-write-config-schema

本地验证

  • 全工作区 cargo check --all-targets 通过(排除 codex-voice-host,原因是缺 gstreamer)。
  • 门禁同款 clippy(-D warnings)通过;cargo fmt --check 通过。
  • 完整的 codex-tui 和 codex-app-server 测试套件:剩下 34 个失败,在当前 main 上同样失败,没有新增失败。失败项为:
    • cloud_config_bundle ×4
    • daemon_update_recovery ×17
    • ide_context::ipc ×5
    • update 相关快照 ×6
    • plugin_list ×1
    • command_exec ×1
  • 针对性测试全部通过:sqlite_recovery、workflow、key_chords、warning_notice、startup_draft、enterprise、rmcp telemetry、core storage telemetry、cli app_server_daemon。
  • cli daemon_startup 的 10 个测试在 main 上同样全部失败(Zuno 禁用了 managed daemon)。

felixxia-oai and others added 30 commits September 29, 2026 11:51
## Why

Copying executable fixtures in the test process can expose writable file descriptors to sibling spawns. The shared `copy_executable` helper completes copies in a separate process on Linux before launching the fixtures.

## What changed

Use `copy_executable` for both `codex-linux-sandbox` and `bwrap` in `bazel_build_rejects_tampered_bundled_bwrap`, and add `codex-utils-cargo-bin` as a Linux test dependency.

GitOrigin-RevId: 05fb1381eeefb64568b525925c9e81863acc2b54
## Why

Missing retained root instructions could indefinitely block a worker's matching low-risk cached score from approving an action.

## What changed

Require complete retained local context for cached approvals, while allowing incomplete root context when the cached score matches the current authorization. Root omissions remain visible to the classifier.

## Testing

Extend the cached-delivery regression test to verify that a worker with complete local context and an `IncompleteRootInstructions` marker can approve using a matching low-risk cached score.

GitOrigin-RevId: 06feda47fe47feb933c67239d32bf154b2032615
## Why

Configuration reloads must honor current managed restrictions without granting new enterprise MCP authority to existing sessions or overwriting newer configuration with stale snapshots.

## What changed

- Allow enterprise managed authentication only for configured MCP servers. Remove plugin `ema_auth` overlays from the schema and disable servers that still use them.
- Refresh ordinary MCP settings while preserving session settings and initially admitted enterprise registrations. Disable enterprise MCP when its registration changes, policy revokes access, or configuration loading or resolution fails; require a new session to restore enterprise authority.
- Publish refreshes only when their captured configuration is still current, with bounded retries in app-server reloads. Preserve updated managed restrictions even when a refresh is rejected.
- Finish processing other thread refreshes before `config/mcpServer/reload` reports a rejection, and document that an error can accompany partially applied changes.

## Testing

Add regression coverage for stale refreshes, bounded retries, managed-policy revocation, persistent enterprise disablement, ordinary MCP transport changes, and rejection of plugin enterprise authentication. Verify that denied enterprise servers receive no requests.

GitOrigin-RevId: 34429cd339c1ec152a2ee8697cb29f0cff5d9e5f
## Why

Restoring the error mode with `SetErrorMode` can overwrite the failure code from `CreateProcessWithLogonW`, causing `RunnerLogonError` to report the wrong error.

## What changed

Capture `GetLastError()` immediately after a failed runner launch, before restoring the previous error mode, and use the saved code for `RunnerLogonError`.

GitOrigin-RevId: c0f4267232306be4d06e7e8accd60f7b77b8d6f3
## Why

Steering and recovery requests can have different traces from the turn they join. Sampling can also finish while tools remain in flight. Tracing needs to preserve that correlation and distinguish sampling time from time spent waiting for tools.

## What changed

- Add `codex.turn_input` spans with `conversation.id` and the accepted `turn.id` for started, steered, and recovered turns.
- Add sampling, tool-blocking, and automatic and manual compaction spans with `codex.turn.phase` and conversation and turn IDs. End the sampling span before draining outstanding tools.
- Emit a `codex.mailbox_preemption` event when pending mailbox input preempts sampling.

## Testing

Add integration coverage for cross-trace steering and recovery, sampling and tool-blocking boundaries through a blocked dynamic tool, and completion or interruption. Extend mailbox preemption tests to check event emission with preemption enabled or deferred.

GitOrigin-RevId: 59893c2d463c02cbd05f5c332e5afc2351cc8b62
GitOrigin-RevId: b165bcc82473b5896f830ad8e56cca06b6f8bf7a
## What changed

Add `features.multi_agent_v2.message_board_remote` with a board URL and a bearer token supplied directly or through an environment variable. When configured, use the remote board in preference to local or in-memory storage, including in ephemeral sessions, while preserving the existing board tools and session identity.

Ignore remote board settings in project-local configuration and use the runtime HTTP client and clock for remote requests.

## Testing

Add a mock-server integration test and snapshot covering an ephemeral session posting through the existing tool, with the expected bearer authentication, session identity, timestamp, and returned post.

GitOrigin-RevId: 263413d90a1ee4c0bdba8c1b08ba9f68bdd7a986
…oads (#49269)

## Why

Reloads can reject a valid thread configuration when the host configuration references a missing model provider that thread overrides replace. Concurrent cloud refreshes can also leave older policy snapshots or staged cache writes eligible for publication.

## What changed

- Compose preserved session layers before materializing refreshed configuration, retaining source-aware validation errors.
- Carry cloud policy revision bindings through config loading and role overrides. Reject stale MCP refreshes and disable enterprise MCP authorization when the policy is suspended. Retire the old policy when replacing or clearing its loader.
- Stage cloud cache writes in temporary files and publish them atomically only while their policy revision remains current.
- Route file reloads through the shared runtime refresh path, resolve paths relative to each config file, and preserve session settings. Restore host defaults for `secret_auth_storage` and `mcp_oauth_refresh_coordination` when explicit overrides are removed.

## Testing

Add regressions for thread-provided model providers, managed plugin and feature requirement refreshes, stale and suspended policy snapshots, superseded and retired cache writes, and file reloads preserving runtime settings and restoring feature defaults.

GitOrigin-RevId: 3280a2445eeb7074a142f720690bb0e4f01d174b
…s (#49275)

## Why

Responses prewarm can reconnect and consume scripted WebSocket replies intended for realtime conversations when both share a test server.

## What changed

- Give realtime conversations a separate scripted server in tests for runtime replacement, prompts, and voice selection.
- Disable Responses WebSocket prewarm in the audio/text round-trip test while preserving coverage of the default realtime endpoint.
- Update connection counts and request assertions to address only realtime connections.

GitOrigin-RevId: 8e3b5ac86ee80777cf94063db468c80203966999
## Why

The app server previously rejected OAuth login for enterprise-managed MCP servers. These servers need an explicit sign-in flow that ties saved authorization to the active Codex user and workspace and prevents canceled or superseded attempts from saving credentials.

## What changed

- Enable enterprise sign-in through `mcpServer/oauth/login` for configured servers with a connected thread, trusted IdP registration, and `features.use_xaa` enabled. Scope shared enterprise credentials by user, workspace, issuer, and client ID.
- Add `loginId` to MCP OAuth login responses and completion notifications, preserving compatibility with older servers that omit it.
- Support enterprise login replacement and `account/login/cancel`, wait for callback listener shutdown before replacement, and recheck account and configuration before saving grants. Fence stale attempts across processes and account changes.
- Remove shared enterprise authorization during account logout and `codex mcp logout`, including when the feature is disabled. Continue account logout if enterprise cleanup fails, and invalidate MCP runtimes on account changes.

Start a fresh session after successful enterprise sign-in to use the saved grant.

## Testing

Add regression coverage for login replacement and cancellation, callback port reuse, account changes during setup, cross-process logout invalidation, persisted workspace policy selection, cleanup failures, and responses from older servers without `loginId`.

GitOrigin-RevId: 7ed4caaab4659ed1e67064262cf5cee48e3a26ac
## Why

`TurnComplete` can arrive before the previous turn finishes teardown, making `start_turn_if_idle` race with cleanup in the encrypted parent reply scenario.

## What changed

Submit the reply through `Op::InterAgentCommunication` so it queues through the same mailbox path as real agent messages. The scenario continues to verify that the encrypted parent reply appears exactly once in each incremental Guardian review.

GitOrigin-RevId: 3d356c274442aa839324b9425490feafacd47313
## Why

Stale thread capability roots can reconnect executors that are not selected for the current turn and shadow selected roots with the same ID.

## What changed

Filter out roots whose environments are absent from the turn snapshot before deduplication and readiness resolution. Update app-server capability tests to explicitly select the executor environments used by each turn, including after resume.

## Testing

Add regression coverage for full-access and workspace-write permissions, verifying that stale roots never connect an unselected executor, selected roots with matching IDs remain available, and turns with no environments expose no roots.

GitOrigin-RevId: afe375047cc5e8aad06df83334149510460dcdcc
Replace the three optional fields in `AttachmentState` with `Attached` and
`Detached` variants, making inconsistent field combinations unrepresentable.
Keep the connection ID in both variants and the expiration deadline only in
`Detached`, and update attachment and expiration checks to match on the state.

GitOrigin-RevId: 6a5f05f0ce2f064acc8f5cacd00bc374c4f47986
## What changed

Allow users with an active session to start MCP OAuth sign-in through `/mcp login <name>`. Request login through the app server, open the authorization URL in the browser, and display success or failure in the originating thread.

Guard overlapping start requests and track login attempts per server so stale retry completions do not overwrite current results. Skip opening the browser when the attempt has already completed, and retain results across thread switches and session refreshes.

## Testing

Add command dispatch coverage and regression tests for overlapping starts, stale retry completions, rejected starts, independent server logins, and result retention across thread switches and session refreshes.

GitOrigin-RevId: aeec2dbee566660f9aa26ef23039196ef3ca49d6
…#49294)

## Why

Guardian review and classification telemetry lacks the context mode needed to distinguish `legacy`, `independent`, and `thread_owned` reviews.

## What changed

- Add `guardian_context_mode` to review and classification analytics and `context_mode` to their metrics.
- Capture the mode from the conversation history snapshot before review preparation or classification setup so failure metrics retain it, including when review preparation or reviewer startup fails.
- Use `unknown` for review metric tags when no context mode is available.

## Testing

Update metric assertions to cover `thread_owned` classification tags and the `unknown` review fallback.

GitOrigin-RevId: 79f7d11b3e4ccfc53681890d75fbc7c54e1ce7de
## What changed

Replace the custom recursive JSON canonicalizer with `serde_json::Value::sort_all_objects()` before hashing configuration values, preserving existing fingerprints.

## Testing

Add a regression test that checks reordered keys in nested tables and tables inside arrays produce the same existing fingerprint.

GitOrigin-RevId: 890e79865a1d690adea3b35f19fcc6c30dbd17ce
## Why

Batch thread name lookups read the entire append-only session index even when all requested names could be found near the end.

## What changed

Use `ReverseJsonlScanner` in `spawn_blocking` for `find_thread_names_by_ids`, stopping once every requested ID has a usable name. Preserve the latest nonempty, trimmed name for each ID while skipping malformed entries.

## Testing

Add regression coverage for renamed threads, whitespace-only names, Unicode, reads across chunk boundaries, malformed entries, a partial final write, and missing IDs.

GitOrigin-RevId: 2ab9254ba8b718fe3e02c47fc9b0de20c09fd10f
## Why

Parsing multiple tag delimiters in a chunk repeatedly drained the pending
buffer, shifting its remaining contents after each delimiter.

## What changed

Track a consumed offset in `InlineHiddenTagParser::push_str` and drain the
buffer once after processing the chunk, preserving partial delimiters for
the next chunk.

## Testing

Add a regression test comparing visible text and extracted tags against
single-chunk parsing at every UTF-8 character boundary. The input covers
non-ASCII text and delimiters, adjacent tags, an empty tag, and an unfinished
tag at end of input.

GitOrigin-RevId: 18bfbfdb81060ffda30901d5cb82ee5804878b09
## Why

Thread name resolution performs a separate SQLite metadata lookup for each thread. Batch these reads to reduce database queries for large result sets.

## What changed

Add `StateRuntime::get_threads` and use it in `resolve_thread_names`. Fetch metadata in batches of at most 999 IDs to stay within SQLite's bind limit, skipping missing or invalid records independently so valid metadata remains available.

## Testing

Add regression coverage for reads spanning multiple batches, invalid and missing records, duplicate IDs, and empty input.

GitOrigin-RevId: a403416f1da5adea56705c70839850760d3eb550
## What changed

Use `ConsoleMode::NoWindow` for legacy Windows sandbox capture and non-TTY unified execution, enabling `CREATE_NO_WINDOW` for these piped processes.

## Testing

Extend the PowerShell interrupt and capture tests to assert that `GetConsoleWindow()` returns null before checking process termination and descendant survival.

GitOrigin-RevId: dcc3b5554986ab0280748e5fa7080d36ded3d673
## Why

A subagent stopped by repeated Guardian denials remained interrupted without notifying its parent. The parent needs guidance to report the stop and wait for explicit user confirmation before continuing the blocked work.

## What changed

Forward `TooManyDenials` interruptions from `MultiAgentV2` children to their parents with Guardian-specific guidance to inform the user and avoid resuming or retrying until the user explicitly confirms. Preserve the child's `Interrupted` status and keep ordinary interruptions silent.

## Testing

Add integration coverage for parent notifications under `CircuitBreakAction::Strict`, silence under `CircuitBreakAction::Default`, and preservation of the child's interrupted status. Add a unit test ensuring long denial messages stay within the notification token limit while retaining the guidance.

GitOrigin-RevId: c9bb90827393068d9c92edaf0443a52e6ff57f9f
GitOrigin-RevId: c6d6d0bce393a37eac79fa1ee32c7d8641ce3596
Add `gpt-6.1-sol` to the bundled model catalog with its capabilities,
reasoning levels, and availability message. Give it the highest catalog
priority and update older Sol descriptions to reflect their generations.

Update startup, model picker, and tool catalog snapshots to reflect the
new default and catalog contents.

GitOrigin-RevId: 1092a0524c6d1813ddd600c31c4fd0e708294ae9
## Why

`CreateProcessWithLogonW` failures with `ERROR_SERVICE_ALREADY_RUNNING` (1056) previously aborted sandbox startup without retrying. At this stage, neither the runner nor the user command has started, so retrying does not replay the command.

## What changed

Retry runner creation once with the same sandbox credentials when logon returns error 1056. Propagate a second failure without refreshing credentials, and keep child startup errors with the same code ineligible for this retry.

## Testing

Add regression tests for recovery, the two-attempt limit, and exclusion of child startup failures. Add a unified exec test that injects a logon failure, verifies that the retry preserves the original request and credentials, and checks that the command runs exactly once.

GitOrigin-RevId: 78def6cdb93bf32f9b4a3e398cd16de83286fec4
…s (#49330)

## Why

Reaching the reconnect backoff cap reset the attempt counter, restarting fast retries during sustained failures such as HTTP 409 responses indicating that the remote app server is already online.

## What changed

Keep the reconnect delay at the 30-second cap and stop advancing the backoff exponent once capped. Successful connections and auth changes still reset backoff. Remove logging for the obsolete reset-at-cap behavior.

## Testing

Add regression tests for long failure streaks and repeated HTTP 409 handshakes, with and without a subscribe cursor. Verify capped retry intervals, recovery after a successful handshake, backoff reset on success, and preservation of enrollment and cursor state.

GitOrigin-RevId: 56e3f10ec5ceeced5a71397a99ca22b75dd5ef52
## Why

Canceled RPC calls could leave entries in the pending request map until further traffic or disconnect. Cleanup should happen when the call is dropped, even if no response arrives.

## What changed

Use a `PendingRequestGuard` to remove each registration when its call completes or is canceled. Protect the pending map with a synchronous mutex so cleanup can run in `Drop`, replacing opportunistic pruning and explicit error-path removals.

## Testing

Add a regression test that drops an in-flight call and verifies that the pending request count immediately reaches zero without further traffic.

GitOrigin-RevId: 82c0629f37a2f4bb89b8d10e167e2a09765b26eb
## What changed

Add `openai.gpt-6.1-sol` to the Bedrock Mantle catalog and its `global.` and `us.` variants to the Bedrock Runtime catalog. Make GPT-6.1 Sol the default and provider fallback model, preferring the global variant for Runtime. Keep existing models available.

## Testing

Update catalog and provider assertions, thread-start fallback tests, and TUI model-picker snapshots to cover GPT-6.1 Sol and the new defaults.

GitOrigin-RevId: ec65744ff9409980474cc1faf516beed0b2430da
## What changed

Preserve catalog `multi_agent_version` values instead of forcing V1, allowing models that declare V2 to use it by default. Retain Ultra in supported reasoning levels so it appears in the Astra advanced reasoning picker for Bedrock Mantle and Runtime.

## Testing

Add coverage for preserving configured multi-agent versions, selecting V2 and exposing `collaboration.spawn_agent` and `collaboration.followup_task` without the V2 feature flag, and displaying and selecting Ultra in both Bedrock reasoning pickers.

GitOrigin-RevId: 4fb1336c79b3f86ce12fa5ea81fe2237a300840d
…49353)

## Why

Denied-read policies previously kept explicitly approved commands within their original filesystem restrictions, preventing operations that need broader write access, such as updating Git metadata.

## What changed

- Apply broader filesystem permissions after approval of explicit escalation while retaining the sandbox, denied reads, and network policy. Command allow rules alone do not widen filesystem access.
- Reject escalation when the required local sandbox is unavailable or a remote exec server lacks support for preserving the restrictions.
- Track escalated terminal access so subsequent `write_stdin` calls still require review when stdin approval is enabled.

## Testing

Add coverage for approved and denied escalation, allow rules, remote server compatibility, and stdin approval before input delivery. Add a Windows integration test verifying that an approved `git pull` updates Git metadata while exact-path and glob-based read denials remain enforced. Serialize Windows sandbox integration tests across processes to protect shared test account credentials.

GitOrigin-RevId: 5dce6d41487ee4d39bd795c8d086398ab9794d5b
## Why

Pasting multiple lines into a blockquote previously left subsequent lines unquoted.

## What changed

- Continue the current line's `> ` prefix across pasted lines, including blank and trailing lines, in the TUI composer and embedded answer fields.
- Append two unquoted newlines so typing resumes in the next Markdown block. Preserve quoting when large paste placeholders expand on submission.
- Use a shared edit target for paste context and insertion so selection replacement uses the prefix at the replacement start.
- Keep shell input and provisional startup pastes literal.

## Testing

Add unit tests and rendering snapshots for blockquote pastes, embedded answers, cursor placement, selection replacement, and large-paste expansion. Add textarea tests for forward and backward selections, adjacent elements, and Vim Replace backspace recovery.

GitOrigin-RevId: 525a7951aa16a25d49cc3be98822d0dd0709de97
etraut-openai and others added 24 commits October 1, 2026 04:16
## What changed

- Add the `daybreak` configuration key, defaulting to `false`, with per-invocation overrides such as `-c daybreak=true`.
- Resolve access programs from the model catalog, preferring `daybreak_blue` over `daybreak_red` when enabled and selecting advertised `standard` access when disabled for signed-in ChatGPT accounts. Require the OpenAI provider, a signed-in ChatGPT account, and a compatible model to enable Daybreak.
- Save the choice for new persistent threads and inherit it on resume and fork, including ephemeral forks. Explicit CLI overrides apply only to the current invocation.

## Testing

Add protocol tests for advertised-program selection and exec integration tests for account and provider restrictions, saved choices, ephemeral forks, and invocation-only overrides.

GitOrigin-RevId: ac955f08b5a891e720cfc5f67fabb7b0f6d32bb8
## What changed

Select cyber refusal notices from the current model's `available_access_programs` for ChatGPT accounts using the OpenAI provider. Show Astra-specific guidance only when an Astra model offers standard cyber access without Daybreak access, and use the limited notice when Daybreak access is available. Otherwise, show application guidance.

Remove the separate account eligibility request, background prefetching, and notice cache.

## Testing

Update tests to cover catalog-based notice selection, missing model metadata, isolation from other models' access programs, and rendering the application notice for a cyber policy error.

GitOrigin-RevId: 88e9522bd6ece2d2b9caa6cff01a4178768babb7
## What changed

- Add `/daybreak` with account-aware help and availability messages for broader access for cybersecurity work.
- Save the selection in thread metadata and the `daybreak` default for new threads, restore it on resume, and confirm that it applies to new turns.
- Select `cyberAccessProgram` from the connected server's model catalog. Require a signed-in ChatGPT account, the OpenAI provider, and confirmed model support when Daybreak is enabled, including for faster-model retries. Keep Daybreak disabled for side conversations.

## Testing

Add tests for toggle persistence, turn access-program selection, unsupported-model rejection, side-conversation behavior, command help, and the resumed-thread banner.

GitOrigin-RevId: e3c028b0a6a8e0a862c16fdc766f374aae618ef1
…9859)

## Why

Cyber-policy refusal guidance did not distinguish whether Daybreak was on or off, and policy continuations and background task turns omitted `cyberAccessProgram`.

## What changed

- Show refusal guidance for the current Daybreak setting and offer eligible users an “Enable Daybreak” picker for their next request. Persist the selection without automatically retrying the refused request, and suppress the picker during history replay and when viewing parent-owned threads.
- Select and validate the cyber access program for policy continuations and background task turns using account eligibility, model support, and the thread's Daybreak setting.
- Resolve new background threads' Daybreak defaults from effective configuration unless launch flags or a selected profile explicitly override them. Use the target thread's saved setting for follow-up messages.

## Testing

Add unit, snapshot, and request-recording coverage for refusal guidance, picker behavior, continuation access programs, and background tasks retaining Daybreak after configuration changes.

GitOrigin-RevId: 94dee39c067e8eea5791cb31d5fe65fc600e5a18
## What changed

Add a selectable `daybreak` item to the status line and terminal title, including setup previews and terminal-title validation. Display `Daybreak on` when enabled for the thread and `Daybreak off` otherwise, including during side conversations.

## Testing

Add coverage for on/off rendering and side conversations, update setup preview snapshots, and verify that terminal-title diagnostics accept `daybreak`.

GitOrigin-RevId: b0b7a6f0ee0a107ba4ee2d56113a5b9b6ebd1d41
GitOrigin-RevId: e9fd778114ba5ae958a1864f99621267e33ef6ba
## What changed

Replace `https://chatgpt.com/codex/settings/usage` with
`https://chatgpt.com/settings/usage` in usage-limit errors, the `/status`
card, and backend banner actions. Credit purchase actions retain
`?credits_modal=true`.

## Testing

Update error-message assertions, banner action tests, status hyperlink
assertions, and TUI snapshots to expect the new URL.

GitOrigin-RevId: 1e1db971284a25a781120da30a6dea5ff9c3d957
## Why

Startup presentation needs client preferences before thread initialization establishes effective execution permissions. The startup header should not infer permission state from local configuration.

## What changed

- Load `LocalSettings` directly from bootstrap TOML, preserving preference defaults and overrides, accessibility settings, and audio settings that exclude project layers.
- Use those settings for first-frame presentation and pass `LocalSettings` plus the working directory to the startup draft instead of a full `Config`.
- Stop showing the YOLO indicator in the startup header while execution permissions are unknown.

## Testing

Update tests to compare bootstrap settings with resolved configuration, verify first-frame keybindings and paste preferences with an unresolved permission-profile parent, and snapshot the configured startup header. Adapt startup editor tests to the settings-based interface.

GitOrigin-RevId: f33cf8f42c53a9ddcbe0273491b5a849da9e6808
## What changed

Remove personality from TUI turn commands and cached thread session state, and stop applying personality from thread settings notifications. Send no personality override in `turn/start` requests.

Forward `personality` through session configuration only when explicitly supplied as a CLI override, rather than deriving it from the effective local configuration.

## Testing

Extend configuration override coverage to verify that `personality = "none"` is forwarded only when supplied through CLI overrides.

GitOrigin-RevId: bd3c3bacc90e0561016c0cac557eb1b0e50d32c0
## Why

Background code-mode cells can continue running after a new turn starts. Looking up grants and strict review requirements through the active turn can make those cells lose their approved access or use another turn's permissions.

## What changed

- Keep turn-scoped grants and strict review state in `TurnContext`, retained by captured steps and background cells.
- Record permission responses against the requesting turn, including requests made after a later turn starts.
- Share live session-scoped grants across turns while keeping turn-scoped grants isolated.
- Use the originating turn's permissions and review requirements for tool execution, patches, MCP calls, file uploads, and terminal input.

## Testing

Add regression coverage for background cells retaining grants across turn changes, turn versus session scope, permission requests after the next turn starts, and strict review enabled while `write_stdin` is queued.

GitOrigin-RevId: 641502fbfd43553c2c42424d4aaa53ae8020c850
## What changed

Replace the separate `WorldStateSection::snapshot` method with a typed `SectionTransition` returned by `render_diff`. Snapshot updates and model-context fragments are independently optional; omitting a snapshot preserves the stored comparison state.

Update all section implementations to use this contract, skip snapshot updates for unchanged sections where applicable, and cache the multi-agent usage-hint fingerprint.

## Testing

Adapt world-state and context-history tests to the combined return value, including an assertion that unchanged permissions return neither a snapshot nor a context fragment.

GitOrigin-RevId: 79c1977a87481009ff193ea4cce4546be87458fe
## Why

Executor skill reads need to use the environments and permissions captured for the current step, including newly approved grants. Cached continuation pages must remain bound to the filesystem and permissions that produced them.

## What changed

- Supply borrowed `EnvironmentAccess` to turn-input contributors and extension tools, with session and originating-turn grants already applied.
- Require executor skill reads to use filesystem access from an environment available to the callback, and replace separate optional read contexts with `SkillReadContext`.
- Bind skill pagination snapshots to `EnvironmentAccessKey`, which identifies the source filesystem and callback permissions.
- Route image-generation filesystem operations through the same accessor.

## Testing

Extend skill-read integration coverage to verify that a denied reference becomes readable after a turn-scoped grant is captured by the next model step. Update Windows coverage to verify that restricted reads fail when the executor cannot enforce a sandbox, and add a test requiring turn environment selection before exposing capability roots.

GitOrigin-RevId: 825b49302319965835d61c77fc5bcdb951e10543
## Why

Deserializing keybindings through an untagged enum hides the specific validation error, making invalid `tui.keymap` settings harder to diagnose.

## What changed

Deserialize single keybinding strings and lists by value type so validation errors reach the user. Errors now retain the reason a binding is invalid and the affected configuration key, including when loading configuration for `codex mcp list`.

## Testing

Add TOML regression tests for unknown keys, invalid chord strokes, and overly long chords in both string and list forms. Add a CLI snapshot test verifying that `codex mcp list` reports the invalid keybinding reason and configuration key.

GitOrigin-RevId: 26e3dea93fc43db21e993ea5cf93df53ce93a43e
## Why

Forcing `approval_policy` to `never` on temporary structured threads can trigger configuration warnings when managed requirements allow only `on-request`. These hidden threads also need to reject unexpected interaction requests without prompting the user.

## What changed

Inherit the app server's approval policy when starting temporary structured threads. Reject their server requests before dynamic tool handling or interactive TUI routing.

## Testing

Extend regression tests to verify inherited `on-request` approval without approval-policy warnings, and error responses for recap-thread approval and user-input requests even when the thread is marked active and primary.

GitOrigin-RevId: 2d0a071d3687742c83ba933a7ef1357feea53403
## Why

`codex exec` and the TypeScript SDK need a way to request a Cyber access program for an individual turn. Resuming with an API key can also leave compaction using a saved program that the current credentials cannot access.

## What changed

- Add `--cyber-access-program` with `standard`, `daybreak_blue`, and `daybreak_red`, and expose the equivalent `cyberAccessProgram` turn option and `CyberAccessProgram` type in the TypeScript SDK.
- Apply explicit selections to new, resumed, and prompted fork turns. Override automatic Daybreak selection for that turn without changing the saved choice. Reject the flag for review and forks without a prompt.
- Filter Cyber programs by the built-in OpenAI provider when starting turns and restoring previous-turn settings for compaction.
- Allow previous-model compaction fallback with API-key authentication, comparing both model and program so a program change can trigger a retry with the current pair even when the model is unchanged.

## Testing

Add CLI help, argument parsing, exec, and SDK coverage for per-turn selection and unsupported commands. Extend core tests for API-key compaction retries, denied explicit selections, custom-provider filtering, remote compaction, and WebSocket response reuse.

GitOrigin-RevId: 586f25b621924f3bc509c9a39b39fe2020ff9cd2
… (#49946)

## Why

The asynchronous matcher can return results for the previous query while a new query is still running. Labeling those results with the latest query produces a mismatched search snapshot.

## What changed

Only report a file search snapshot when its pattern atoms match the currently requested pattern. Extract snapshot conversion into `snapshot::for_query`, which skips pending results from an older pattern.

## Testing

Add a regression test that changes the query from empty to `bet`, verifies that the old snapshot is withheld, and checks that the completed snapshot contains `beta.txt` with the expected match indices and counts.

GitOrigin-RevId: 01b62b822db69e15480d3233b66ec55c45646fad
## Why

Short sender replies such as `👍` need preceding assistant context to be understood during a delegation review. User messages alone omit that context.

## What changed

- Capture preceding assistant context alongside up to three recent sender user messages at delivery, for Guardian only. Label assistant messages as untrusted context rather than authorization or verified questions.
- Share the existing 900-byte budget per exchange, prioritize user evidence, and report unavailable assistant context.
- Recognize `cloud_threads.send_message` deliveries and accept both compact and indented delegation envelopes.

## Testing

Expand integration coverage for app, TUI, and cloud-thread deliveries, contextual replies, and budget-driven omissions. Assert that sender user and assistant context stays out of the delegated agent's prompt.

GitOrigin-RevId: 4eca369cbb30241635273f729dec81b78ea57faf
Use `LazyLock` to compile the placeholder regex once and reuse it across
argument strings, avoiding repeated compilation during template expansion.
Preserve regex error propagation and placeholder substitution behavior.

GitOrigin-RevId: 2ac8aec86de3430335c068e47d09422dcd276f7c
## What changed

Add a test that appends an original and updated name for one thread alongside another thread's entry. Verify that lookup returns the updated name and that removing the first thread's name entries leaves only the other thread's entry.

GitOrigin-RevId: cedf260a639f0c0e76aeda0d446559c3821bd911
## Why

Retaining process output, publishing events, and serving reads cloned the underlying byte buffers. Sharing those buffers avoids copying output bytes when chunks are cloned.

## What changed

Store `ByteChunk` bytes in `Arc<Vec<u8>>` and retain `ProcessOutputChunk` values directly. Add borrowed byte access for the MCP process transport while preserving base64 serialization and owned byte extraction through `into_inner()`.

## Testing

Add a unit test covering base64 serialization, deserialization, and independent owned bytes extracted from shared chunks.

GitOrigin-RevId: 6bba114af48424aa844487aa75163cfc604e0575
## What changed

- Add `EmaAuthenticatedHttpClient` to cache and renew resource bearers, serialize concurrent renewals, and include authentication time in the request deadline. Confine bearers to the configured MCP endpoint and reject redirects.
- Return authentication-required errors for `401` responses without replaying MCP operations. Preserve a newer cached bearer when a delayed response rejects an older one.
- Add revocable request authority that cancels pending requests and ends response streams.
- Pin enterprise credentials to a persistent version advanced on save or deletion. Use short credential locks and invalidate rejected grants only when their record and version are still current, preserving newer logins.
- Hide keyring account identifiers from enterprise credential errors and traces while preserving authentication failure classification.

## Testing

Add tests for token expiry and renewal, endpoint confinement, redirects, request deadlines, revocation during renewal and streaming, delayed `401` responses, credential replacement and logout races, and credential error privacy.

GitOrigin-RevId: ee3e5cf7ecbba3d09e1ab29ed4fbb2a35eacc60d
…s (#49993)

## Why

The rolling retained-context window can change as assistant messages are added or evicted. Placing it before the transcript invalidates the reusable history prefix.

## What changed

Move retained user instructions and context after the transcript and action-specific attestations, immediately before the planned action in asynchronous Guardian requests. Keep synchronous section ordering unchanged.

## Testing

Extend the cache-prefix regression test to cover retained assistant message growth and eviction alongside changing attestations. Update app-server and async scorer assertions to verify the new request ordering.

GitOrigin-RevId: 59953d582d4b174ce3e083606626c7532ce0776d
…1207)

Add `features.cli_daybreak`, disabled by default, to gate Daybreak controls and automatic access-program selection in the TUI and `codex exec`. Apply the gate to resumed sessions and background task turns, and hide `/daybreak` when disabled. Explicit `--cyber-access-program` overrides remain available.

Extend tests to cover disabled controls, history replay, foreground and background turn requests, exec resume/fork behavior, and explicit access-program overrides with the feature disabled.

GitOrigin-RevId: ae96a4a8c7ab97c619716b9f39ea9f295df6e5a6
(cherry picked from commit 5ad6891)
- GPT-6.1 Sol is now the default model in the bundled and Amazon Bedrock catalogs. (#49318, #49339)
- Amazon Bedrock supports multi-agent V2 and Ultra reasoning on compatible models; Bedrock Mantle also accepts AWS GovCloud regions. (#49345, #49813)
- Sign in to MCP servers from an active terminal session with `/mcp login <name>`. (#49290)
- Choose your microphone, speaker, and microphone input channels for voice conversations, with preferences saved locally. (#49437, #49836)
- Daybreak is opt-in through `--enable cli_daybreak` or `features.cli_daybreak=true`; `daybreak=true` alone is insufficient. By default, controls and indicators are hidden, `/daybreak` is unavailable, and automatic Cyber routing is omitted—even for saved Daybreak threads. Saved preferences remain intact. Opt-in routing requires eligible ChatGPT sign-in, the OpenAI provider, and advertised model/program support. (#49856, #49858, #49859, #49861, #51207)
- Select a Cyber access program per turn with `codex exec --cyber-access-program` or the TypeScript SDK’s `cyberAccessProgram` option. The explicit exec override remains available with `cli_daybreak` disabled and leaves the saved choice unchanged. (#49939, #51207)

## Bug Fixes

- Approved filesystem escalation can now grant broader write access while preserving denied reads and network restrictions. Background tasks retain their originating turn’s permissions. (#49353, #49880)
- Explicit launch permissions survive terminal reconnects and new sessions, while implicit client settings no longer overwrite server or saved-thread web-search settings. (#49809, #49799)
- Elevated Windows terminal sessions can start using an embedded server, and sandboxed PowerShell preserves relative paths beneath protected user profiles. (#49855, #49690)
- Enter correctly submits buffered input after paste detection expires, including in Vim insert mode. (#49810)
- Thread resume includes the latest committed history. Startup detects recoverable SQLite corruption earlier and preserves damaged databases as backups. (#49599, #49701)
- Responses retries and WebSocket-to-HTTP fallback honor server retry guidance, reducing premature failures during overload. (#49441)

## Documentation

- Authentication guidance now accounts for keyring storage instead of implying credentials always reside in `auth.json`. (#49361)

## Chores

- Publishing an older alpha or hotfix no longer moves npm alpha tags backward. (#49704)

## Changelog

Full Changelog: openai/codex@rust-v0.160.0...rust-v0.161.0

- #49246 Use executable fixture copying in the bundled bwrap test @felixxia-oai
- #49257 Allow Guardian cached approvals with incomplete root context @felixxia-oai
- #49260 Restrict enterprise MCP auth and fail closed on config refresh @nicksteele-oai
- #49261 Preserve Windows sandbox runner launch errors @zm-oai
- #49262 Trace turn phases and correlate accepted input with turns @jif-oai
- #49266 Remove the remote agent message board client README @jif-oai
- #49267 Support remote agent message boards in multi-agent sessions @jif-oai
- #49269 Preserve thread overrides and cloud policy validity during config reloads @nicksteele-oai
- #49275 Isolate realtime conversation tests from Responses prewarm connections @felixxia-oai
- #49276 Enable enterprise MCP sign-in and account-scoped grant cleanup @nicksteele-oai
- #49277 Avoid a turn teardown race in the Guardian agent message test @felixxia-oai
- #49280 Restrict capability roots to captured turn environments @miz-openai
- #49286 Model exec-server session attachment state as an enum @jif-oai
- #49290 Add `/mcp login <name>` to the TUI @nicksteele-oai
- #49294 Record Guardian context mode in review and classification telemetry @felixxia-oai
- #49295 Simplify configuration fingerprint canonicalization @jif-oai
- #49297 Scan the session index backwards for batch thread name lookups @jif-oai
- #49300 Compact the inline hidden tag buffer once per chunk @jif-oai
- #49305 Batch metadata reads when resolving thread names @jif-oai
- #49308 Run piped legacy Windows sandbox processes without a console @etraut-openai
- #49312 Notify parent agents when Guardian stops a subagent @jif-oai
- #49316 Bump taiki-e/install-action to v2.87.21 in CI setup @jgershen-oai
- #49318 Add GPT-6.1 Sol as the default catalog model @andrewgu-oai
- #49325 Retry Windows sandbox runner logon once on error 1056 @zm-oai
- #49330 Keep remote control reconnect backoff capped during sustained failures @yansenzhou-oai
- #49332 Clean up canceled exec-server RPC requests immediately @jif-oai
- #49339 Add GPT-6.1 Sol to Bedrock catalogs and make it the default @celia-oai
- #49345 Enable multi-agent V2 and Ultra reasoning on Amazon Bedrock @celia-oai
- #49353 Allow approved filesystem escalation while preserving denied reads @viyatb-oai
- #49357 Continue Markdown blockquotes when pasting multiline text @bc-openai
- #49360 Carry shell invocation metadata and report executor PATH directories @anp-oai
- #49361 Clarify credential storage wording across authentication UI and docs @celia-oai
- #49369 Update Bedrock GPT-6 Sol catalog tests to expect multi-agent V2 @celia-oai
- #49379 Compile hook matchers during discovery @jif-oai
- #49384 Track credential storage outcomes and redact sensitive errors @celia-oai
- #49388 Fix Windows path inference for opaque URIs with slash prefixes @dkovalenko-oai
- #49389 Serialize tests that share Windows sandbox accounts @jgershen-oai
- #49392 Add attributed MCP OAuth credential storage telemetry @celia-oai
- #49395 Remove randomized greetings from TUI session headers @etraut-openai
- #49401 Preserve live tool-call metadata across request windows @ningyi-oai
- #49403 Add an experimental flag for bundled tools in login shells @anp-oai
- #49406 Support explicit cyber access programs with OpenAI API keys @julee-oai
- #49407 Recover exec-server sessions after environment info timeouts @vivi
- #49408 Compare tool call metadata in the recorder refresh test @euroelessar
- #49411 Bind the app-server time provider to a local variable @euroelessar
- #49414 Filter graceful shutdown guard and trigger traces from SQLite logs @dkovalenko-oai
- #49415 Truncate input text in protocol debug output @dkovalenko-oai
- #49416 Omit payloads from multiline ANSI warnings @dkovalenko-oai
- #49424 Infer Windows UNC paths with forward and mixed slashes @dkovalenko-oai
- #49425 Prune diagnostic logs periodically by age and database size @dkovalenko-oai
- #49426 Enable analytics by default for daemon-launched app servers @bc-openai
- #49432 Preserve bootstrap discovery across authentication changes @cooper-oai
- #49437 Add local audio device selection to TUI voice settings @bc-openai
- #49441 Honor server retry advice across Responses retries and fallback @anp-oai
- #49444 Use `memrchr` to find newlines in reverse JSONL scans @btraut-openai
- #49467 Restore executor tool paths after login shell startup @anp-oai
- #49472 Use server-authoritative permissions in the TUI @etraut-openai
- #49473 Use the rmcp SDK for enterprise-managed token exchanges @nicksteele-oai
- #49475 Complete turn abort callbacks before emitting terminal events @euroelessar
- #49478 Discover and validate MCP authorization servers before ID-JAG exchange @nicksteele-oai
- #49480 Add experimental thread prediction protocol types @keyz
- #49489 Add regression coverage for account switches between analytics batches @anp-oai
- #49517 Add a fork shortcut to the TUI command center @etraut-openai
- #49560 Add an opt-in model catalog to multi-agent context @jif-oai
- #49564 Copy selected file paths as plain text in the TUI @fcoury-oai
- #49584 Skip host skill discovery for Guardian reviews @jif-oai
- #49595 Make the strict network approval test independent of request order @jif-oai
- #49598 Persist explicit user goal edits in model history @felixxia-oai
- #49599 Return authoritative replay history when resuming a thread @felixxia-oai
- #49600 Reuse unchanged history snapshots when resuming threads @felixxia-oai
- #49624 Use server authentication for explicit remote session commands @cooper-oai
- #49642 Allow managed requirements to disable the Windows MXC sandbox @iceweasel-oai
- #49675 Serialize Responses routing fields before large inputs @jbeckwith-oai
- #49678 Escape command drafts when recovering question answers @imac-oai
- #49683 Add a managed feature gate for in-app voice @vishnu-oai
- #49686 Deliver remote message board notifications to active turns @jif-oai
- #49689 Export skill invocation events through OpenTelemetry @jif-oai
- #49690 Preserve PowerShell relative paths in the elevated Windows sandbox @johnl-oai
- #49692 Keep compressed rollout snippet searches on one blocking worker @npancha-openai
- #49693 Move thread history projection into one blocking task @charliemarsh-oai
- #49694 Batch rollout listing scans on cancellable blocking workers @charliemarsh-oai
- #49696 Make exec-server file reads cancellable between chunks @charliemarsh-oai
- #49701 Detect SQLite corruption during startup and preserve recovery backups @dkovalenko-oai
- #49702 Rename exec-server file handle management identifiers @anp-oai
- #49704 Prevent npm alpha dist-tags from moving backward @imac-oai
- #49706 Upgrade the argument comment lint toolchain and Dylint @tamird
- #49708 Move session index I/O off async runtime threads @charliemarsh-oai
- #49710 Classify SQLite corruption using typed error codes @dkovalenko-oai
- #49712 Avoid full-string scans in token-budget truncation @jif-oai
- #49713 Remove repository-local Codex guidance, skills, and environment config @anp-oai
- #49714 Decouple API-key cyber access programs from model discovery @julee-oai
- #49715 Add account security setup reminders to the TUI @dennyku
- #49778 Define exec-server protocol types for streamed file writes @anp-oai
- #49781 Include the environment's MXC backend in MCP sandbox metadata @zm-oai
- #49782 Clean up process groups for failed shell snapshot captures @jif-oai
- #49783 Preserve background thread requests when forking in the TUI @etraut-openai
- #49784 Add a requirements feature gate for the browser annotation API @tepman-oai
- #49785 Persist empty paginated threads when naming them @rd-oai
- #49786 Clarify V2 spawn model override guidance for context catalogs @jif-oai
- #49787 Remove `AGENTS.md` from Bazel core test data @andrewgu-oai
- #49792 Add retained conversation support to Guardian async sampling @felixxia-oai
- #49793 Add conversation mode to Guardian v2 async classification @felixxia-oai
- #49795 Avoid duplicate sync reviews in Guardian classifier continuations @felixxia-oai
- #49796 Deduplicate Guardian retained-context omission notices @felixxia-oai
- #49798 Share cached exec-server environment info with Arc @anp-oai
- #49799 Preserve server web-search settings in the TUI @etraut-openai
- #49800 Allow cleanup of replay-only side conversations with missing threads @bc-openai
- #49801 Update the Rust toolchain action for argument-comment linting @andrewgu-oai
- #49804 Use platform-specific modifier labels in TUI shortcut hints @bc-openai
- #49805 Add capability-gated writable file streams to the exec-server client @anp-oai
- #49806 Accept unknown Codex error variants in the app-server protocol @anp-oai
- #49807 Enable API-key model discovery by default @andrewgu-oai
- #49809 Preserve local launch permissions across TUI sessions and reconnects @etraut-openai
- #49810 Flush expired paste bursts before handling Enter @bc-openai
- #49811 Handle unsupported `fs/writeBlock` requests in exec-server @anp-oai
- #49812 Move shadow skill ranking off the turn preparation path @vkg-oai
- #49813 Support AWS GovCloud regions for Amazon Bedrock Mantle @alexsong-oai
- #49814 Add coordinated shutdown for local agent trees @owenlin0
- #49816 Remove browser-open success messages from the TUI @bc-openai
- #49817 Add an advisory Bedrock GovCloud requirements check @alexsong-oai
- #49818 Use dedicated parameters for sandboxed file opens @anp-oai
- #49819 Recover daemon startup and updater re-exec after cwd deletion @etraut-openai
- #49822 Box the resume future in the agents overview permissions test @sayan-oai
- #49835 Clarify service tier default save errors in the TUI @etraut-openai
- #49836 Allow microphone channel selection for voice conversations @bc-openai
- #49843 Preserve daemon diagnostics and include updater logs in reports @etraut-openai
- #49846 Capture host-supplied extension data for each turn @sayan-oai
- #49847 Persist world-state snapshots alongside rendered context @pakrym-oai
- #49850 Launch Windows daemon children in a dedicated working directory @etraut-openai
- #49852 Improve diagnostics for report attachment failures @dkovalenko-oai
- #49855 Use embedded mode for elevated Windows TUI sessions @etraut-openai
- #49856 Support Daybreak selection in `codex exec` @etraut-openai
- #49857 Use the model catalog to select TUI cyber refusal guidance @etraut-openai
- #49858 Add a persistent `/daybreak` toggle to the TUI @etraut-openai
- #49859 Honor Daybreak settings in TUI continuations and background tasks @etraut-openai
- #49861 Add Daybreak state to the status line and terminal title @etraut-openai
- #49867 Update elevated-launch warning snapshot to use `⌃o` for copy @etraut-openai
- #49874 Point usage and credit links to ChatGPT settings @etraut-openai
- #49875 Decouple TUI startup presentation from execution configuration @etraut-openai
- #49876 Remove personality plumbing from the TUI @etraut-openai
- #49880 Bind permission grants to the originating turn @anp-oai
- #49894 Return world-state snapshots and context updates together @pakrym-oai
- #49898 Scope extension filesystem access to callback permissions @anp-oai
- #49910 Preserve validation errors for invalid TUI keybindings @etraut-openai
- #49912 Respect approval policies in temporary structured threads @etraut-openai
- #49939 Add per-turn Cyber access program selection to exec and the SDK @mldangelo-oai
- #49946 Prevent stale file search results from being labeled with a new query @jif-oai
- #49951 Include preceding assistant context in Guardian sender reviews @jif-oai
- #49956 Cache the placeholder regex for MCP hook argument expansion @jif-oai
- #49959 Test session index thread-name append and removal @jif-oai
- #49972 Share byte buffers across exec-server output chunks @jif-oai
- #49987 Add renewable EMA HTTP authentication and credential versioning @nicksteele-oai
- #49993 Preserve the async Guardian history prefix as retained context changes @felixxia-oai
@sunerpy sunerpy added the upstream-sync Codex upstream release candidate prepared by automation label Oct 7, 2026
Merges exact Codex release rust-v0.161.0 into the reviewed Zuno source abbe5f9.

Zuno-Source-Commit: abbe5f9
Zuno-Upstream-Tag: rust-v0.161.0
Zuno-Upstream-Commit: 9790114
@sunerpy
sunerpy force-pushed the upstream-sync/0.161.0 branch from c9fb83e to a2d85d4 Compare October 8, 2026 01:16
@sunerpy
sunerpy merged commit decca1d into main Oct 8, 2026
14 checks passed
@sunerpy
sunerpy deleted the upstream-sync/0.161.0 branch October 8, 2026 03:39
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.161.0 candidate has replay conflicts