Layered instructions can lock Codex into repeated planning/review meta-workflows with zero implementation
What issue are you seeing?
In a workspace with layered AGENTS.md guidance and reusable skills, Codex became locked into a meta-workflow instead of executing an already-approved implementation plan.
The user had explicitly specified:
- Codex was the primary reviewer/planner, not the implementation worker;
- a special high-difficulty workflow was reserved and must run only when explicitly named;
- ordinary tasks must not create repeated contracts, freezes, independent reviews, or extra harness stages;
- after repeated no-progress actions, the agent must stop.
Despite those instructions, affected sessions repeatedly cycled through stages equivalent to:
problem contract -> freeze -> review -> freeze -> problem contract -> review
The special reserved workflow was treated as globally applicable. The agent repeatedly re-read or reinterpreted rules, but produced no implementation artifact, including failing to complete the smallest initial requested function.
This occurred even after a fresh task was opened and after the user explicitly told the agent to stop repeating the meta-process.
Expected behavior
The newest explicit user instruction must dominate inferred process. A named opt-in workflow must not become a global default.
Codex should stop automatically after a small number of consecutive turns with no new file diff, test result, artifact, or user-visible progress. It should report the conflict rather than reopening planning stages.
This is separate from the hook auto-turn loop reported in #34477, although hook-driven continuation may amplify the impact.
Environment:
- OpenAI Codex Desktop 26.727.6591.0 (x64 MSIX)
- Windows 10.0.26200.8875
- Model observed: GPT-5.6 Sol
No private workspace files or transcripts are attached.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Severity and production impact
This was not merely an annoying planning loop. The affected sessions caused measurable resource loss and blocked work:
This impact is why a hard no-progress/automatic-turn circuit breaker is necessary. The instruction stack may increase context cost, but it must not allow repeated model turns to consume most of a weekly quota without a file diff, test result, or explicit user continuation.
Exact rollout reconstruction (replaces prior >500M estimate)
I reconstructed the affected local rollout families using each file's final
payload.info.total_token_usage.total_tokensand the childparent_thread_idgraph:019fbc65-...: 11 sessions, 420,775,426 tokens019fbd87-...: 5 sessions, 61,684,846 tokensThe original incident corresponds to the user-observed loss of approximately 80% of the weekly allowance (about 60% in the first run and another 20% after reopening). The previous ">500M" statement can now be treated as confirmed and refined to the exact local rollout total above.
Arithmetic correction
The exact reconstruction comment above contains one subtotal typo: recovery/harness task families total 76,001,530 tokens, not 76,001,247. The already reported original incident total (558,461,802) and cumulative total including the later failed reattempt (584,006,336) are unchanged.