mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Codex callers need to read feature gates and dynamic configs locally and stop using account-scoped decisions when the authentication owner changes. ## What changed - Bootstrap ChatGPT evaluations through the Codex backend. Initialize API-key and installation identities through the Statsig SDK. - Share one background worker per process to retry initialization and refresh evaluations through the SDK. Keep the last successful values on refresh failure while the authentication owner remains current. - Expose `Gate` and `DynamicConfig` readers that return `false` and an empty JSON object, respectively, when current evaluations are unavailable. ## Testing Add a mock-server test for bootstrap retries after credential changes, local gate and config reads, and value retention after a failed refresh followed by replacement on a successful refresh. GitOrigin-RevId: c02cd976a44229518a7159eb2bd35107ef280b56