Release notes

FEATURE

Reference tasks with @ mentions and manage tasks via terminal agents

When running multiple parallel tasks in the terminal, coordinating across workflows is now as natural as using team chat.

You can now use @ mentions to reference other Codex tasks directly in your prompt. You can also ask agents from the terminal to inspect existing tasks, spin up new ones, or dispatch messages to active tasks without manual copy-pasting.

FEATURE

/copy introduces an interactive picker for responses, code blocks, and quotes

When extracting a specific snippet or excerpt from a long reply, you no longer need to drag your mouse across terminal text. Running /copy now opens an interactive picker menu. You can explicitly choose between copying the full response, individual code blocks, or markdown blockquotes.

FEATURE

Unnamed tasks get automatic titles and /rename suggests conversation-based edits

When juggling multiple background tasks in your terminal, identifying what each task is doing is now effortless.

Unnamed terminal tasks now automatically receive descriptive titles based on context. Furthermore, running /rename inspects your conversation history and suggests an editable title proposal, saving you from having to type names manually.

FEATURE

Clickable Markdown link labels in supported terminals with URLs preserved elsewhere

Reviewing responses that contain hyperlinks is now much cleaner in your terminal. On supported terminals, Markdown links render as tidy, clickable text labels. In environments without hyperlink support, the full visible URLs remain intact so you can still read and copy them easily.

FEATURE

Custom shortcuts cycle permission modes

You can bind cycling through permission modes to a custom shortcut. A permission mode determines how Codex handles confirmation before an action, and the bound key moves through the available modes in sequence.

When your work calls for a different confirmation approach, press the shortcut you configured to cycle to it.

FEATURE

Vim mode uses `.` to repeat the last edit

When the same text change is needed in several places in Vim mode, pressing . now repeats your last edit. Vim mode is a keyboard-command way to edit text; . reruns the edit you just completed, so you do not need to type that same change again.

This is the editing-repeat feature for Vim mode.

FEATURE

New Interrupt hooks trigger commands or MCP handlers on cancelled turns

When cancelling an active turn midway, automated cleanup and custom actions can now take over immediately.

Codex introduces Interrupt hooks. When an active top-level conversation turn is interrupted, these hooks can automatically run shell commands or trigger MCP handlers, allowing your environment to safely persist state or release held resources instead of abruptly terminating.

BUGFIX

Block untrusted project AGENTS.md and preserve managed deny-read rules

Opening repositories from unknown sources is now significantly safer. Untrusted projects are no longer allowed to supply project-level AGENTS.md instruction files, preventing malicious repositories from hijacking AI behavior with embedded prompts. Additionally, managed deny-read security rules remain strictly enforced even after interactive permission changes occur during a session.

FEATURE

Enhanced credential redaction for provider, refresh, and attestation diagnostics

Exporting diagnostic reports for troubleshooting is now much safer. Codex has expanded credential redaction across app-server diagnostics. Sensitive data is now automatically masked across provider details, authentication refresh flows, and hardware attestation fields. When you share debug output with maintainers, secret tokens and verification payloads will never leak into log files.

BUGFIX

Fix remote MCP bearer token lookup and startup while keeping executor compatibility

Connecting to remote tool extensions is now much more dependable.

Codex has resolved issues with remote MCP server connections. The system now reliably looks up bearer tokens and initializes required servers without failure, all while maintaining full backwards compatibility with older executor environments.

BUGFIX

Fix elevated Windows sandbox setup and launch aliases under Unicode paths

Running Codex on Windows with elevated permissions or special account names is now completely smooth. Previously, if a user profile folder contained non-ASCII Unicode characters (such as accents or non-Latin scripts), launch aliases would often fail. Elevated sandbox environments running with administrator privileges also encountered initialization errors. Both path handling and privilege escalation setups are now resolved.

FEATURE

Prevent Unix shutdown hangs caused by detached processes or full buffers

Exiting Codex on Unix systems like macOS or Linux is now fast and reliable. Previously, shutting down could hang indefinitely if detached background processes still held terminal handles or if output buffers were completely full. The shutdown sequence now cleans up detached processes and flushes full buffers properly.

BUGFIX

Fix Amazon Bedrock conversation compaction and multi-agent compatibility

Running long conversations and multi-agent setups through cloud platforms is now much more reliable.

For developers using Amazon Bedrock models, Codex has fixed errors during conversation compaction when compressing long context windows. Multi-agent compatibility issues have also been resolved, allowing multiple sub-agents to collaborate smoothly.

Original changelog

Original changelogReference tasks with @ mentions and manage tasks via terminal agents
Reference other Codex tasks with `@` mentions, and ask agents to read, create, or message tasks from the terminal. (#40308, #40315)
Original changelog/copy introduces an interactive picker for responses, code blocks, and quotes
`/copy` now offers a picker for full responses, individual code blocks, and blockquotes. (#39997)
Original changelogUnnamed tasks get automatic titles and /rename suggests conversation-based edits
Unnamed terminal tasks receive descriptive titles automatically, and `/rename` suggests an editable title based on the conversation. (#40492, #40495)
Original changelogClickable Markdown link labels in supported terminals with URLs preserved elsewhere
Markdown links appear as clickable labels in supported terminals, with visible URLs retained elsewhere. (#40471)
Original changelogCustom shortcuts cycle permission modes
Bind shortcuts to cycle permission modes, and use `.` in Vim mode to repeat your last edit. (#39873, #40521)
Original changelogVim mode uses `.` to repeat the last edit
Bind shortcuts to cycle permission modes, and use `.` in Vim mode to repeat your last edit. (#39873, #40521)
Original changelogNew Interrupt hooks trigger commands or MCP handlers on cancelled turns
New `Interrupt` hooks can run commands or MCP handlers when an active top-level turn is interrupted. (#40511)
Original changelogBlock untrusted project AGENTS.md and preserve managed deny-read rules
Untrusted projects no longer supply project-level `AGENTS.md` instructions, and managed deny-read rules remain enforced after permission changes. (#39837, #40004)
Original changelogEnhanced credential redaction for provider, refresh, and attestation diagnostics
Improved credential redaction in app-server diagnostics, including provider, authentication refresh, and attestation fields. (#39993)
Original changelogFix remote MCP bearer token lookup and startup while keeping executor compatibility
Fixed remote MCP bearer-token lookup and required-server startup while preserving compatibility with older executors. (#39926, #39952, #39979)
Original changelogFix elevated Windows sandbox setup and launch aliases under Unicode paths
Fixed elevated Windows sandbox setup and launch aliases under Unicode user paths. (#39971, #40570)
Original changelogPrevent Unix shutdown hangs caused by detached processes or full buffers
Prevented Unix shutdown hangs caused by detached processes retaining a terminal or full terminal output buffers. (#40460)
Original changelogFix Amazon Bedrock conversation compaction and multi-agent compatibility
Fixed conversation compaction and multi-agent compatibility for Amazon Bedrock models. (#39804, #39825)