Codex CLI Hooks Overview Design Codex hooks from the current workspace outward: enable the feature flag, choose the right config layer, then implement the smallest hook that proves the event contract before adding policy logic. Treat hooks as workflow guardrails, not absolute enforcement. Current runtime support is intentionally partial, especially for shell interception. Workflow 1. Confirm hooks are actually available. Check for: Remember hooks are currently disabled on Windows. 2. Choose the config layer. Prefer for personal defaults and for repo-specific behavior. Matching hooks from mult…