Repository navigation
# Feature Proposal: Adaptive SubTask Control for Codex #39862
Duolysis24
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Feature Proposal: Adaptive SubTask Control for Codex
I would like to suggest a more intuitive task-control system for Codex that helps users manage model selection, reasoning effort, usage, and long-running tasks more efficiently.
Problem
For complex coding or research tasks, Codex often needs different levels of reasoning for different parts of the work. Some subtasks are simple, such as inspecting files or running tests. Other subtasks need stronger reasoning, such as debugging, architecture decisions, or heavy implementation.
Right now, the user has to manually choose the model and effort level before the task starts. This can be inefficient because a single complex request may contain both simple and difficult subtasks.
Another issue is that Codex can sometimes spend too much usage on a lower-priority part of the task, or continue in a direction that the user can tell is no longer useful. When that happens, the user may need to stop the task and restart with more instructions, which wastes time and usage.
Proposal
Codex should provide one connected system for adaptive task control. This system would combine:
1. Smart Task Plan Before Starting
When a user submits a complex request, Codex could break it into subtasks before execution and show a simple plan.
Example:
| Planned subtask | Recommended setup | Estimated usage | Budget |
| Inspect the codebase | Light model, low effort | 500-1,000 | 1,000 |
| Research possible solutions | Research model, high effort | 1,500-2,500 | 2,500 |
| Implement the feature | Coding model, extra-high effort | 3,000-5,000 | 5,000 |
| Run tests and verify | Light model, medium effort | 500-1,500 | 1,500 |
Codex would recommend the best model and reasoning effort for each subtask automatically. The user could approve the plan immediately or adjust the model, effort level, or budget for any subtask.
This would reduce the need for users to constantly switch models manually.
2. Live Progress and Usage During Execution
While Codex is working, it could show a live task-control panel with:
If a subtask is close to its budget, Codex should pause and ask what the user wants to do.
Example:
If the user sets a hard limit, Codex should not exceed it without permission.
3. Interrupt and Redirect
Users should be able to interrupt a running subtask when Codex starts drifting, repeating itself, hallucinating, or focusing on something unimportant.
Example:
This would make long tasks much easier to steer without needing to restart the whole prompt.
4. Resumable Checkpoints
Codex could automatically create a checkpoint after each completed subtask and whenever the user pauses execution.
A checkpoint should save:
The user could then resume from the latest checkpoint, redirect the current subtask, or return to an earlier checkpoint without needing Codex to reconstruct everything from the beginning.
Why This Matters
These features should work together as one intuitive experience, not as separate advanced settings.
The ideal workflow would be:
This would make Codex more efficient, predictable, and controllable for long coding, debugging, research, and multi-stage implementation tasks.
The main goal is not just to show token usage. The goal is to give users meaningful control over how Codex spends reasoning effort and usage across a complex task.
All reactions