Skip to content
Proposals/Adopt Codex `/export`, `codex exec fork`, and th
proposaleveryoneP5High impactOpenAI Codex CLI

Adopt Codex `/export`, `codex exec fork`, and thread cost status

Codex CLI rust-v0.148.0 adds Markdown export via `/export`, session fork/archive/restore, startup prompt drafting, thread credit/cost in `/status`, Bedrock Runtime, and async/MCP hooks—use them to make session reuse, cost visibility, and automation first-class.

Why this loop

This release turns ephemeral TUI chats into durable artifacts and branchable work. `/export` writes full conversations to Markdown (clipboard or file), so reviews and handoffs no longer depend on scrollback. `codex exec fork` plus archive/restore in the resume picker lets you branch an approach without losing the parent thread, and resumed sessions now restore cwd and approval policy more reliably. Estimated credits/cost in `/status`, status lines, and terminal titles give eligible workspaces live spend signals before a long run. Bedrock Runtime support (AWS profile, region, GPT-5.6 routing) matters if you standardize on AWS. Hooks can run async commands and call MCP tools, so post-turn automation can leave the critical path. Pair these with the sandbox fail-closed path fixes and model-switch instruction cleanup so forked/exported workflows stay predictable.

Proposed actions

  1. Upgrade Codex CLI to rust-v0.148.0, open a real task in the TUI, then run `/export` and save the full transcript to `./docs/codex-sessions/$(date +%Y%m%d)-<topic>.md` (also try clipboard export once to confirm both paths).
  2. From a finished useful thread, run `codex exec fork` to branch an alternate implementation; in the TUI resume picker, archive the parent session and later restore it to verify cwd, approval policy, and transcript preview come back intact.
  3. During the next multi-step run, watch terminal title and status line for estimated thread credits/cost, then run `/status` mid-turn and before exit; if spend is higher than expected, stop and fork a narrower follow-up instead of continuing the same thread.
  4. If your team uses AWS, configure Amazon Bedrock Runtime as the built-in provider with your AWS profile and region, route a non-prod GPT-5.6 smoke prompt through it, and compare `/status` cost/credits against your default provider on the same prompt.
  5. Add or update a Codex hook so a post-turn step runs asynchronously and invokes an MCP tool (for example: format export Markdown or open a tracking issue) without blocking the TUI; confirm the main turn finishes while the hook continues.

Agent prompt

Paste into your agent or query via MCP (`get_agent_prompt`) — free, no extra AI cost

Codex / agent CLI task

# DevAgentRadar → OpenAI Codex

Task: evaluate and optionally implement follow-ups from this coding-assistant release.

## Context
Assistant: OpenAI Codex CLI
Proposal: Adopt Codex `/export`, `codex exec fork`, and thread cost status
Summary: Codex CLI rust-v0.148.0 adds Markdown export via `/export`, session fork/archive/restore, startup prompt drafting, thread credit/cost in `/status`, Bedrock Runtime, and async/MCP hooks—use them to make session reuse, cost visibility, and automation first-class.
Primary source: https://github.com/openai/codex/releases/tag/rust-v0.148.0

## Why it matters
This release turns ephemeral TUI chats into durable artifacts and branchable work. `/export` writes full conversations to Markdown (clipboard or file), so reviews and handoffs no longer depend on scrollback. `codex exec fork` plus archive/restore in the resume picker lets you branch an approach without losing the parent thread, and resumed sessions now restore cwd and approval policy more reliably. Estimated credits/cost in `/status`, status lines, and terminal titles give eligible workspaces live spend signals before a long run. Bedrock Runtime support (AWS profile, region, GPT-5.6 routing) matters if you standardize on AWS. Hooks can run async commands and call MCP tools, so post-turn automation can leave the critical path. Pair these with the sandbox fail-closed path fixes and model-switch instruction cleanup so forked/exported workflows stay predictable.

## Suggested actions
1. Upgrade Codex CLI to rust-v0.148.0, open a real task in the TUI, then run `/export` and save the full transcript to `./docs/codex-sessions/$(date +%Y%m%d)-<topic>.md` (also try clipboard export once to confirm both paths).
2. From a finished useful thread, run `codex exec fork` to branch an alternate implementation; in the TUI resume picker, archive the parent session and later restore it to verify cwd, approval policy, and transcript preview come back intact.
3. During the next multi-step run, watch terminal title and status line for estimated thread credits/cost, then run `/status` mid-turn and before exit; if spend is higher than expected, stop and fork a narrower follow-up instead of continuing the same thread.
4. If your team uses AWS, configure Amazon Bedrock Runtime as the built-in provider with your AWS profile and region, route a non-prod GPT-5.6 smoke prompt through it, and compare `/status` cost/credits against your default provider on the same prompt.
5. Add or update a Codex hook so a post-turn step runs asynchronously and invokes an MCP tool (for example: format export Markdown or open a tracking issue) without blocking the TUI; confirm the main turn finishes while the hook continues.

## Config surfaces this release may change
- skills **(high confidence)** — check your repo before applying
- sandbox settings — check your repo before applying
- MCP servers — check your repo before applying


Deliverables:
- Short impact assessment
- Optional patch plan (files + steps)
- Do not invent APIs not in the source notes
agentmcpmodelpricingsecurityRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

Your decision stays on this device. A public tally appears after a few votes.

Originating release signal

OpenAI Codex CLIrust-v0.148.0Aug 18, 2026

rust-v0.148.0 0.148.0

Export complete TUI conversations to Markdown with `/export`, either to the clipboard or a new file. (#37358) · Fork sessions with `codex exec fork`, and archive or restore sessions from the TUI resume picker. (#37367, #37369, #37371) · Draft prompts while the TUI initializes, with resume and fork progress shown during startup. (#38642, #38788) · View estimated thread credits or cost in `/status`, status lines, and terminal titles for eligible workspaces. (#38281, #38282) · Use Amazon Bedrock Runtime as a built-in provider with AWS profile, region, and GPT-5.6 routing support. (#38470) · +160 more changes

Verified excerpt — the source's own words
## New Features

- Export complete TUI conversations to Markdown with `/export`, either to the clipboard or a new file. (#37358)
- Fork sessions with `codex exec fork`, and archive or restore sessions from the TUI resume picker. (#37367, #37369, #37371)
- Draft prompts while the TUI initializes, with resume and fork progress shown during startup. (#38642, #38788)
- View estimated thread credits or cost in `/status`, status lines, and terminal titles for eligible workspaces. (#38281, #38282)
- Use Amazon Bedrock Runtime as a built-in provider with AWS profile, region, and GPT-5.6 routing support. (#38470)
- Hooks can now run commands asynchronously and invoke MCP tools. (#37533, #38705)

## Bug Fixes

- Model switches and settings updates no longer leave stale instructions behind or change an active turn midstream. (#37260, #38785)
- Resumed sessions now restore their persisted working directory and approval policy, with more accurate transcript previews. (#37198, #37368, #38605)
- Turns reconnect through temporary provider outages, and MCP servers recover after OAuth reauthentication without restarting Codex. (#37337, #37485, #38418)

Excerpt ends here — this release continues at the source ↗.

Primary source ↗