Skip to content

[codex] add CDP runtime default example - #28363

Closed
hefuc-oai wants to merge 1 commit into
mainfrom
codex/add-cdp-runtime-default-example
Closed

hefuc-oai wants to merge 1 commit into
mainfrom
codex/add-cdp-runtime-default-example

Conversation

@hefuc-oai

@hefuc-oai hefuc-oai commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add cdp as a canonical, default-off Rust feature
  • allow the Codex App to provide its account-scoped default through experimentalFeature/enablement/set
  • document an illustrative Statsig-to-app-server handoff and managed-requirement override

Motivation

The Codex Rust client does not evaluate Statsig gates directly. This demonstrates how the App can evaluate an account-scoped rollout—such as personal accounts defaulting on and workspace accounts defaulting off—and pass the resulting default into Rust while preserving explicit config and enterprise requirement precedence.

The companion App implementation is openai/openai#1032880. It maps codex_rollout_cdp to the canonical cdp key and forwards the resulting override through the existing per-host runtime enablement bridge.

This is intentionally illustrative. It does not implement a persistent personal-account opt-in/opt-out preference; that storage and synchronization model still needs a separate product decision.

Validation

  • just fmt
  • just test -p codex-features (49 passed)
  • just test -p codex-app-server (840 passed, 2 skipped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant