hooks.md +4 −0
40If more than one `hooks.json` file exists, Codex loads all matching hooks.40If more than one `hooks.json` file exists, Codex loads all matching hooks.
41Higher-precedence config layers don’t replace lower-precedence hooks.41Higher-precedence config layers don’t replace lower-precedence hooks.
42 42
43Project-local hooks load only when the project `.codex/` layer is trusted. In
44untrusted projects, Codex still loads user and system hooks from their own
45active config layers.
46
43## Config shape47## Config shape
44 48
45Hooks are organized in three levels:49Hooks are organized in three levels: