OpenAI Codex
Codex home defaults to ~/.codex unless CODEX_HOME changes it. Global AGENTS.override.md takes precedence over AGENTS.md; only the first non-empty file is used. At startup, project discovery walks from project root to working directory, selecting at most one file per directory: override, AGENTS.md, then configured fallback names. Deeper guidance follows earlier guidance. Empty files are skipped; the combined limit defaults to 32 KiB. This is authored guidance, not automatic memory.
- Surface
- Codex CLI
- Model context
- Not established
- Configuration / version scope
- Current product documentation consulted 2026-09-14; enabled mode, settings, and deployment still determine availability.
- Reviewed
- 2026-09-14
- This claim does not update the dated prompt snapshot or establish every runtime configuration.