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
Show user-side timing metrics between Codex turns #24240
Codex currently shows assistant/agent execution time, which is useful.
Feature request:
Add user-side timing metrics for each turn, such as:
Elapsed time from assistant completion to the user sending the next prompt
Active composing time from prompt-box focus / first edit to Send
Optional session summary comparing user wait/compose time vs agent execution time
Cumulative time spent composing follow-up or steering messages while Codex is still executing the previous request
Why:
-This would help users understand the rhythm of a Codex session, identify where time is spent, and make long collaborative coding sessions feel more measurable
-Helps users understand real project build time: total elapsed time, Codex execution time, and the user’s active prompting/steering time.
Privacy note:
Because typing/focus timing can feel sensitive, this should probably be local-only, opt-in, or clearly disclosed.
Related feature request from a real supervision/debugging case: #27203
The overlap is timing visibility for Codex sessions. The distinction is that #27203 asks for host-side timestamps before each visible output block during a single long agent action, generated by the Codex client/UI layer rather than by assistant-authored text.
That would help users audit elapsed wall-clock time across assistant updates, tool blocks, context compaction, and resume, even when the model itself has no reliable sense of time.
Until this exists natively: the rollout JSONLs already contain enough to compute it. I maintain a small local CLI that does this split for Codex and Claude Code logs (npx agent-hours --split, I'm the author): time from the agent's last answer to your next prompt, agent time while you were evidently watching, and autonomous agent time.
Two pitfalls if you build your own:
Long threads continue in additional rollout files that share the session id and carry history_base in their session_meta. Deduplicating by id alone drops them.
event_msg records of type thread_settings_applied can arrive without any user turn, so they should not count as activity.
Activity
simfor99 commentedon Jun 9, 2026
Related feature request from a real supervision/debugging case: #27203
The overlap is timing visibility for Codex sessions. The distinction is that #27203 asks for host-side timestamps before each visible output block during a single long agent action, generated by the Codex client/UI layer rather than by assistant-authored text.
That would help users audit elapsed wall-clock time across assistant updates, tool blocks, context compaction, and resume, even when the model itself has no reliable sense of time.
pmochine commentedon Oct 6, 2026
Until this exists natively: the rollout JSONLs already contain enough to compute it. I maintain a small local CLI that does this split for Codex and Claude Code logs (
npx agent-hours --split, I'm the author): time from the agent's last answer to your next prompt, agent time while you were evidently watching, and autonomous agent time.Two pitfalls if you build your own:
history_basein theirsession_meta. Deduplicating by id alone drops them.event_msgrecords of typethread_settings_appliedcan arrive without any user turn, so they should not count as activity.https://github.com/pmochine/agent-hours