Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cdpas a canonical, default-off Rust featureexperimentalFeature/enablement/setMotivation
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_cdpto the canonicalcdpkey 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 fmtjust test -p codex-features(49 passed)just test -p codex-app-server(840 passed, 2 skipped)