You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: make "Worked for" cumulative since last user prompt (not per separator/status lifecycle) #13720
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestenterpriseEnterprise features like OTEL, RBAC, proxy servers, etc.
Add an explicit cumulative elapsed timer for the current turn: time since the last user prompt.
Today, Worked for appears to be based on delta timing between separators/status lifecycle events, which can reset during normal UI transitions (e.g. agent switches, status hide/restore, background task transitions).
Problem
For long-running tasks, users interpret Worked for as total elapsed work time for the turn. In practice it can show a much smaller value (example: expecting ~1h but seeing ~13m), which is confusing and undermines trust in progress reporting.
Current behavior (as implemented)
Separator timing uses delta from previous separator, not total turn elapsed.
Status timer can reset when status widget is dropped/recreated.
Streaming intentionally hides/restores status row, which can trigger recreate/reset paths.
Existing tests encode this reset behavior as expected.
Proposed behavior
Worked for should show cumulative elapsed since the most recent user message in that thread/turn.
It should not reset on:
agent switch
status hide/show
background/foreground transitions
separator insertion / chunk boundaries
Optional UX refinement
If maintainers still want per-step/per-chunk timing, keep both:
Worked for = cumulative (primary)
optional secondary per-step duration in detailed views
Why this matters
This gives users a reliable answer to: “How long has Codex been working on my current request?”
Acceptance criteria
Worked for is monotonic within a turn and anchored to last user prompt timestamp.
Switching agents does not reduce/reset displayed elapsed time.
Background task transitions do not reduce/reset displayed elapsed time.
Streaming/status row hide+restore does not reduce/reset displayed elapsed time.
Tests cover these scenarios.
Additional information
This request is about display semantics and user trust in progress timing, not model/runtime throughput itself.
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestenterpriseEnterprise features like OTEL, RBAC, proxy servers, etc.
Activity
github-actions commentedon Mar 6, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon May 2, 2026
This feature request hasn't received enough upvotes, so I'm closing it.