Skip to content

[codex] Update Codex hooks feature flag docs - #31

Merged
samleeney merged 1 commit into
mainfrom
codex/update-hooks-feature-flag
May 10, 2026
Merged

[codex] Update Codex hooks feature flag docs#31
samleeney merged 1 commit into
mainfrom
codex/update-hooks-feature-flag

Conversation

@samleeney

Copy link
Copy Markdown
Owner

Summary

Update the Codex CLI setup instructions to use the current hooks feature flag name, hooks, instead of the deprecated codex_hooks key.

Also document the equivalent one-off CLI flag, codex --enable hooks, and add a small README regression test so the deprecated flag does not get reintroduced.

Root Cause

The plugin docs still told users to add [features].codex_hooks = true to ~/.codex/config.toml. Current Codex CLI releases warn that [features].codex_hooks is deprecated and should be replaced by [features].hooks or --enable hooks.

Validation

  • bash tests/readme-codex-feature-flag.sh
  • for test_script in tests/*.sh; do bash "$test_script"; done

@samleeney
samleeney marked this pull request as ready for review May 10, 2026 12:01
@samleeney
samleeney merged commit d6ed6fd into main May 10, 2026
2 checks passed
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