Repository navigation
Codex CLI: gpt‑5.6‑sol Ultra Fast background loop drained weekly limit #33276
Description
What version of Codex CLI is running?
codex-cli 0.144.4
What subscription do you have?
ChatGPT Plus (Codex enabled)
Which model were you using?
gpt‑5.6‑sol (reasoning ultra, summaries auto, Ultra Fast)
What platform is your computer?
Windows 11 Pro 64‑bit , Codex CLI running in Windows Terminal / PowerShell from C:\Dev\Home_server_5
What terminal emulator and version are you using (if applicable)?
Windows Terminal (latest stable from Microsoft Store), PowerShell 7.x No additional multiplexer (no tmux/screen)
Codex doctor report
What issue are you seeing?
On July 14th, 2026 at around 23:00 Tallinn time (UTC+2), I started a Codex CLI session using the gpt‑5.6‑sol Ultra Fast model to make a small change related to fencing / ownership tokens and lease_token handling. After issuing the change, I stopped interacting with Codex and expected the process to finish.
However, Codex entered a repeated “waiting for agents” loop and continued running in the background without any new input from me. The pattern looked like:
• Waiting for agents
• Finished waiting
└ No agents completed yet
repeated many times, plus • Interacted with /root/impl_jobs_failure_snapshot.
Eventually, I received:
■ You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at Jul 21st, 2026 11:57 PM.
As a result, my entire weekly Codex limit was consumed by this background loop, even though I was not actively using Codex and did not issue additional commands. This feels like an infinite “waiting for agents / no agents completed yet” loop silently burning credits in the background.
What steps can reproduce the bug?
Uploaded thread: 019f62cd-fc3b-7731-8713-c6c5e89733da
What is the expected behavior?
Codex should stop or time‑out the agent workflow instead of running an infinite “waiting for agents / no agents completed yet” loop in the background.
In this situation I expected:
the small configuration change to complete with minimal usage;
no further credits to be consumed once there is no user interaction;
either a clear error about agents not completing or an automatic stop, rather than silently burning the entire weekly limit.
Additional information
Codex CLI status after the incident (v0.144.4) shows:
Model: gpt‑5.6‑sol (reasoning ultra, summaries auto)
Session: 019f62cd-fc3b-7731-8713-c6c5e89733da
Weekly limit: 0% left (resets 23:57 on 21 Jul)
Account: klementv@gmail.com (Plus)
I can provide the full CLI session log and a screenshot of the usage/settings page if needed. This looks like an internal background loop consuming credits without user interaction on gpt‑5.6‑sol Ultra Fast.
Activity
github-actions commentedon Jul 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
cansitki commentedon Jul 21, 2026
Confirming a closely matching Linux/CLI reproduction, with Fast disabled.
Environment:
0.144.56.8.0-136-genericx86_64, tmux3.4gpt-5.6-sol, reasoningultra, summariesautoservice_tier = "default"; Fast mode not enabledSanitized local telemetry from one long-lived main thread:
2026-07-21 04:43:10 UTC, weekly usage was 28% used and cumulative thread telemetry reported 349,056,550 total tokens.2026-07-21 11:15:34 UTC, weekly usage was 65% used and cumulative total was 502,554,467 tokens.11:25:46 UTC, cumulative total was 508,615,973 tokens: 506,834,387 input tokens, of which 489,251,840 were cached input. These are localtoken_counttelemetry values, not a claim that all tokens were billed identically.wait_agentcalls and 73list_agentscalls since thread start. On July 21 UTC alone: 47wait_agentand 27list_agents.Observed behavior:
The parent continues making model turns to poll or coordinate subagents. In a long context, even a status-only turn appears to reprocess a very large cached context and the weekly quota drops quickly. The persisted service tier is default, so this reproduction is not explained by the Fast multiplier present in the original report.
This looks consistent with #34468 and potentially the Sol tool-turn amplification in #32503. #14593 is the maintainer-designated generic tracker.
Expected behavior:
I am intentionally not attaching the local transcript or account/session identifiers publicly because the thread contains private project context. I can submit reviewed logs through
/feedbackif maintainers need a private diagnostic ID.shahlo02 commentedon Sep 7, 2026
I had a similar incident using Light mode but not ultra fast on Version 26.901.51231
Note - I am now gated by the 5 hour limit, so it hit that gate, and it wasn't done so who knows how far this would have gone if the limit didn't hit. It did still drain down over 10% of my weekly usage.
Summary
A single Codex agent turn entered a runaway execution pattern, consumed approximately 9.78 million tokens, exhausted my usage limit, and terminated without delivering a final response.
The incident appears to involve a combination of:
wait_agentcalls while the root conversation was approximately 190k tokensCodex Feedback ID:
01a07c78-af74-7b72-85b9-1db502146f0bI can provide the affected thread ID and complete post-mortem privately if needed.
What happened
The session began with a multi-part remediation task.
Initially, the root agent spawned three lightweight/read-only scout agents to inspect different aspects of the workspace. Those agents returned successfully.
After that initial research phase, however, the root driver remained on
gpt-5.6-soland performed dozens of implementation, file-editing, scripting, verification, and incident-logging operations inside the same conversational turn.During the run, the agent created a remediation proposal that explicitly stated it was:
The proposal also contained multiple judgment calls requiring user input.
Instead of presenting that proposal and yielding, the agent continued execution. It spawned an additional high-reasoning audit agent and subsequently entered a repeated
wait_agentpattern.The root conversation had grown to approximately 190k tokens at this point.
Four
wait_agentcalls were made with approximately 180-second timeouts. According to the post-mortem generated from the session trace, more than 1.2M tokens were consumed during this final waiting phase alone.The session eventually terminated with a usage-limit error.
No final response was delivered to the user.
Observed impact
Approximate usage recorded by the post-mortem:
The full account usage allowance was exhausted during this single turn.
Expected behavior
At least one of the following should have prevented this outcome:
wait_agentoperations should not cause uncontrolled repeated processing of an extremely large root context.Actual behavior
The agent continued beyond its approval boundary and continued issuing tools after the session had become very large.
After spawning a final audit agent, it repeatedly waited for that agent while retaining the accumulated root context.
Execution continued until the account usage limit was reached, at which point both the useful work and the final response were lost.
Possible amplification mechanism
The session trace suggests that repeated tool/wait operations late in the turn were executed while the root context was approximately 190k tokens.
If the entire accumulated root context is processed again for every
wait_agent/ tool continuation, this can create an enormous token multiplier during long-running agentic sessions.I do not know whether this accounting/execution behavior is expected, but in this case the user-facing result was approximately 9.78M tokens consumed by one turn with no final answer.
Additional contributing behaviors
The post-mortem also identified:
These contributed to context growth, but I believe the central product issue is that the harness allowed the runaway process to continue until quota exhaustion.
Suggested safeguards
Some possible protections:
Diagnostics
Driver model:
gpt-5.6-solFeedback ID:
01a07c78-af74-7b72-85b9-1db502146f0bIncident date: September 7, 2026
I have a detailed 138-line adversarial review/post-mortem reconstructing the session, including the tool sequence, token figures, approval-gate failure, and final
wait_agentloop. I can provide the complete report and thread identifiers privately to OpenAI maintainers.