published fresh until

Codex CLI 0.164.0: which flags and workflows change?

Summary Codex CLI 0.164.0 (checked 2026-10-25) ignores the worktrees and realtime_conversation feature toggles, adds /presets and inline session controls, and preserves config overrides across subcommands. Audit old feature gates and resume assumptions before rollout.

Not for earlier shell migration, see codex-cli-0162-to-0163-shell-flags-and-permission-migration; previous release overview, see codex-cli-0-163-0-release

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

What this thread does

The problem

Audit retired switches, command syntax and permission controls before adopting reusable interactive presets.

Not for

Not for: earlier Codex CLI shell migration or the previous release overview.

Earlier shell and permission migration belongs to codex-cli-0162-to-0163-shell-flags-and-permission-migration; the previous release overview belongs to codex-cli-0-163-0-release.

What changed

  • 0.164.0, released 2026-10-23 (checked 2026-10-25). The official release adds reusable presets and inline session controls, fixes compressed-history resume and thread-setting restoration, and fixes compaction failures. It also adds enterprise MCP authentication options and supported remote credential masking.
  • Same release/date (checked 2026-10-25). Flag-retirement changelog, PR #54175 says features.worktrees and features.realtime_conversation overrides are ignored and removed from /experimental; managed requirements referencing them produce warnings. Worktree trust checks remain; voice follows platform support.
  • Same release/date (checked 2026-10-25). Config migration, PR #56022 preserves -c/--config overrides from multiple subcommand scopes, in order. Older behavior retained only the deepest scope.
  • Same release/date (checked 2026-10-25). Preset change, PR #54380 adds ten numbered slots persisted under tui.presets. Inline model controls, PR #54378 change the current session without changing saved defaults. Permission controls, PR #54383 retain confirmation and feature requirements.

When to act

Existing workflowAction
Managed policy requires either retired toggleRemove that obsolete requirement through your policy owner and retest actual workspace restrictions
Wrapper repeats -c at parent and child command levelsInspect every override that can now take effect
Repeated interactive review or planning promptTry /presets with a harmless saved prompt
Resume expected global defaults to overwrite a threadInspect restored settings before sending work

What breaks

The obsolete toggles no longer enable or disable their features; managed installations can warn about requirements that reference them. The PR does not give the warning's literal text, so none is invented here.

A wrapper that accidentally relied on dropped parent overrides can now select a different effective configuration. This is a consequence of the documented fix, not an observed result from a test here. Arguments after -- retain their forwarding behavior.

Inline /model rejects unknown flags, repeated settings and missing values. Use the documented syntax, not blog examples that invent assignment names. Permission selection can hold queued input until confirmed; cancellation or failure retains it.

How to migrate

1. Save your wrapper and relevant configuration. Select the exact tagged build from the official release page, using its platform asset rather than assuming an unpinned installer stays in this window. The official repository describes installation options. No package rename is required by these notes. 2. Find features.worktrees and features.realtime_conversation in local and managed configuration. Remove obsolete toggles and update managed requirements; do not interpret their removal as a grant of workspace access. 3. List every -c and --config in your invocation, including parent command scopes. Remove accidental duplicates; verify the intended precedence using one harmless task. 4. Enter /presets and save a harmless prompt. Confirm persistence after reopening. The documented storage key is tui.presets; a failed config write must not be mistaken for a successful save. 5. Use the official grammar /model [model] --reasoning <level> --speed <tier>. Bracketed words are placeholders: choose model and supported values from your account's picker. No model ID is supplied or guessed here. Bare /model still opens the picker. 6. Try the exact official permission example /permissions :read-only before a task. Inspect the selected profile and any queued input; keep required confirmations. Treat session settings and saved defaults as separate decisions.

What to test

  • Retired-toggle requirements no longer warn, while an out-of-scope path remains restricted.
  • A parent override and a child override both reach the effective configuration in the intended order.
  • A preset survives restart and preserves an unrelated composer draft.
  • A rejected inline setting leaves the prior settings intact.
  • Cancelling a permission change keeps queued text available without running it under an unintended profile.
  • Resuming a compressed conversation retains its saved settings; a new thread gets its own configured defaults.

Community evidence

  • The Daily Bot's release walkthrough connects presets to repeated daily prompts and points out documentation lag. It is a release-based walkthrough, not an independent rollout test.
  • VeitB in the OpenAI Developer Community summarizes the same stable release and its resume/config fixes. This corroborates awareness, not reliability or successful migration. Both accounts mostly depend on upstream notes.

Pitfalls

Retiring an experimental toggle does not remove trust requirements or guarantee voice support on every platform. A current-session /model change is not a saved default. A preset is reusable input, not a schedule. Remote masking is documented for supported execution paths; do not generalize it to all output.

A prompt to give your agent

Your training data predates this CLI release. Read the linked official release and PRs before proposing commands. Audit my wrapper for retired worktrees/voice toggles and repeated config scopes, then propose a minimal migration. Use the exact inline grammar from upstream and resolve available models from my picker instead of guessing IDs. Check a harmless preset, cancelled permission selection and resumed-thread settings before doing project work.

Limits

No CLI installation, config edit, preset persistence test or remote execution was run. The two community sources are derivative summaries; independent migration evidence is thin. Availability of models, speed tiers, voice and enterprise grants was not tested. No retirement deadline, price or model replacement is asserted.

Started from a post by @OpenAI, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

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

# Codex CLI 0.164.0: which flags and workflows change?
Summary: Codex CLI 0.164.0 (checked 2026-10-25) ignores the worktrees and realtime_conversation feature toggles, adds /presets and inline session controls, and preserves config overrides across subcommands. Audit old feature gates and resume assumptions before rollout.
Copy for agent
get the whatworks thread codex-cli-0-164-0-retired-flags-presets-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-0-164-0-retired-flags-presets-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. 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/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks