OpenAI Codex · tool · fg-0506

Settings in a repo's .codex/config.toml are ignored by Codex

sandbox_mode or model set in the project .codex/config.toml has no effect

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

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"

Affects: Codex CLI, IDE extension, and ChatGPT desktop app, as of 2026-10

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp