openai / openai/codex

Agent in goal modus automatically using banked reset

Open
#41,502 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

app bug rate-limits windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.825.32147

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I had 2 agents running (on the same repo) when going to bed (5.6 Sol Medium). Both were merely "orchestrators" for creating and distributing tasks to 5.6 Luna Max subagents.
Agent 1:
Was instructed to review a PR.
Agent 2:
Running in /goal. Was instructed to implement and create PR's for predefined set of github issues.

Both were instructed to finish their work without human intervention.

Usage seems to be reset by an Agent as Agent 2 reported the usage was reset (both 5h and weekly usage) at 7:16am. At this point I had still not "checked" in on its progress.

First interaction with codex was at 8:52am with Agent 1.

Image Image
What steps can reproduce the bug?

Instruct an agent with a long-running task in /goal to work autonomously without any human interaction.

Once usage limit is hit, when a banked reset is available it will get used.

In attachment, a sanitized version of Agent 2's session .jsonl file.

Session id: 01a04a18-daef-7a40-8f31-051a1d0b5c3c (local)

rollout-2026-08-29T08-52-22-01a04c4a-73d6-7c41-a1db-3831537aa704-sanitized.json

What is the expected behavior?

Codex does not automatically use banked resets.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached sanitized session .jsonl and the /goal mode flow, then trace how the agent handles the usage limit and the available banked reset. Reproduce with a long-running autonomous goal task and verify that reaching the limit no longer consumes a banked reset automatically.

Written by the indexing model from the issue text.

Assessment

Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.