Skip to content

Commit 28c6c13

Browse files
rldyourmndclaude
andcommitted
chore(baseline): refresh Codex CLI runtime baseline to 0.139.0
Stable rust-v0.139.0: code-mode standalone web search, oneOf/allOf MCP schema preservation, doctor editor/pager environment details, and marketplace list --json source with cached catalog responses; no new TOML config keys and no breaking changes. Pins move across the baseline, runtime env, README, test fixtures, and the surface adoption matrix (stable boundary now excludes 0.140.0-alpha.*). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent e62cae5 commit 28c6c13

5 files changed

Lines changed: 15 additions & 12 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ scripts/install_system_codex.sh --apply
6969
scripts/doctor_system_codex.sh
7070
```
7171

72-
The Codex CLI runtime baseline is `0.138.0`. On machines that need a runtime
72+
The Codex CLI runtime baseline is `0.139.0`. On machines that need a runtime
7373
install or update, use the official non-interactive installer or the explicit
7474
npm stable pin before running the repository config installer:
7575

7676
```bash
7777
curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh
78-
npm install -g @openai/codex@0.138.0
78+
npm install -g @openai/codex@0.139.0
7979
codex --version
8080
codex doctor
8181
codex plugin list --json

config/mcp-runtime-versions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DART_FLUTTER_MCP_RUNTIME=external-local-dart-sdk
55
NODE_MAJOR_VERSION=24
66
BUN_VERSION=1.3.14
77
DART_SDK_VERSION=3.12.0
8-
CODEX_CLI_VERSION=0.138.0
8+
CODEX_CLI_VERSION=0.139.0
99
GITHUB_MCP_SERVER_VERSION=1.2.0
1010
MCP_PYTHON_SDK_VERSION=1.27.2
1111
SERENA_AGENT_VERSION=1.5.3

references/codex-baseline.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"schema_version": 1,
4-
"verified_on": "2026-06-08",
4+
"verified_on": "2026-06-10",
55
"baseline": {
66
"codex_cli": {
7-
"version": "0.138.0",
7+
"version": "0.139.0",
88
"npm_package": "@openai/codex",
9-
"ref": "https://github.com/openai/codex/releases/tag/rust-v0.138.0"
9+
"ref": "https://github.com/openai/codex/releases/tag/rust-v0.139.0"
1010
},
1111
"runtime_contract": {
1212
"hooks": "command-only",

references/codex-surface-adoption.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
# Codex Surface Adoption
22

3-
Verified: 2026-06-09
3+
Verified: 2026-06-10
44

55
Source of truth:
66
- Runtime baseline: `references/codex-baseline.json`
77
- Runtime package pin: package metadata for `@openai/codex`
8-
- Official changelog and config docs: `https://github.com/openai/codex/releases/tag/rust-v0.138.0` and `https://developers.openai.com/codex/changelog`
8+
- Official changelog and config docs: `https://github.com/openai/codex/releases/tag/rust-v0.139.0` and `https://developers.openai.com/codex/changelog`
99

1010
## Decisions
1111

1212
| Surface | Introduced | Decision | Implementation | Validator |
1313
| --- | --- | --- | --- | --- |
14-
| Codex CLI runtime baseline | 0.138.0 | Adopted | Root contract and adapter runtime pins require `@openai/codex` / `codex-cli` `0.138.0`; local installed runtime must report `codex-cli 0.138.0`. | `python3 scripts/check_mcp_runtime_versions.py --fail-on-outdated` |
14+
| Codex CLI runtime baseline | 0.139.0 | Adopted | Root contract and adapter runtime pins require `@openai/codex` / `codex-cli` `0.139.0`; local installed runtime must report `codex-cli 0.139.0`. | `python3 scripts/check_mcp_runtime_versions.py --fail-on-outdated` |
1515
| `[tui].status_line` owner status line | 0.119.0 | Adopted | `scripts/install_system_codex.sh` manages `status_line = ["model-with-reasoning", "context-remaining", "five-hour-limit", "weekly-limit", "git-branch", "current-dir"]` and `status_line_use_colors = true` in `config.toml` and both `rldyour-yolo`/`rldyour-safe` profile configs so every session footer shows model, context remainder, and five-hour/weekly rate-limit remainder. Only these two keys are managed; other user `[tui]` keys are preserved. | `tests/unit/test_install_system_codex_tui_status_line.py` |
1616
| `/app` desktop handoff and Windows workspace launch | 0.138.0 | Operational | Treat as runtime capability. Repository config does not hard-code Desktop handoff state, but installed-runtime smoke may rely on the `codex` binary being at the 0.138.0 baseline before diagnosing app/server integration behavior. | `scripts/doctor_system_codex.sh --quick --strict-runtime` |
1717
| Local image file paths exposed to the model | 0.138.0 | Capability-dependent | Local image attachment and generated-image path exposure is runtime behavior. Do not add repository claims about availability unless installed-runtime checks prove the active account/session supports the capability. | n/a |
1818
| Plugin command JSON and richer plugin metadata | 0.138.0 | Operational | 0.138.0 documents richer plugin JSON surfaces. The adapter already treats JSON plugin inventory as installed-runtime evidence and keeps static validators from inventing runtime plugin state. | root `scripts/ry_repair_sync.py --plan --apply-system --json` |
1919
| App-server token-usage and v2 personal access token support | 0.138.0 | Capability-dependent | Authentication tokens and account usage data remain external runtime state. Do not store PATs, OAuth tokens, or account usage in repository config, logs, memories, or fixtures. | `scripts/validate_instruction_docs.py` |
2020
| Model-defined reasoning effort ordering | 0.138.0 | Operational | Keep managed subagent TOML defaults static unless the owner changes model policy. Runtime-provided effort ordering is accepted as CLI behavior, not a repository schema migration. | `scripts/validate_agent_tools.py` |
21-
| Stable release boundary vs. prereleases | 0.138.0 | Adopted | Stable `0.138.0` is the release-grade baseline. `0.139.0-alpha.*` and later alpha tags remain excluded unless the owner explicitly enables prerelease runtime policy. | `scripts/check_mcp_runtime_versions.py --fail-on-outdated` |
21+
| Stable release boundary vs. prereleases | 0.139.0 | Adopted | Stable `0.139.0` is the release-grade baseline. `0.140.0-alpha.*` and later alpha tags remain excluded unless the owner explicitly enables prerelease runtime policy. | `scripts/check_mcp_runtime_versions.py --fail-on-outdated` |
22+
| Code-mode standalone web search and richer MCP schemas | 0.139.0 | Operational | 0.139.0 lets code mode call standalone web search (including nested JS tool calls) and preserves `oneOf`/`allOf` plus more shallow structure in compacted tool schemas. Runtime behavior only: keep MCP definitions in `.mcp.json` unchanged and treat improved schema fidelity as compatibility, not a config migration. | `scripts/smoke_mcp_capabilities.py` |
23+
| `codex doctor` editor/pager environment details | 0.139.0 | Operational | `codex doctor` now reports editor and pager environment details locally while redacting raw values in JSON output; keep using the doctor in installed-runtime diagnostics without storing raw environment values. | `scripts/doctor_system_codex.sh --quick` |
24+
| Marketplace `list --json` source field and cached catalog responses | 0.139.0 | Operational | `codex plugin marketplace list --json` now includes each marketplace source and plugin lists may return from the cached remote catalog before background refresh; installed-runtime checks must treat cached-vs-fresh catalog responses as equivalent evidence. | root `scripts/ry_repair_sync.py --plan --json` |
2225
| `codex doctor` diagnostics | 0.135.0 | Operational | Owner doctor flow remains `scripts/doctor_system_codex.sh`; `/ry-repair --apply-system` also plans direct `codex doctor` when installed runtime is available. | `scripts/doctor_system_codex.sh --quick --strict-runtime`; root `scripts/ry_repair_sync.py --plan --apply-system --json` |
2326
| Remote `/status` server-version details | 0.135.0 | Not applicable | Remote TUI status output is user-facing runtime behavior and does not change repository config. | n/a |
2427
| `/permissions` named/custom profile display | 0.135.0 | Operational | Use `/permissions` and `codex doctor` to inspect resolved permission profiles. Do not migrate the owner profile from the legacy `sandbox_mode` dialect without an explicit policy change. | `scripts/validate_instruction_docs.py` |

tests/unit/test_check_mcp_runtime_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_parse_env_file_handles_comments_quotes_and_blanks(tmp_path: Path) -> No
1818
env_file.write_text(
1919
"""
2020
# comment
21-
CODEX_CLI_VERSION=0.138.0
21+
CODEX_CLI_VERSION=0.139.0
2222
SERENA_AGENT_VERSION='1.5.1'
2323
EMPTY_LINE_IGNORED
2424
SHADCN_VERSION="3.5.0"
@@ -27,7 +27,7 @@ def test_parse_env_file_handles_comments_quotes_and_blanks(tmp_path: Path) -> No
2727
encoding="utf-8",
2828
)
2929
assert mod.parse_env_file(env_file) == {
30-
"CODEX_CLI_VERSION": "0.138.0",
30+
"CODEX_CLI_VERSION": "0.139.0",
3131
"SERENA_AGENT_VERSION": "1.5.1",
3232
"SHADCN_VERSION": "3.5.0",
3333
"GITHUB_MCP_SERVER_VERSION": "1.1.0",

0 commit comments

Comments
 (0)