The Codex Changelog

Codex CLI’s Login Loop and the Daemon Bugs Behind It

The Codex Changelog

Show Notes

We unpack a mysterious Codex CLI login loop after the 0.157.1 update, tracing it to a stale background daemon cache rather than a remote auth problem. Then we dig into how file descriptor exhaustion, orphaned sockets, and a packaging path change can make local tooling look far more broken than it really is.

More from The Codex Changelog

Oct 23, 2026

Codex 0.164.0 adds inline arguments to /model and /permissions, letting you switch models, reasoning effort, speed, and permission profiles without navigating pickers. Learn a practical workflow for saving those combinations in /presets, plus caveats around unsupported settings and resumed sessions.

Oct 22, 2026

A closed background-compaction channel could leave a Codex app-server turn stuck in progress; learn the reported recovery steps and the fix associated with PR 55581, whose release availability is still unclear. We also cover an open report of queued input disappearing when pre-turn compaction is interrupted, plus notes on CLI voice disconnects, installer download-host selection, and GPT 5.5 retirement.

Oct 21, 2026

Codex’s new PromptCacheKey policy lets hosts keep session identity separate from prompt-cache routing. Learn how to choose a shared key for parallel subagents, omit the field for compatible gateways, and reapply the policy when resuming threads—plus caveats for cache hits and prompt consistency. Also: updates to fork-prefix preservation, authentication errors, Guardian metrics, and compaction recovery.

Oct 20, 2026

Codex 0.164.0 alpha adds a startup check for feature-flag mismatches between the CLI and its background daemon, replacing a silent fallback to embedded mode with a recovery prompt. Learn how to configure feature overrides and reconnect safely, including the warning that restarting a shared daemon can interrupt active subagents; the episode also covers improvements to TUI question rendering, picker ranking, remote reconnects, and Linux launcher security.

Oct 19, 2026

Codex’s new PreModelRequest and PostModelRequest hooks expose model-call lifecycle data, including retries, status, and reported token usage. Learn how to register an async logging hook, account for cancelled turns, and check build availability, plus smaller security and workflow updates.

See all episodes →