# \[Feature Request\] Native Quota-Aware Sleep Prevention & Autonomous Task Resumption for Codex / Desktop App

**URL:** <https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469>\
**Category:** Feature requests\
**Tags:** chatgpt, feature-request, codex-app\
**Created:** [October 5, 2026, 2:28pm UTC](https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469 "2026-10-05T14:28:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naqib](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@Naqib](https://community.openai.com/u/Naqib)\
**Post date:** [October 5, 2026, 2:28pm UTC](https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469/1 "2026-10-05T14:28:51Z")

</div>

### Problem Statement

When running autonomous coding workflows or complex multi-turn tasks with Codex and the ChatGPT Desktop App, sessions frequently hit the standard rolling rate limits (e.g. the 5-hour quota window).

This causes significant friction for developer workflows:

1. **Unattended Idling** : When the quota clears, the desktop app sits idle waiting for manual input. If a developer starts an overnight coding session or steps away from their desk, the task halts permanently until someone manually opens the app and types “continue”.
2. **OS Sleep Interruptions** : Laptops (macOS and Windows) enter system sleep during inactive pauses, dropping active sockets and halting background terminal jobs.
3. **Multi-Step Stalls** : Multi-step engineering checklists cannot progress independently across rate limit resets without manual human hand-holding.

* * *

### Proposed Native Features

#### 1. Automatic Sleep Prevention (OS Wake-Lock)

- During active token generation or rate-limit cooldown, the application asserts an OS wake lock:
  - **macOS** : `IOPMAssertionCreateWithName` (prevent system idle sleep while allowing display sleep).
  - **Windows** : `SetThreadExecutionState` (`ES_SYSTEM_REQUIRED | ES_CONTINUOUS`).

- Automatically release the assertion when tasks are finished or manually paused.

#### 2. Auto-Resume on Quota Replenishment

- Read rate-limit reset metadata directly from response headers.
- Display a native countdown timer in the client UI.
- Provide a toggle: **“Auto-resume when quota replenishes”** (defaulting to enabled for unattended sessions).
- Automatically re-trigger the pending prompt or continuation signal upon timer expiration.

#### 3. Sequential Task List Progression (`TASKS.md`)

- Allow Codex to bind to a project markdown checklist (e.g., `TASKS.md` or `TODO.md`).
- When a task milestone is finished, Codex automatically updates the checklist (`- [x]`) and dispatches the subsequent item.

#### 4. Out-of-Band Notification Integration

- Webhook or mobile push notifications (via the ChatGPT mobile app push notifications, Discord, or generic webhooks) to notify users:
  - _“Rate limit reached. Sleeping prevented. Resuming at 14:30.”_
  - _"Task_ #3 _completed. 4/5 tasks finished."_

* * *

### Working Reference Implementation

This workflow has been validated in the open-source community via **DeskResumer** , an external supervisor app designed specifically for this use case:

- **Repository** : `github.com/Naqib2020/desk-resumer` (search **DeskResumer** on GitHub)
- **Proof-of-Concept** : Implements native macOS Menu Bar (SwiftUI) and Windows Tray wake locks, reliable cooldown countdown tracking, automated prompt injection, markdown task queue progression, and two-way remote bot management.

Native support within ChatGPT Desktop / Codex would transform long-running autonomous coding into a truly seamless, unattended experience.

---

<div class="post-metadata">

**Author:** ![rjj1](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@rjj1](https://community.openai.com/u/rjj1)\
**Post date:** [October 5, 2026, 4:40pm UTC](https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469/2 "2026-10-05T16:40:16Z")

</div>

The wake lock during active generation makes sense; I wouldn’t treat every quota cooldown as active work, though. Keep it while local work still needs to run, even if one model is quota-blocked.

If nothing local needs to run, releasing it should depend on having a reliable way to wake the machine and resume the task. Without that, retaining the lock is still needed for unattended continuation when quota recovers. A countdown in the app only helps while the app can execute; it doesn’t wake a sleeping laptop.

---

<div class="post-metadata">

**Author:** ![OpenAI\_Support](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/openai_support/32/561845_2.png) [@OpenAI\_Support](https://community.openai.com/u/OpenAI_Support)\
**Post date:** [November 5, 2026, 2:54pm UTC](https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469/3 "2026-11-05T14:54:22Z")

</div>

Hi @[**Naqib**](https://community.openai.com/u/naqib), sorry for the delayed reply, and thank you for sharing this suggestion and the reference implementation!

For sleep prevention, Settings → General → Prevent sleep while running is already available on macOS and Linux, as explained in our desktop app settings guide.

I understand the value of having unattended tasks pick up automatically after usage limits reset. I’ll pass your suggestions for quota-aware sleep prevention, automatic resumption, checklist progression, and notifications on internally. While we can’t provide implementation timelines or ongoing status updates, your feedback helps us improve the experience.

-GS

---

<div class="post-metadata">

**Author:** ![pika\_S](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pika\_S](https://community.openai.com/u/pika_S)\
**Post date:** [November 5, 2026, 2:54pm UTC](https://community.openai.com/t/feature-request-native-quota-aware-sleep-prevention-autonomous-task-resumption-for-codex-desktop-app/1403469/4 "2026-11-05T14:54:29Z")

</div>

Closed on November 5, 2026, 2:54pm UTC


