$ the-wire · showcase
Codex closes the gap between live command items and saved history
By RepoJournal · Filed · About OpenAI · Composed from the cited sources · methodology
Four fixes in openai/codex move command approval and completion recording into core so that what a client streams during a turn survives a reload, an approval decline, or an interruption.
Persist command completions when approval is declined or fails openai/codex
The app server used to complete command items for rejected approvals directly in the live stream, bypassing core's history recording, so clients could watch a command finish and lose it on reload. Core now records and emits the completion before the turn unblocks, and declines and cancellations produce a `declined` item.
Preserve command approval items through turn interruption openai/codex
Core now publishes the command item before prompting for approval and keeps it through approval and sandbox retries until execution takes over; items abandoned by interruption are completed as declined. That closes the window where the app server showed a pending approval core had not yet recorded.
Drain unified exec launch failure events before session shutdown openai/codex
A launch failure can still be publishing its command events when a turn is interrupted, and a session shutdown mid-publication lost the failed command from persisted thread history. The change tracks in-flight launch failure publications and waits for them before running session-end hooks and emitting the thread-stop event.
Share tool approval logic across initial attempts and retries openai/codex
Approval requests now go through shared code that builds an `ApprovalContext`, with retries adding the retry reason and network approval context while the initial request keeps its approval source for later execution decisions.
Remove dim styling from hook details in the TUI (#64391) openai/codex
Elsewhere in the TUI, the hooks browser detail pane drops its dim styling for single-line and wrapped values and uses the default text style, with the wrapped hook command test extended to assert every detail span while still checking the full hyperlink destination.