- Symptom
- sandbox_mode or model set in the project .codex/config.toml has no effectProject hooks and rules under .codex do not run
- Cause
- Codex loads project .codex/ layers, including config, hooks, and rules, only for trusted projects. A project marked untrusted, or never trusted, gets user and system config only.
- Fix
- Trust the project when Codex asks, or mark it trusted in user config.
- Apply
# ~/.codex/config.toml [projects."/Users/alice/code/app"] trust_level = "trusted"- Affected
- Codex CLI, IDE extension, and ChatGPT desktop app, as of 2026-10
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders