Skip to content

Expose the Codex version to commands and turn metadata - #42395

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7846c70d668176530b1f467293b749dc9ddd79a0
Sep 3, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7846c70d668176530b1f467293b749dc9ddd79a0

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Expose the Codex version to commands and turn metadata

What changed

  • Set CODEX_VERSION to the running package version in user shell and unified
    exec environments, overriding stale shell-policy or snapshot values.
  • Add the reserved codex_version field to MCP turn metadata.

Testing

  • Cover version propagation through shell policies, shell snapshots, unified
    exec, and MCP metadata.

## What changed

- Set `CODEX_VERSION` to the running package version in user shell and unified
  exec environments, overriding stale shell-policy or snapshot values.
- Add the reserved `codex_version` field to MCP turn metadata.

## Testing

- Cover version propagation through shell policies, shell snapshots, unified
  exec, and MCP metadata.

GitOrigin-RevId: 7846c70d668176530b1f467293b749dc9ddd79a0
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7846c70d668176530b1f467293b749dc9ddd79a0 branch from c37d2a5 to 9bb1ea0 Compare September 3, 2026 00:18
@copyberry
copyberry Bot merged commit 9bb1ea0 into main Sep 3, 2026
25 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/7846c70d668176530b1f467293b749dc9ddd79a0 branch September 3, 2026 00:19
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 3, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants