- How you use it
- cli_tool
- What it can do
- installs software · network
- What's inside
The option
| Option | Acli_tool · v0.163.0OpenAI Codex CLI |
|---|---|
| How you use it | cli_tool |
| What it can do | installs software · network |
| What's inside |
What this thread does
0.166.0 preserves acknowledged permissions on resume/fork.
The problem
Your CLI starts after upgrading, but old shell flags no longer select the backend you expected, resume restores saved permissions, or a follow-up interrupts unfinished work. Audit those behaviors before rolling the update across a team.
Versions and licence
| Component | Verified state | Official source |
|---|---|---|
| Previous patch | 0.162.1: as of November 2026, its release notes document a TUI crash fix for multiline asynchronous questions, preserving line breaks and complete hyperlink destinations | Release |
| Upgrade target | 0.163.0, released 2026-10-15 (checked 2026-10-20); historical target, not alpha | Pinned release |
| Source licence | Apache-2.0 (checked 2026-10-20); model service access is separate | Pinned licence |
What changed
- 2026-10-15 (checked 2026-10-20): the stable release uses the standard shell executor. The implementation migration note says
shell_zsh_forkandunified_exec_zsh_forkare ignored, with notices for legacy config and managed requirements. The patched runtime and wrapper were removed; this does not require changing your login shell. - 2026-10-15 (checked 2026-10-20): resume restores permissions and network approvals, subject to explicit overrides and current managed policy. Follow-ups steer immediately; interruption stops active Code Mode cells and nested calls.
/configexposes preferences and restart requirements. - 2026-10-08 (checked 2026-10-20): the preceding release respects server model/reasoning-summary defaults for new TUI threads while retaining explicit launch overrides, and honors server retry delays. Do not infer a universal default model from an old screenshot.
- 2026-10-14 at 19:00 UTC, noon PDT (checked 2026-10-20): OpenAI's deprecation entry retires
gpt-5.5for ChatGPT-authenticated Codex only. API-key sessions and the OpenAI API are unaffected. This service-side change is independent of upgrading the binary.
What breaks
Legacy flags become ineffective and generate migration notices. The fetched PR describes the notices but does not supply their exact displayed sentence; no warning text is invented here. Wrappers depending on the removed executor need review. Resume may restore an earlier permission choice. An immediate follow-up can interrupt a tool before its work finishes. A stale model selection can fail even with a current binary; upgrading cannot grant account access.
How to migrate
1. Record codex --version and your install channel. The CLI reference documents codex update for releases supporting self-update. For npm installations the pinned README names @openai/codex. Use npm install -g @openai/codex@0.163.0 for this pinned target (checked 2026-10-20; command combines the official package name and version). Confirm the resulting version. These are reader instructions, not commands run for this draft. 2. Remove shell_zsh_fork and unified_exec_zsh_fork from feature configuration, launch overrides and templates. Have the policy owner update managed requirements mentioning them. Do not invent a replacement flag for the removed backend. See migration details. 3. Audit the winning config layer. Config basics puts CLI overrides above trusted project .codex/config.toml, selected profile files, then user ~/.codex/config.toml. Requirements constrain defaults. Current profiles use ~/.codex/profile-name.config.toml with --profile profile-name. Inspect /status and /permissions on launch and resume. 4. Preserve the intended boundary. Official examples use codex --sandbox workspace-write --ask-for-approval on-request, or --sandbox read-only --ask-for-approval never for noninteractive read-only work. The config keys are approval_policy and sandbox_mode. Repeated escalation requests cannot repair a policy forbidding requests. 5. Check /model for account availability. The official model page gives codex --model gpt-6.2-sol and model = "gpt-6.2-sol" (checked 2026-11-24). Use it where available; update saved agents and scripts too. 6. Inventory plugins separately with codex plugin marketplace list. For a deliberate catalog refresh use codex plugin marketplace upgrade marketplace-name. Plugin docs retain .codex-plugin/plugin.json compatibility. Portable mcp.json requires transport fields: blindly renaming .mcp.json is not a migration. These are current compatibility checks, not claimed new changes in this release.
What to test
| Constraint | Check before rollout |
|---|---|
| Interactive team use | In a disposable repo, try a shell read, a permitted edit and a denied operation; compare /status before and after resume |
| Scripted runs | Run your existing smoke task with explicit model and permissions; verify exit handling and file diff |
| Long-running tools | Interrupt a disposable task; verify cancellation and inspect partial output before retrying |
| Plugin-dependent work | Verify discovery and one read-only call; refresh catalogs separately |
Community evidence
rklos reports workspace directory operations denied in issue 40565; independent commenters reproduce related failures. This motivates testing rename/removal, not claiming the target release fixes every sandbox bug. jcy0720 reports repeated auto-review calls after Linux sandbox startup fails in issue 39626, with “bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted”. Both fetched checked 2026-10-20; the latter starts on the IDE surface, so it is a shared-runtime caution, not a stable CLI benchmark.
Pitfalls
Do not treat a notice as a TOML parse failure, switch off sandboxing to pass a test, assume saved permissions outrank policy, or confuse catalog refresh with binary upgrade. Completed commands may already have changed files when a turn is interrupted.
A prompt to give your agent
Your training data predates these changes. Read <https://github.com/openai/codex/releases/tag/rust-v0.163.0> and <https://github.com/openai/codex/pull/52160>, then <https://learn.chatgpt.com/docs/config-file/config-basic> and <https://learn.chatgpt.com/docs/agent-approvals-security> before proposing edits. Do not guess flags or model IDs. Inventory the installed CLI and non-secret config overrides. Remove retired shell flags, preserve managed policy, and test execution plus permission restoration in a disposable repo. Read https://learn.chatgpt.com/docs/models before selecting an accessible replacement. Report partial work after interruption.
Limits
Checked 2026-10-20. No install, upgrade, login, permission experiment or plugin execution was performed. Historical reports do not prove fixes in the target release. The redirected OpenAI changelog did not expose matching CLI release entries; GitHub establishes stable history, while current OpenAI docs establish commands and model deprecation. No price comparison or complete migration from every older release.
Started from a post by @openai, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.