Skip to content

Codex Browser Use approvals are auto-declined in accept-edits mode (no interaction shown) #4645

Closed

Description

@escapedoc

Summary

In a Codex thread started with permission mode accept-edits, Codex's Browser Use (the ChatGPT Chrome extension, @Chrome) is denied immediately, and no approval request is shown in bb. The same action works when the thread runs in auto mode. The standalone Codex app in its default approval mode shows a "allow access to this site" prompt for the same action and proceeds after approval.

So it looks like Browser Use approval requests from the Codex provider are not surfaced as thread interactions in accept-edits mode and end up as a silent "declined".

Environment

  • bb 0.44.0, Linux (Ubuntu 26.04), local machine
  • Codex provider, model gpt-6-sol, reasoning medium; codex-cli 0.159.3
  • ChatGPT Chrome extension enabled, site access "On all sites"

Steps to reproduce

  1. bb thread spawn --provider codex --model gpt-6-sol --permission-mode accept-edits --prompt "Open https://www.google.com with @Chrome and search for something"
  2. Codex tries to use the browser.

Actual

The tool call fails without any prompt in bb:

Browser Use rejected this action due to browser security policy. Reason: The user declined permission for this action.

(For one site the reason was instead: "A saved user permission setting blocks this action … the user has a saved preference that blocks it" — no such entry was set by the user.) bb thread interactions list shows no pending interaction for it.

Expected

An approval interaction in the thread (like command / file-change approvals in accept-edits), so the user can allow the site once or for this site — as the Codex app does.

Works

  • Same prompt with --permission-mode auto: Codex opens the page, types a query and returns results.
  • Codex app (outside bb), default approval mode: shows the site-access prompt; after "Allow" it works.

Notes

Codex threads in our setup were started in accept-edits, Claude Code threads in auto, so this showed up as "Codex can't browse in bb". Happy to provide more logs if useful.

Activity

  1. added theissue type on Oct 1, 2026
  2. added
    providers
    provider-codex
    partial-repro
    on Oct 1, 2026
  3. bb-slop-cop commented on Oct 1, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority Medium · Effort Medium; providers, provider-codex.
    • Reproduction report: PARTIALLY REPRODUCED. Confidence is high for the bridge defect; its attribution to the live Chrome action remains unverified.
    • Root cause: The Codex bridge rejects mcpServer/elicitation/request with −32601 before emitting any runtime interaction. Codex 0.159.3’s response handling converts that client error into a decline.
    • Verification: The focused regression fails identically in two clean trusted-main checkouts; command approvals pass in the same harness. All 48 relevant existing tests pass. Live Chrome behavior, auto-mode success, and saved site preferences were not verified.
    • Reproduction label: partial-repro.
    • No PR: A repair affects a permission/security boundary, which this rule excludes from automated simple fixes.

    AGENT GENERATED

  4. added a commit that references this issue on Oct 19, 2026
    595087a
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

    partial-reproprovider-codexproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions