🪲 Bug Report: Codex forgets user instructions due to weak memory/context handling
Resolved 💬 2 comments Opened Sep 19, 2025 by Erraoudy Closed Nov 11, 2025
What version of Codex is running?
0.4.12
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
- In a conversation, give Codex a specific instruction (e.g., “Always follow this format for output”).
- Verify that Codex follows the instruction in the immediate next response.
- Continue the workflow for several turns.
- Observe that Codex eventually forgets the instruction and reverts to its own style or defaults.
What is the expected behavior?
Codex should consistently respect and remember user instructions across turns in a single conversation unless explicitly overridden.
What do you see instead?
Codex forgets the instructions after a short number of turns, requiring users to restate the same context multiple times.
Additional information
Codex frequently forgets previously given instructions, even within the same conversation.
For example, when I specify a clear format or rule (e.g., how commit titles should be structured), Codex applies it once but then forgets in subsequent responses.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗