3 min read

Codex Is Caught Between Memory and Overcaution

CodexAI-агентыпамять агента

In August 2026, developers reported that Codex hallucinated details, ignored instructions, and repeatedly asked for approval of already authorized actions. Codex documents local memory in ~/.codex/memories/, but deleting it is only a diagnostic reset—not proof that memory, model behavior, or stricter guardrails caused the issue.

What is actually breaking in Codex

This does not look like a single failure, but three connected symptoms: invented details, ignored instructions, and endless confirmation requests. As of August 22, 2026, the main primary source is not a release note, but a user thread complaining about a model referred to as GPT-5.6-Sol.

The clearest example involves a pull request. The agent received a direct instruction to create and merge a PR. It created the PR, then separately asked for permission to merge it. After receiving a normal confirmation, it demanded an additional, strictly worded approval phrase.

That is no longer a useful check before an irreversible action. It is a clarification loop in which the safety interface starts arguing with the user’s clearly stated intent. For an autonomous coding agent, this loss of initiative is critical: the task technically progresses, but the agent pushes every meaningful step back to the human.

In the same thread, developers reported hardcoded logic fragments, instruction violations, and possibly reduced limits. The last point remains user speculation: the source material contains no confirmed figures or official explanation of a change.

Another possible factor is local memory. Codex memory documentation describes file-based storage in ~/.codex/memories/, including memory_summary.md, MEMORY.md, and raw_memories.md. Session summaries and skill-related material can accumulate there over time, so clearing the directory is a reasonable diagnostic step.

But it is not a ready-made fix. One participant had already cleared memories and skills and also tested a clean configuration without resolving the issue. That suggests the source may sit higher up: in system instructions, confirmation policy, or the model’s current behavior.

Why overcaution is not the same as reliability

The main consequence is straightforward: autonomy disappears exactly where it matters most. An extra confirmation before deleting a database can be justified, but renegotiating an already approved merge turns a safeguard into a workflow bottleneck.

I would first separate two classes of failure. Clearing memory tests the effect of accumulated context; a clean session helps rule out local skills and old summaries. If the loop persists, the problem is more likely in the agent’s overall policy than in a particular working directory.

Research on agent failures describes similar modes as Operational Hallucination and Safety Drift: an agent repeats actions, loses the original constraint, or becomes excessively cautious within an allowed task. This does not prove the cause of these specific reports, but it explains the observed failure pattern well.

Until there is an official record of changed behavior, it is too early to call this an intentional tightening of guardrails. Still, the engineering signal is concerning: an agent that is afraid to complete an authorized operation may be safer on paper yet far less controllable in real development.

We previously covered Claude’s self-reflection glitch, where prompt injection can turn an agent interaction into a denial-of-service failure. It provides a concrete security counterpart to the clarification loops and hardcoded logic examined here.