Repository navigation
Description
Codex app bug report (draft for OpenAI)
Summary: In the Codex desktop app, permission prompts can be answered "declined" by the app itself, and the result is then treated as the user's choice. Two cases: (1) a website prompt in the built-in browser was auto-declined and saved permanently for that conversation, with no way to see or undo it in Settings; (2) in Full access mode, Messages read and send approvals are auto-declined with no card shown, and the plug-in instructs the model not to tell the user how to fix it.
Environment
| Item | Value |
|---|---|
| macOS | 26.5 (build 25F71), Mac Studio |
| ChatGPT app with Codex | 26.903.61454 (bundled codex-cli 0.153.4) |
| Browser plug-in (openai-bundled) | 26.903.61454 |
| Codex Computer Use helper (runs the Messages plug-in) | 26.902.1000968 (updated 2026-09-09) |
| Global Codex settings | approval_policy never, sandbox danger-full-access |
Bug 1: a website prompt auto-declined and saved as a permanent conversation block
Steps observed (2026-09-08, two separate conversations, both started from the ChatGPT iOS app's Codex remote, both in "Approve for me" mode with helper threads running):
- Conversation A asked Codex to search ChatGPT history; Codex called
cua.createBrowserTab('iab','https://chatgpt.com'). - 0.55 s later the tool returned: "Browser Use rejected this action due to browser security policy. Reason: The user declined permission for this action." (reason code
user_declined, decision sourceuser_decision). No prompt was visible to the user, who was typing in another app on the Mac at that moment; nobody answered a prompt in half a second. - At the same second the file
~/.codex/browser/sessions/<conversation>.tomlwas written with[origins] denied = ["https://chatgpt.com"]. - Every later attempt in that conversation, in the built-in browser and in Chrome, returned "A saved user permission setting blocks this action ... the user has a saved preference that blocks it" (
persisted_user_denied). - Adding chatgpt.com under Settings → Browser use → Site permissions (global allow) did not help: the conversation-level record is checked first. Settings shows the site as allowed while the tool reports it blocked.
- Same sequence in conversation B for www.cvs.com (0.61 s), and an older conversation from 2026-08-27 for mail.google.com.
Likely mechanism (from the app bundle): the desktop app's turn-interrupt routine replies "decline" to every pending request in the conversation (command approvals, file-change approvals, permissions, user input, option pickers, and mcpServer/elicitation/request). The browser service then persists a declined origin prompt as a conversation-scoped user decision. In Full access mode the same origin prompts are auto-accepted (the app's elicitation handler auto-accepts access_browser_origin when approval policy is never and the sandbox is full access), so the failure only appears in Ask / Approve-for-me conversations.
Expected: a decline produced by an interrupt should resolve that one request only, never be persisted as a user preference; the error text should not say "the user declined". Conversation-level site decisions should be visible and removable in Settings, and a global "Always allow" should override, or at least surface, a conversation-level block.
Workaround found: empty the denied list in the conversation's browser file (takes effect without restart), or start a new conversation.
Bug 2: Messages read/send approvals silently declined in Full access; model told not to explain
Steps observed (2026-09-11, two conversations in Full access):
- User asks Codex to find a text in a specific Messages chat.
- Codex calls
mcp__messages__search_messages. 0.6 s later the plug-in returnspermission_filtered: truewith: "Read access was not approved. No content was returned. Do not ask the user to approve access or retry. Do not fall back to Computer Use or other tools..." - No approval card appears. The app-server log shows the call tagged
approval_policy=Neverand no elicitation. Codex tells the user the results were withheld and stops. - Before the 2026-09-09 helper update, reads needed no approval and worked in Full access (2026-08-29) and other modes (08-21, 08-31, 09-10).
- The new Settings → Computer use → Messages → "Read access" list (Always allow / Always ask / Never allow) exists, but nothing in the conversation points the user to it. Send permissions ("Always allowed to send") have no Add control at all; a number can only be added by answering a live send card with "Always allow", which cannot appear in Full access.
- Follow-up test on 2026-09-13: with the conversation switched to "Approve for me", a send to a chat that is NOT on the "Always allowed to send" list went through with no card shown to the user at all, so the reviewer agent approved an outbound text on its own; the number was not added to the list.
- The Read access entry is stored under the contact's iMessage address (
any;-;<email>), while the model searched by phone number; it is unclear whether an allow on one handle covers the other spelling of the same chat.
Mechanism: the Codex core rejects plug-in approvals under approval policy never ("MCP tool call requires approval, but approval policy is never"). The helper's own send text acknowledges this ("If the task's current approval_policy is confirmed to be never ... suggest switching the task to Ask for approval or Approve for me"), but the read text forbids any explanation.
Expected: in Full access, either show the read/send card anyway (as the app already does for website access), or return a message that names the fix (Settings → Computer use → Messages → Read access), and allow adding send permissions from Settings.
Related observation
"Browser is not available: iab" from the built-in browser on 09-08 (2), 09-09 (11), 09-10 (9), always early in the day, cleared by quitting and reopening the app. Both auto-declines in Bug 1 happened while the browser service process was starting (fresh initialize on its app-server connection at the same second).
Impact
Two work conversations lost browser access to key sites for three days; Messages lookups fail silently in the default Full access mode; the user was told the wrong party (himself) had declined.
Personal identifiers (names, numbers, addresses) removed from this draft. Local evidence: rollout files under ~/.codex/sessions, the app log store ~/.codex/logs_2.sqlite, and the helper store under ~/Library/Group Containers/2DC432GLL2.com.openai.sky.CUAService.
Activity
github-actions commentedon Sep 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
WQMYH commentedon Sep 28, 2026
Windows evidence: conversation-scoped denial still overrides a later global Allow
This report adds Windows evidence for Bug 1 in this issue, from a later desktop/browser-plugin version. We independently traced the ongoing denial to the persisted conversation setting. We have not established who or what produced the initial decline in our case, so this is not independent confirmation of the auto-decline mechanism.
Environment
OpenAI.Codex 26.924.2738.0(ChatGPT.exe).26.924.22138.http://127.0.0.1:8766(a local development service).Observed sequence
dom-readyfor the localhost page in the affected task.The user declined permission for this action.The conversation permission file's modification time matches this event.A saved user permission setting blocks this action.This sequence is reconstructed from existing tool receipts, desktop logs, and configuration/code inspection. No additional page access was attempted during the diagnosis.
Effective conflicting configuration
$CODEX_HOME/browser/sessions/<thread-id>.tomlstill contained:Meanwhile,
$CODEX_HOME/browser/config.tomlcontained:And
$CODEX_HOME/config.tomlcontained:We verified that the default user
.codexlocation andCODEX_HOMEresolve to the same directory through a junction; this was not a second-profile mix-up. An earlier HTTP/HTTPS mismatch had also already been corrected.Installed evaluator evidence
Read-only inspection of the shipped
browser/26.924.22138/scripts/browser-service.mjsshows:maybeAutoAnswerBrowserUseRequest(minified line 4379) readsthis.config.session(e.preferenceSessionId)and, when that session'sdeniedlist matches the origin, returns a conversation-scoped denial before the global approval branch. The returned source isbrowser-use-persisted-state.Ht(line 1075) maps that source topersisted_user_denied.A saved user permission setting blocks this action.This directly explains the continuing block. The request was stopped by Browser Use before the target application's authentication or business logic; changing the application's permissions would not address it.
Expected recovery and diagnostics
user_declined, but we did not obtain the original approval actor metadata and cannot attribute it to a human click, interruption, or automatic reviewer.The Settings pages inspected by the user did not expose this conversation record or a way to revoke it. This blocked an explicitly authorized localhost UI test and caused troubleshooting at the wrong permission layer.
Only sanitized configuration excerpts and diagnostic findings are included here; no credentials, private task IDs, application data, or full logs are attached. The permission files were not altered during this diagnosis.
luoafei88-ux commentedon Oct 3, 2026
Additional Windows reproduction on 2026-10-03: clearing browser data and restarting the app did not remove the conversation-scoped block.
Environment: Windows; Codex desktop app 26.930.31730, build 12947 (last checked by the app updater). Affected origin: http://127.0.0.1:8016.
Read-only inspection found:
Global file,
$CODEX_HOME/browser/config.toml:Conversation file,
$CODEX_HOME/browser/sessions/<conversation-id>.toml:The user reports no corresponding blocked-site entry in Settings. After the user cleared browsing data/cookies and restarted the app, a normal retry to the same origin still returned: "A saved user permission setting blocks this action." Both configuration states above remained unchanged. The permission files were not edited during diagnosis.
The origin had been used for an earlier acceptance-testing batch. We have not established who or what created the initial denial; this is evidence of the persisted conflict and failed UI recovery, not proof of the auto-decline mechanism. We also have no evidence that a subscription tier caused it.
Please provide a supported way to inspect and reset this specific conversation-level decision in the app, expose the effective permission scope/source in the error, and identify whether an official fix is available for this Windows build. The user has moved publication ahead while explicitly leaving browser interaction acceptance pending.
No credentials, private project URLs, conversation identifiers, or full logs are included.
chengjingjun377-pixel commentedon Oct 12, 2026
Additional macOS evidence: no supported way found to revoke one persisted conversation origin denial
Observed through 2026-10-12. The installed application is now 26.1007.30912, build 20156, bundle ID
com.openai.codex. Its bundled browser-service identifies the same version. We have not established whether the currently running browser process has loaded that installed version.The affected origin is a loopback development server. The human user can open the original page, while the assistant remains blocked by:
Read-only diagnosis found a matching origin in the original conversation's persisted
origins.deniedlist. Inspection of the installed evaluator found that a matching conversation denial returnsscope: conversation/source: browser-use-persisted-statebefore the global allow branch.The following did not restore access: global Always allow, removing/recreating the visible site exception, switching that exception to Ask, and restarting the application.
/approveis unavailable in this user's current interface. We have not edited the internal permission record, broadened security settings, or used another session/address/browser to bypass the restriction.The local web server stopping was diagnosed and restored separately. The human user subsequently confirmed that the page opens again; that does not clear or validate assistant access. No additional remote-generation task was submitted while its existing status was unknown.
Please provide either:
Please distinguish conversation-level denial from global site permissions in any instructions. A global exception alone has already failed in this case. We have not established who or what wrote the first denial, so this report does not attribute that action to the human user or automatic review.
This is a sanitized diagnostic summary, not an upload of logs or conversation history. Private diagnostic material, if required, would need a separate approved support channel.
funahashiyuji0331-sketch commentedon Oct 19, 2026
Additional macOS evidence: existing conversation remains blocked despite global Always allow
Please provide a supported, narrowly scoped way to revoke one saved browser-origin denial in the original conversation and request fresh user approval, while preserving the conversation, sign-in data, unrelated permissions and managed restrictions. Alternatively, please identify a release/build that repairs existing records.
Environment independently inspected: installed desktop app 26.1007.30912, build 20156, bundle com.openai.codex, macOS. The updater returned busy, so eligible update availability is unknown. Installed browser-service SHA-256: d36256c1714e5cd97a95a58894d7e2481fed7a00eb2ee46deea853bb84f80e5f. The running browser process's loaded code version was not independently established.
Observed through 19 October 2026:
The initial matching tool receipt on 18 October reported "The user declined permission for this action" after 0.8454 seconds. Its nearest turn context had approval_policy=never, approvals_reviewer=user and workspace-write. The permission record's modification time matches that event. These facts do NOT establish the decision actor: we did not obtain the raw elicitation response or proof that a human prompt was or was not displayed. Auto-decline, interruption and other paths remain hypotheses.
The documented site-rule removal has already failed here. The 26.1007 release note describes clearer guidance when permissions prevent approval requests, but does not establish recovery of a previously persisted conversation denial. Similar reports and new-chat observations are not a supported recovery procedure.
Please expose the effective permission scope/source, provide an explicit original-conversation/origin revoke-and-reapprove flow, and preserve actual decision provenance so cancellation, interruption, unavailable approval or automatic review is not silently stored as an explicit human denial. Please also distinguish prevention of new denials from repair of existing records.
No permission files, settings or app code were changed. No alternate browser, HTTP, raw CDP or new-conversation route accessed the denied site. No private origin, account name, local username/path, conversation ID, credentials, screenshots, raw logs or chat history is included. This report requests recovery guidance, not silently overriding any denial or managed policy.
clearedgehomebuyers commentedon Oct 26, 2026
Additional macOS reproduction: removing the visible site exception does not revoke the existing conversation's saved origin denial.
Environment: ChatGPT desktop with Codex, version 26.1021.31345, build 21828, bundle com.openai.codex. Observed October 26, 2026. The configured updater reported up_to_date earlier that day.
The affected destination is an owner-authorized loopback development server. The built-in browser returns: "A saved user permission setting blocks this action" before target-page access.
The visible website permission previously showed Always allow. Following AI-assisted Support's recommendation, the owner removed the exact site's custom permission in Settings > Browser > Agent permissions. One normal createBrowserTab retry in the SAME conversation at 22:14:32-22:14:36 UTC still returned the same saved-permission rejection.
A subsequent read-only check confirmed:
A prior full app restart did not restore access. The original actor or process that saved the denial remains unknown; this report does not establish an automatic-decline cause.
Please provide a supported, owner-operated way to revoke this one conversation's saved origin denial and request fresh consent, while preserving the conversation/history, browser sign-ins, unrelated permissions and managed restrictions. Alternatively, identify a fixed build and recovery steps for already affected conversations.
AI-assisted Support could not provide such a procedure or a fixed version and directed the owner to feedback/GitHub. Feedback has already been submitted; its identifier and narrowly redacted diagnostics can be provided through an appropriate private channel.
No permission files or app code were modified by the assistant. No blocked-origin workaround was attempted. This public report omits chat IDs, account identity, local usernames, private project details, credentials, screenshots and full logs/transcripts. Browser access remains unresolved.