Skip to content

Conversation

@joshka-oai
Copy link
Collaborator

@joshka-oai joshka-oai commented Jan 29, 2026

Summary

  • add codex features enable <feature> and codex features disable <feature>
  • persist feature flag changes to config.toml (respecting profile)
  • print the under-development feature warning when enabling prerelease features
  • keep features list behavior unchanged and add unit/integration tests

Testing

  • cargo test -p codex-cli

Copy link
Collaborator

@pakrym-oai pakrym-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have integration tests for these?

Can we add the same warning about prerelease features we show in TUI?

Add `codex features enable <feature>` and `codex features disable <feature>`
commands that persist feature flags to config.toml.

Keep `features list` behavior unchanged, validate feature keys, print the
under-development feature warning, and add unit/integration tests for the
new subcommands.
@joshka-oai joshka-oai force-pushed the joshka/features-enable-disable branch from 834564c to c25093f Compare January 29, 2026 20:24
@joshka-oai
Copy link
Collaborator Author

Can we have integration tests for these?

Can we add the same warning about prerelease features we show in TUI?

yes to both - https://github.com/openai/codex/compare/834564c8874e6b28d10b3295c9da4e904326b126..c25093f88443df0e64dfcf2bf3ab2cb169a34233

@joshka-oai joshka-oai enabled auto-merge (squash) January 29, 2026 20:29
@joshka-oai joshka-oai merged commit 03aee71 into main Jan 29, 2026
32 checks passed
@joshka-oai joshka-oai deleted the joshka/features-enable-disable branch January 29, 2026 20:35
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2026
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.

3 participants