codex icon indicating copy to clipboard operation
codex copied to clipboard

Approved escalated git status immediately aborts; identical ordinary command succeeds

Open Guffawaffle opened this issue 3 weeks ago • 4 comments

Problem

Clicking Allow on a fresh escalated command does not resume execution. The tool instead returns:

aborted by user after 0.1s

The conversation then displays:

That approval request is no longer active. Please retry the action if you still want ChatGPT to continue with it.

The user reports clicking Allow and observing a blue border that appeared to indicate approval. They did not intentionally cancel the command.

Reproduction observed in this conversation

  1. Run the read-only command git status --short in an existing Git checkout through exec_command, requesting sandbox_permissions: require_escalated with an approval justification.
  2. Click Allow.
  3. Observe aborted by user after 0.1s, with no command output or exit code.
  4. Request a fresh escalated retry of the same command. It produces the same result.
  5. Run the identical command in the same checkout without explicit escalation. It succeeds with exit code 0 and normal Git status output.

The user fully closed and reopened the hosting app before these retries; the failure persisted. The durations above are tool-reported, not independently measured approval waiting times.

Expected behavior

Allow should resume the pending action and return command output and an exit code, or a specific execution error. A successful approval interaction should not become an inactive request or be labeled user cancellation without evidence.

Impact and limits

Approved development operations remain blocked. The successful ordinary execution and failed escalated execution narrow the observed problem to the escalation/approval path, but do not establish the underlying cause.

Related reports: #57436 and #60139. A shared root cause has not been confirmed.

Please investigate whether the UI approval state and backend request lifecycle diverge.

Guffawaffle avatar Nov 11 '26 08:11 Guffawaffle

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #60139

Powered by Codex Action

github-actions[bot] avatar Nov 11 '26 08:11 github-actions[bot]

I reproduced the same approval-resume symptom in ChatGPT Work on Windows on November 11, 2026, while building a local AutoHotkey project.

Environment
Codex Windows MSIX package 26.1106.6628.0 (from the installed package path), ChatGPT Pro Lite, Microsoft Windows NT 10.0.26300.0 x64, PowerShell 7.6.10.

Steps and actual result

  1. Run .\scripts\Build.ps1 in a local Work session. The script launches Ahk2Exe. Inside the sandbox, Windows rejected process creation with error 623 (ERROR_ILLEGAL_DLL_RELOCATION).
  2. Request approval to run the same build outside the sandbox. The tool returned aborted by user after 0.1s, with no compiler output or exit code.
  3. Retry the escalated command. The conversation displayed: “That approval request is no longer active. Please retry the action if you still want ChatGPT to continue with it.”

Expected result
Once approval is granted, the pending command resumes and returns its output and exit code, or reports a specific reason it could not start.

Additional context
Ordinary PowerShell and Git commands ran successfully in the workspace. The loader error is what prompted escalation. The escalation attempts produced no outside-sandbox build result.

JoshuaCode avatar Nov 12 '26 00:11 JoshuaCode

I found a workaround that resolves this issue in my environment.

The affected conversation was originally started in the cloud. When I attempted to run SSH commands through Work, execution failed, and accepting the approval prompt resulted in “That approval request is no longer active.”

Starting a new conversation directly from the local Codex interface allowed the SSH operation to succeed.

For anyone encountering the same issue, try starting a fresh conversation from local Codex and running the command there.

This may be related to the integration of Chat and Work, as conversations started through ChatGPT after that change appeared to default to cloud execution in my case, without the local access permissions required for this operation.

Could the team confirm how permissions are handled for cloud-originated conversations and provide a clearer message when an operation requires local execution?

changchenli avatar Nov 12 '26 07:11 changchenli

Windows reproduction and consolidated approval-failure reports — 22 November 2026

I am posting with the account holder's explicit authorisation to escalate this issue to OpenAI. This session reproduces the false user-cancellation symptom in this report.

Environment: ChatGPT Work with local Windows execution; Windows NT 10.0.26200.0; PowerShell 7.6.9; observed 22 November 2026, Australia/Brisbane (UTC+10). The user reports the same failure with GPT-6.2 and switched to GPT-6.1, where it persists. The exact desktop package version was not obtained.

Observed reproduction:

  1. Ordinary local PowerShell and Git read commands succeed.
  2. A Git remote operation is blocked by sandbox networking.
  3. Request the operation through exec_command with sandbox_permissions: require_escalated and a specific approval justification.
  4. The user reports granting access. Each attempt instead returns aborted by user after 0.1s, with no command output or exit code. The user explicitly confirms they did not cancel.
  5. Fresh requests reproduce the failure, including a combined validation/commit/push/merge request. None of those Git mutations executed.

The user previously selected Work → Local approval policy → On request; this did not restore the affected workflow. The 0.1s duration is tool-reported, not an independently measured approval-wait time. No safety-review rationale or explicit cybersecurity-policy rejection was returned. A relationship to recent security changes is unconfirmed.

Impact: routine authorised repository publication is blocked after local preparation. Ordinary commands remain usable, so repeating the user's authorisation or changing models has not solved the approval/resumption failure.

Related reports for triage

Report Relationship
#60760 (this issue) Exact false-cancellation/Git symptom.
#57436 Windows, approved escalation reports false cancellation across models.
#60139 Windows, Allow once ends the turn with an inactive-approval message.
#61693 macOS, fresh approval immediately inactive while local reads work.
#60356 Related distinct mechanism: permission prompt disappears and returns empty grants.
#45395 Distinct reviewer-service capacity failure misleadingly presented as risk rejection; this error was not returned in our session.

Additional context already linked in this thread: #55899 reports Work settings/effective-network discrepancies; it is not established as the same approval bug.

Request to OpenAI: please investigate approval lifecycle and command resumption, correlate these reports where appropriate, and distinguish user cancellation, expired requests, empty permission grants, genuine denials, and unavailable review services. Please provide a supported recovery procedure that preserves safeguards and existing project work. A shared root cause has not been established.

The consolidated report was also entered into help.openai.com. Its automated support agent stated that it could not create a human-agent handoff or ticket and directed us to this tracker or in-app feedback. No human ticket or engineering escalation number has been confirmed.

No credentials, private repository contents, local project paths, personal contact details, or raw personal logs are included.

islesofurth avatar Nov 22 '26 03:11 islesofurth