Files
msd-core/.changeset/3566-codex-hooks-canonical-feature-key.md
Tom Boucher bd81bb7136 chore(3566): backfill PR number in changeset
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 14:26:00 -04:00

866 B

type, pr
type pr
Fixed 3573

Codex installer now emits canonical [features].hooks on fresh inserts (no longer writes deprecated codex_hooks) — Codex's own source marks codex_hooks as a legacy_key (codex-rs/features/src/legacy.rs). The GSD installer was writing the deprecated key on every install / reinstall on Codex CLI ≥ 0.130.0. The installer now writes the canonical [features].hooks = true (section, root-dotted, and block-fallback forms) and the runtime check recognizes both hooks and legacy codex_hooks as enabling the feature. Pre-existing legacy lines (user-authored or from older GSD installs) are preserved untouched — Codex's own legacy_key alias handles them at the runtime layer, so there's no breaking change for existing configs. Closes #3566.