mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
## Why When `.codex` in the root checkout is a regular file, reading `.codex/config.toml` returns `NotADirectory`. That error aborts project configuration loading for the linked worktree. ## What changed Treat `NotADirectory` like a missing config when reading project hook configuration from the root checkout. ## Testing Cover a linked worktree that keeps its local project settings and inherits hooks from the matching subdirectory in the root checkout even when the root checkout's top-level `.codex` is a file. GitOrigin-RevId: 2cb7fcb340ce85253641c016dace5177096ba205