Skip to content

Auto-review still denies an explicitly approved retry — clarification needed #43660

Closed

Description

@shenxiumao

What version of Codex CLI is running?

codex-cli 0.153.4

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-6-astra

What platform is your computer?

Linux 6.8.0-138-generic x86_64 x86_64

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

tmux

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1788835622s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.153.4",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is running",
      "details": {
        "app-server version": "0.153.2",
        "control socket": "/home/<user>/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/home/<user>/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/home/<user>/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/home/<user>/.codex/app-server-daemon/settings.json (missing)",
        "status": "running",
        "update-loop pid file": "/home/<user>/.codex/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 28
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "/home/<user>/.codex/auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "/home/<user>/.codex",
        "config.toml": "/home/<user>/.codex/config.toml",
        "config.toml parse": "ok",
        "cwd": "/path/to/project",
        "enabled feature flags": "shell_tool, view_image, sleep_tool, unified_exec, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, unbounded_connection_retries, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, compaction_image_budget, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "47",
        "log dir": "/home/<user>/.codex/log",
        "mcp servers": "1",
        "model": "gpt-6-astra",
        "model provider": "openai",
        "sqlite home": "/home/<user>/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.43.0",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/usr/bin/git",
        "PATH git #2": "/bin/git",
        "PATH git entries": "2",
        "git branch": "main",
        "git build options": "git version 2.43.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh",
        "git exec path": "/usr/lib/git-core",
        "git version": "git version 2.43.0",
        "repo detected": "true",
        "repo root": "/path/to/project",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 19
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/home/<user>/.local/bin/codex",
        "current executable": "/home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/bin/codex",
        "install context": "standalone (unix, package /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl, bin /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/bin, resources /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/codex-resources, path /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/codex-path)",
        "managed by Vite+": "false",
        "managed by bun": "false",
        "managed by npm": "false",
        "managed by pnpm": "false",
        "managed package root": "not set"
      },
      "remediation": null,
      "durationMs": 4
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "MCP configuration is locally consistent",
      "details": {
        "configured servers": "1",
        "disabled servers": "0",
        "streamable_http servers": "1"
      },
      "remediation": null,
      "durationMs": 656
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "managed proxy": "not configured",
        "proxy env vars present": "HTTP_PROXY, HTTPS_PROXY",
        "respect system proxy": "disabled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 688
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "lookup failed (failed to lookup address information: Try again)",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars present": "HTTP_PROXY, HTTPS_PROXY",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 6285
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running standalone on linux-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "/home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/bin/codex",
        "install method": "standalone (unix, package /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl, bin /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/bin, resources /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/codex-resources, path /home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/codex-path)",
        "platform": "linux-x86_64",
        "version": "0.153.4"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "/home/<user>/.codex/packages/standalone/releases/0.153.4-x86_64-unknown-linux-musl/codex-path/rg",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "/home/<user>/.codex/tmp/arg0/codex-arg0NWOKwL/codex-linux-sandbox",
        "execve wrapper helper": "/home/<user>/.codex/tmp/arg0/codex-arg0NWOKwL/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "network sandbox": "enabled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "endpoint protection is not inspected on this platform",
      "details": {
        "endpoint products": "not inspected on this platform"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/home/<user>/.codex (dir)",
        "active rollout files": "116 files, 1506042009 total bytes, 12983120 average bytes",
        "archived rollout files": "4 files, 40904993 total bytes, 10226248 average bytes",
        "goals DB": "/home/<user>/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/home/<user>/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/home/<user>/.codex/log (dir)",
        "memories DB": "/home/<user>/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "/home/<user>/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/home/<user>/.codex (dir)",
        "standalone release cache": "14 entries in /home/<user>/.codex/packages/standalone/releases",
        "state DB": "/home/<user>/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/home/<user>/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 1422
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "116",
        "rollout DB active rows": "116",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "4",
        "rollout DB archived rows": "4",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=108, <other-provider-1>=8, <other-provider-2>=4",
        "rollout DB rows": "120",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "subagent:other=92, cli=17, vscode=9, exec=2",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 38
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (210.9 GiB)",
      "details": {
        "CODEX_HOME available": "210.9 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "1935.8 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-US",
      "details": {
        "EDITOR": "not set",
        "LANG": "en_US.UTF-8",
        "LESS": "set",
        "PAGER": "set",
        "VISUAL": "not set",
        "os": "Ubuntu 24.4.0 (noble) [64-bit]",
        "os language": "en-US",
        "os type": "Ubuntu",
        "os version": "24.4.0"
      },
      "remediation": null,
      "durationMs": 26
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "SSH_CLIENT": "present",
        "SSH_CONNECTION": "present",
        "SSH_TTY": "present",
        "TERM": "xterm-256color",
        "color output": "enabled",
        "effective locale": "en_US.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "unknown",
        "terminal size": "237x51"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "git repo root",
        "terminal title project value": "<project>",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "warning",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.153.4",
        "check for update on startup": "true",
        "last checked at": "2026-09-07T14:22:26.594901624Z",
        "latest version probe": "curl: (22) The requested URL returned error: 403",
        "update action": "standalone installer",
        "version cache": "/home/<user>/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 265
    }
  }
}

What issue are you seeing?

An exact action approved through /approve was still rejected before process creation. The rejection explicitly acknowledges the product-level approval but cites uncertainty about a historical test fixture and an “at most one reviewer” condition.

The intended action was a repository-provided launcher for an independent read-only remote review, involving transfer of explicitly authorized source/control-plane material. No formal review of the current candidate started in this retry.

Error returned:

exec_command failed: CreateProcess {
message: "Rejected("This action was rejected due to unacceptable risk.
Reason: 尽管用户已通过产品级 /approve 明确批准该精确重试,旧 fixture 是否已联系过远端仍未知,因此无法证明本次源码外发满足批准流程要求的“至多一次 reviewer”条件。
Do not bypass this rejection through a workaround or indirect execution.
Continue with a safer alternative, or carry out checks to prove that the action is authorized or low risk before trying again.
Complete unaffected work without asking for confirmation. Report anything that remains blocked, clarify why it was blocked by auto-review, inform the user of the risk and ask for approval.")"
}

User intent, summarized rather than quoted:
Authorize one additional independent read-only review while preserving the historical fixture record and its unresolved remote-contact uncertainty.

I am requesting clarification of the authorization-scope decision, not a policy bypass.

This is a repository- and conversation-history-dependent case. I do not currently have a standalone minimal reproducer.

Historical steps:

  1. A repository-provided remote-review launcher was denied by Auto-review.
  2. I entered /approve and selected that exact denied action.
  3. The session received an action-specific approval marker with outcome "allowed".
  4. The assistant submitted the exact same command once, with the same working directory and unchanged review inputs.
  5. Auto-review rejected it before process creation, while explicitly acknowledging the approval.

Historical command:
python3 -B orchestration/bin/remote_tick.py --mmla-m19-review-once

Shell: /bin/zsh -lc
Working directory: /path/to/project (redacted)

The command depends on private repository code and is not a standalone reproduction script. No further retry or workaround was attempted after this rejection.

Feedback thread ID:
01a048e8-aad3-79c0-af7a-b899d1b00f90

What steps can reproduce the bug?

Uploaded thread: 01a048e8-aad3-79c0-af7a-b899d1b00f90

What is the expected behavior?

I understand that /approve permits one exact retry and does not guarantee execution or override every policy.

Please clarify:

  1. Whether this denial is an intentional, non-overridable restriction.
  2. Whether the separately granted authorization for one additional review was interpreted correctly, without erasing the historical fixture uncertainty.
  3. What supported remediation is available if the workflow must remain blocked.

If this is expected behavior, a clear explanation of the applicable restriction would be sufficient. If it is an authorization-scope error, please investigate it.

Additional information

Environment and doctor observations:

  • Codex CLI: 0.153.4.
  • Running app-server: 0.153.2. The versions differ; I do not know whether this is relevant.
  • Configured model reported by doctor: gpt-6-astra.
  • Platform: Linux x86_64, accessed over SSH.
  • Doctor reports approval policy "OnRequest" and the guardian_approval feature enabled.
  • Doctor overallStatus: warning.
  • The update probe returned HTTP 403. Cached latest version is 0.153.4, but the failed probe does not establish that this is currently the latest release.
  • Provider HTTP reachability passed.
  • WebSocket handshake succeeded with HTTP 101, although its details also contain a DNS lookup failure.

Historical context:
A prior test fixture launched a local reviewer process, but whether it contacted the remote provider remains unknown. This uncertainty has been preserved, not rewritten as zero activity. A separate additional review was subsequently authorized.

The exact /approve retry did not start the formal candidate review or training.

Feedback was recorded with the message "Feedback recorded (no logs)".
The doctor report is supplied separately in this issue, with personal/project paths redacted.

These diagnostic observations are included for investigation; none has been established as the cause of the refusal.

Activity

  1. added
    bug
    on Sep 8, 2026
  2. added
    CLI
    sandbox
    on Sep 8, 2026
  3. github-actions commented on Sep 8, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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

    CLIbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions