.codexignore Never Respected

Resolved 💬 1 comment Opened Nov 12, 2025 by silver-ben Closed Nov 12, 2025

What version of Codex is running?

codex-cli 0.57.0

What subscription do you have?

PRO

Which model were you using?

codex-gpt-5-high

What platform is your computer?

MacOS

What issue are you seeing?

The .codexignore file is currently ignored by the model. This causes unnecessary context usage and prevents repositories from including out-of-scope or outdated files safely. Either the .codexignore behavior should be fixed so it’s consistently respected, or the feature should be removed entirely to avoid misleading users.

What steps can reproduce the bug?

Load and repo with an .codexignore pointing to directories/files you wish for the model to NOT load in it's context.

What is the expected behavior?

Not load the directroies/files into it's context automatically.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗