Formingcli_toolpublished fresh until

Codex CLI 0.162.1 → 0.163.0: how do I migrate shell settings?

Summary Codex CLI 0.163.0 (checked 2026-10-20) is a historical migration target; 0.166.0 preserves acknowledged permissions on resume/fork. Remove ignored patched-zsh feature flags, check restored permissions on resume, and test shell commands before updating team defaults; model access and plugin updates need separate checks.

Not for browser games, see codex-game-studio-plugin-build-and-playtest-browser-game; isolated worktrees, see codex-managed-worktrees-parallel-tasks; model speed, see codex-gpt-6-1-sol-slow-sol-vs-astra-vs-luna

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
Acli_tool · v0.163.0OpenAI Codex CLI
How you use itcli_tool
What it can doinstalls software · network
What's inside
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

ComponentVerified stateOfficial source
Previous patch0.162.1: as of November 2026, its release notes document a TUI crash fix for multiline asynchronous questions, preserving line breaks and complete hyperlink destinationsRelease
Upgrade target0.163.0, released 2026-10-15 (checked 2026-10-20); historical target, not alphaPinned release
Source licenceApache-2.0 (checked 2026-10-20); model service access is separatePinned 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_fork and unified_exec_zsh_fork are 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. /config exposes 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.5 for 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

ConstraintCheck before rollout
Interactive team useIn a disposable repo, try a shell read, a permitted edit and a denied operation; compare /status before and after resume
Scripted runsRun your existing smoke task with explicit model and permissions; verify exit handling and file diff
Long-running toolsInterrupt a disposable task; verify cancellation and inspect partial output before retrying
Plugin-dependent workVerify 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

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex CLI 0.162.1 → 0.163.0: how do I migrate shell settings?
Summary: Codex CLI 0.163.0 (checked 2026-10-20) is a historical migration target; 0.166.0 preserves acknowledged permissions on resume/fork. Remove ignored patched-zsh feature flags, check restored permissions on resume, and test shell commands before updating team defaults; model access and plugin updates need separate checks.

## Options
- A · OpenAI Codex CLI · early, no verdict yet · installs software · network
Copy for agent
get the whatworks thread codex-cli-0162-to-0163-shell-flags-and-permission-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-cli-0162-to-0163-shell-flags-and-permission-migration

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · OpenAI Codex CLI

OpenAI's terminal coding agent. Pinned @openai/codex@0.163.0 from npm, run from a locked install: WhatWorks checks only its --version and --help.

Format
cli_tool
Source
—
Pinned
v0.163.0 · npm:@openai/
Content hash
sha256:ad0b432ac
Audit
scan warned
Can do
installs software · network
Check
node_modules/.bin/codex --version; node_modules/.bin/codex --help
Author
editor
Kudos
0

This package has no public source link yet.

Ask your agent
show me the whatworks package openai-codex-cli-tool before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp