codex - 💡(How to fix) Fix /goal runtime includes approval-wait time

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.130.0

What subscription do you have?

pro

Which model were you using?

gpt-5.5

What platform is your computer?

macOS

What terminal emulator and version are you using (if applicable)?

Ghostty 1.3.1

What issue are you seeing?

When /goal is waiting for user approval, the /goal time accounting keeps advancing as if work is in progress, even though execution is blocked waiting on approval. This makes goal timing and runtime attribution misleading.

What steps can reproduce the bug?

  1. Start a /goal session with a workflow that requires permission approval.
  2. Let the agent reach an approval gate (for example, a dangerous-operation confirmation or equivalent sandbox/tool approval prompt).
  3. Delay approval for an extended period (e.g., several minutes).
  4. Observe the /goal time/usage counters while approval is pending.
  5. Approve and resume.
  6. Confirm the waiting interval was counted similarly to active goal runtime.

What is the expected behavior?

/goal should pause or mark the session as blocked while waiting for approval and avoid attributing approval-wait latency as active run time. This is suboptimal to track the actual time the model spent working.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING