[Desktop][macOS] 7-day usage remaining jumped from 48% to 23% after context/memory feature change
What issue are you seeing?
The Codex Desktop 7-day usage indicator appeared to drop instantly from 48% remaining to 23% remaining, despite very little intentional use that day.
Local session telemetry shows this is the primary 7-day rate limit, not the model context-window indicator:
- Earlier record:
used_percent: 52.0(48% remaining) - Current record:
used_percent: 77.0(23% remaining) window_minutes: 10080- Model context window is separately reported as 258,400 tokens
The first token_count event in a new diagnostic task already reported used_percent: 77.0, before its diagnostic tool calls. Therefore the apparent 25-point drop was not caused solely by that task. It looks like stale UI state being refreshed all at once, delayed server-side accounting, or incorrect attribution.
A context/memory/window-capture-related option had been enabled the previous day. Relevant observations:
- Later session metadata records show
memory_mode: enabled. - The currently persisted auto-context setting reports disabled.
- The affected session record does not contain actual window-context, screen-capture, OCR, or image input items.
- New turns do contain a large automatically injected payload, including plugin metadata, project instructions, skill metadata, memory guidance, and tool schemas.
- In one short diagnostic session, cumulative token events progressed from approximately 29k to 61k to 104k within about 32 seconds, with a large cached-input component. The weekly meter stayed at 77% during those calls.
Please investigate:
- Whether the remaining-usage UI can remain stale and then jump when a new task starts.
- Whether memory/context/window-capture features change quota accounting or cause repeated system/tool context injection.
- Whether cached or automatically injected input is attributed correctly.
- Whether the UI can distinguish weekly quota remaining from model context-window remaining and expose per-task attribution.
Steps to reproduce
- Enable the context/memory/window-capture-related feature.
- Leave Codex mostly idle or perform only a small amount of intentional work.
- Start or resume a project task.
- Observe whether the weekly remaining-usage percentage refreshes abruptly.
- Compare the UI with local JSONL
token_countevents.
The issue may be intermittent because it appears to involve delayed refresh or accounting.
Expected behavior
- Weekly usage should update promptly enough that a 25-point change is attributable to visible activity.
- Enabling memory/context support should not unexpectedly consume a large portion of the weekly quota.
- Automatically injected and cached context should have transparent, correct quota treatment.
- The UI should clearly label weekly quota versus current context-window capacity.
Environment
- Product: Codex Desktop on macOS
- macOS: 26.5
- Architecture: arm64
- Codex backend/CLI version recorded in session metadata:
0.147.0-alpha.6.5
No local paths, account/plan details, session identifiers, private project content, or full logs are included.
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action