Skip to content

Auto-review denial missing from /approve; unable to request scoped re-review #43639

Done

Description

What version of Codex CLI is running?

Codex CLI v0.153.4; connected app-server v0.153.4.

What subscription do you have?

ChatGPT Pro 20x

Which model were you using?

gpt-6-astra with xhigh reasoning; subsequently switched to gpt-5.6-terra with xhigh reasoning. The unresolved approval blocker persisted after switching.

What platform is your computer?

Windows host running Ubuntu under WSL. Exact Windows build, WSL version and Linux kernel version are not available in the retained information.

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

Terminal emulator name/version and multiplexer status are unknown. Codex CLI runs inside WSL and connects to a local Codex app-server. The same session is also accessed remotely through ChatGPT on iPhone.

Codex doctor report

What issue are you seeing?

A previously denied local code-edit action is unavailable in the /approve picker, leaving no identified way to request action-specific re-review.

The archived request concerned one bundled pipeline.py patch for:

  • atomic metadata-generation refresh;
  • synthetic instrument-specific funding/settlement annotations;
  • isolated SHADOW_ONLY trailing integration.

The recorded rejection states:
“Although explicitly requested and locally scoped, this patch adds outcome-replay/cash-flow and candidate-selection mechanics prohibited by the active R2 Phase 0.1 invariants.”

The session originated in the main repository, while the intended implementation is in a sibling worktree with an offline-task addendum. The reviewer’s complete loaded instruction chain is unknown, so I cannot establish whether this is a project-scope interpretation problem, a configuration issue, or another enforced restriction.

A separate Decimal cleanup action WAS selectable in /approve. I approved it, its reviewed retry was accepted, and the patch and focused tests completed successfully.

However, the metadata/funding/shadow-trailing action was absent during two picker inspections. Only an archived description and denial remain; the original complete tool-call payload and approval ID are unavailable.

Please explain the missing action and provide the supported procedure to restore its review or submit a fresh scoped request. I am not requesting disabled safeguards or broader access.

All permitted application work is preserved in local commit:
fc58b76d80d8d2251e310480d87afa0b634c0e51

What steps can reproduce the bug?

Uploaded thread: 01a0792a-a466-7fc2-be5d-b079e14ae476

What is the expected behavior?

No response

Additional information

Feedback upload completed successfully. The upload dialog listed codex-doctor-report.json, session logs and the auto-review rollout among its diagnostics.

Uploaded reporting thread:
01a0792a-a466-7fc2-be5d-b079e14ae476

The full doctor-report JSON is not available to paste from my phone.

Observed sequence in the affected session; a standalone minimal reproduction is not available:

  1. Run Codex CLI connected to a local app-server under Windows/WSL. Both reported version v0.153.4. Permissions were set to “Approve for me.”
  2. During an owner-authorized offline implementation task in a sibling worktree, an escalated tool request attempted a bundled pipeline.py change for metadata-generation refresh, synthetic funding/settlement annotations and SHADOW_ONLY trailing.
  3. Auto-review rejected the request, citing active R2 Phase 0.1 project restrictions.
  4. Later, open /approve in the affected session. A separate cleanup action and unrelated older actions are visible, but the bundled metadata/funding/shadow-trailing action is absent.
  5. Approve the separate cleanup action. Its reviewed retry succeeds.
  6. Inspect /approve again. The bundled action is still absent.
  7. Request continuation. Codex stops before implementation because the bundled denial remains unresolved and no selectable approval identity is available.

Expected:
A supported way to request scoped re-review, or a clear explanation of why the action is unavailable and what supported recovery procedure applies.

Actual:
The archived denial is treated as effective, but its action cannot be selected for approval. Why it is absent remains unknown.

Uploaded reporting thread:
01a0792a-a466-7fc2-be5d-b079e14ae476

Recorded original-denial time window:
2026-09-07T19:34:49Z–19:37:32Z

The original denied action’s owning thread and approval ID are unknown. The uploaded reporting thread should not be assumed to identify them.

Feedback upload completed and included session/auto-review diagnostics. No denied action was recreated to reproduce this issue.

Activity

  1. added
    bug
    on Sep 8, 2026
  2. added
    CLI
    sandbox
    TUI
    on Sep 8, 2026
  3. izzodomenico-blip commented on Sep 13, 2026

    @izzodomenico-blip

    I have the same symptom in Codex Desktop on Windows: a historical Auto-review denial is missing from /approve.

    Resuming the same thread in codex-cli 0.154.0 also shows:
    “No recent auto-review denials in this thread.”

    Feedback already submitted:
    01a086af-f694-7fe0-a8df-35994cdd5a20

    How can I request review of this specific denial when it is not selectable? I am not requesting disabled safeguards.

  4. falcomultiservizisrls-svg commented on Sep 13, 2026

    @falcomultiservizisrls-svg
    Author

    Thank you for reporting this and supplying your feedback ID. Your observation is important because it shows the missing-denial symptom is also reported with CLI 0.154.0; an upgrade alone therefore cannot be assumed to resolve it.

    For maintainers, the two diagnostic submissions are:

    • My reporting thread: 01a0792a-a466-7fc2-be5d-b079e14ae476
    • Additional reporter’s feedback: 01a086af-f694-7fe0-a8df-35994cdd5a20

    These are separate reports; we have not established a shared root cause.

    Could a maintainer compare the submissions and clarify whether the missing entry results from retention limits, thread/context association, or a defect in restoring approval history?

    Most importantly, what supported review procedure applies when the agent continues to treat a historical denial as effective but its action is no longer selectable?

    My separate cleanup approval succeeded. The unresolved metadata/funding/shadow-trailing request remains blocked. I am not requesting disabled safeguards or an indirect retry.

  5. shui-creat commented on Sep 26, 2026

    @shui-creat

    补充一个Windows桌面端的相近现象,尚未确认与本问题具有相同根因。

    • 系统:Windows 10 Pro,10.0.19045,x64。
    • 当前运行应用的安装包版本:26.917.9434.0。版本来自对应安装包清单,未读取About界面;安装渠道未核实。
    • 一次向本地自动化命令文件发布内容的动作被自动审查拒绝,返回信息仅为 blocked by policy。没有获得更详细的原因。
    • 随后在原任务输入 /approve,它只作为普通消息发送,没有出现审批窗口或对应拒绝记录。因此当前无法从该入口定位原动作。

    我们保留了原拒绝状态,没有重发被拒动作或通过其他途径执行。这是已观察到的操作经过,不是重新触发拒绝的复现实验。

    希望维护者说明:Windows桌面端当前可用的正规复审途径是什么;当入口和原拒绝记录不可见时,如何定位原拒绝并获取详细原因。

    本反馈不请求关闭审查、扩大权限或自动重试原动作;未附完整会话、日志、凭据、业务数据、本机路径或任务标识。

  6. fredleeky415 commented on Sep 27, 2026

    @fredleeky415

    Additional macOS report: denial text retained, no selectable review item

    Adding a related observation rather than opening a duplicate issue. A shared root cause has not been established.

    Environment (read back locally)

    • macOS 27.0, arm64.
    • Desktop app: 26.924.22138 (installed bundle metadata).
    • App-bundled CLI: 0.158.0-alpha.2.1.
    • Separately installed CLI on PATH: 0.149.0.
    • The affected operation originated in the desktop app with automatic review enabled.

    Observed sequence — historical evidence, not a fresh reproduction

    1. A nested code-mode exec call requested exec_command with sandbox_permissions: "require_escalated" for a bounded test-host access operation.
    2. The request was rejected before process creation. The returned error included CreateProcess, Rejected, and "This action was rejected due to unacceptable risk", with an authorization/security-boundary rationale.
    3. The user reported that the desktop approval command showed No commands, and that resuming the original task with the app-bundled CLI still did not offer the denied action through /approve.
    4. A verified TUI /status capture is not available, so the CLI's actual connected runtime/context is not independently established by this report. The separate CLI versions above should not be treated as proof of the cause.

    Additional read-only diagnostic evidence

    • The original saved session JSONL retains the request as a custom_tool_call named exec, and the denial as its custom_tool_call_output.
    • Inspection of that saved session found no typed automaticApprovalReview, automatic_approval_review, or guardian_assessment record.
    • Read-only inspection of the installed desktop UI's eligibility logic indicates that the approval picker requires a denied review item with non-null action and event data.

    Diagnostic qualification after checking upstream source: Absence of a typed Guardian record in the saved JSONL is not evidence by itself that an event was lost. At upstream commit 41f9084b30812db321a0b592def4f500d1e79cf4, the rollout persistence policy explicitly classifies EventMsg::GuardianAssessment as transient/non-durable and returns false. This upstream commit has not been established as the exact source revision of the installed app. The observed denial text and empty picker remain the symptom; their cause and whether this nested rejection is eligible for user re-review remain unconfirmed. The canonical app-server review state has not been inspected, and no standalone minimal reproduction is available.

    Requested clarification

    • Should this nested-tool rejection produce a selectable review item, or does it originate from a different, non-overridable policy layer?
    • If a review item was lost, what supported procedure can restore visibility or request appropriately scoped re-review?
    • If the action is intentionally not eligible, could the UI explain that distinction instead of leaving only denial text and an empty command/picker?

    We are not requesting disabled safeguards, broader access, fabricated approval records, or an indirect retry. The denied host operation was not executed or retried to reproduce this report.

    Privacy: Submitted with explicit approval for public, de-identified reporting. No email address, company/project/VM identifiers, task/turn/call IDs, local user paths, credentials, application source, complete transcript, raw logs, or screenshots are included.

  7. TrueAgent888 commented on Oct 4, 2026

    @TrueAgent888

    Additional Windows desktop observation; a shared root cause with this issue has not been established.

    • Locally checked running app version: 26.930.31730, build 12947.
    • An Auto-review request was rejected before execution. The recorded error category is business_scope.
    • The user reports that the affected original task has no /approve menu entry or matching selectable denial. The agent's exposed capabilities also provide no re-review interface. This is not an independent inspection of the complete UI or canonical approval state.

    What is the supported recovery or re-review procedure for this desktop condition? If this rejection is intentionally ineligible for user re-review, how can the user identify that distinction?

    No denied operation was retried for this report, and no permissions were changed. This update contains no project names, local paths, code, transcripts, logs, credentials, or attachments.

  8. gzagha-coder commented on Oct 17, 2026

    @gzagha-coder

    Additional macOS Codex Desktop report — Auto-review denial missing from /approve

    I'm experiencing a similar issue with Codex Desktop on macOS.

    An automatic-review denial blocked a native SwiftUI accessibility test involving foreground-window activation.

    The original task does not display the corresponding denial in /approve → Auto-review Denials, preventing me from requesting the documented one-time reviewed retry.

    Interestingly, a separate Candle Inspector test denial in the same development environment did appear in /approve, and its reviewed retry was successfully authorized. The missing Health Bar denial remains unresolved.

    The original test's accessibility assertions have been preserved. The Health Bar denial has not been retried or bypassed.

    I have already submitted a diagnostic report through /feedback.

    Could the Codex team clarify:

    1. Why might an existing Auto-review denial be absent from /approve?
    2. How can users distinguish an intentionally non-reviewable restriction from a missing approval-history entry?
    3. What is the officially supported procedure for obtaining an exact-operation review when the denial cannot be selected?

    I'm requesting a supported review process, not relaxed security controls or unrestricted desktop access.

    Thank you.

  9. holdthatwetblanket commented on Oct 17, 2026

    @holdthatwetblanket

    I am experiencing the same missing /approve denial behaviour on Windows with Codex CLI 0.163.0.

    My case involves a cross-thread handoff from a Codex coordinator to an existing executor. The handoff was rejected because automatic review reportedly classified owner authorisation as untrusted transcript content.

    I successfully resumed both original sessions and checked /approve in each. Both returned:

    "No recent auto-review denials in this thread."

    The executor's /debug-config displays no managed requirements, but does not disclose the effective approval policy or reviewer.

    I have already uploaded diagnostic feedback using Codex CLI's /feedback command.

    Could maintainers clarify whether this type of cross-thread rejection should produce a selectable auto-review denial, and what supported recovery procedure applies when neither session exposes it?

    I am not requesting disabled safeguards or an indirect workaround.

    Additional Windows report — authorised cross-thread handoff unavailable in /approve

    I have reproduced the same missing-denial behaviour on Windows x64 using Codex CLI 0.163.0, after upgrading from 0.156.1.

    My case involves a coordinator attempting to send a bounded, explicitly owner-authorised development instruction to an existing native Codex executor using codex_app.send_message_to_thread.

    Automatic review rejected the handoff, reportedly treating the owner's direct authorisation as untrusted transcript content.

    Observed behaviour:

    • Both original Codex sessions were successfully resumed in the CLI.
    • /approve returned "No recent auto-review denials in this thread" in both sessions.
    • /debug-config showed no managed requirements.
    • The exact denied action remained unavailable for review.
    • No rejected operation was retried or bypassed.

    I submitted diagnostic feedback through /feedback, which confirmed successful upload of the reporting thread.

    Could the maintainers clarify whether cross-thread send_message_to_thread rejections are eligible for /approve?

    If not, what is the supported way to obtain review of an explicitly authorised action when the approval picker contains no corresponding denial?

    I am not requesting relaxed security controls or an indirect workaround.

  10. etraut-openai commented on Nov 25, 2026

    @etraut-openai
    Contributor

    (response from codex)

    I found the quoted denial in your uploaded diagnostics at 19:37:05 UTC on September 7. A subagent requested the bundled pipeline.py edit. The parent thread requested the Decimal cleanup. Since /approve shows denials for the selected thread, that explains why you saw the cleanup in the parent’s picker but couldn’t find the bundled edit.

    If the original CLI session is still running, open /subagents, select the subagent that worked on pipeline.py, then run /approve. Look for the rationale mentioning the R2 Phase 0.1 restrictions. This subagent used v1, which allows direct input. I couldn’t verify whether its picker still had the entry.

    If the entry is gone, resuming from disk won’t restore it. CLI 0.153.4 keeps up to ten recent denials in memory. The saved transcript can retain the rejection text, but it omits the review event the picker needs.

    For a fresh review, ask Codex in the intended worktree to check whether the offline-task addendum permits the changes flagged by the reviewer and to show you the proposed diff and risks before applying anything. If the instructions permit the change, you can explicitly approve that specific diff and ask Codex to submit it for review. Workspace policy still applies.

    I also checked the second Windows report. Its diagnostics show two denials in the reporting thread itself. An empty picker after CLI resume is consistent with the history limit described above. The separate reports of Desktop sending /approve as ordinary chat text are tracked in #55110.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions