Skip to content

fix: update Codex hooks feature flag#708

Merged
backnotprop merged 1 commit into
backnotprop:mainfrom
leoreisdias:codex/update-codex-hooks-feature-flag
May 12, 2026
Merged

fix: update Codex hooks feature flag#708
backnotprop merged 1 commit into
backnotprop:mainfrom
leoreisdias:codex/update-codex-hooks-feature-flag

Conversation

@leoreisdias
Copy link
Copy Markdown
Contributor

@leoreisdias leoreisdias commented May 12, 2026

Problem

Codex no longer wants users or installers to enable hooks with [features].codex_hooks. The current CLI reports that flag as deprecated and asks users to use [features].hooks instead.

Plannotator still wrote and documented the old flag in a few places: the Unix installer, Windows manual guidance, Codex setup docs, troubleshooting docs, local E2E harnesses, and the release smoke test. That means new installs could produce deprecation warnings, and the project documentation pointed users at a stale Codex configuration shape.

Solution

Update Plannotator’s Codex setup path to use the current [features].hooks = true flag everywhere user-facing or test-facing.

The Unix installer now writes hooks = true for new Codex configs and also migrates an existing managed codex_hooks = ... entry to hooks = true when it updates the [features] table. Inline features = ... configs are still left untouched, with the manual guidance updated to show the new flag.

This also updates the docs, Windows installer guidance, manual Codex harness commands, and the release workflow assertion so they all agree on the same current Codex feature flag.

Validation

  • bun test scripts/install.test.ts

@leoreisdias leoreisdias marked this pull request as ready for review May 12, 2026 01:28
@leoreisdias leoreisdias changed the title Update Codex hooks feature flag fix: update Codex hooks feature flag May 12, 2026
@backnotprop
Copy link
Copy Markdown
Owner

thanks!

@backnotprop backnotprop merged commit 6e3efe8 into backnotprop:main May 12, 2026
10 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.

2 participants