Repository navigation
Description
Summary
In a Codex accept-edits thread, an accepted system/agent steer can overwrite the BB host session's approval gate while the already-running native Codex turn still uses approvalPolicy=on-request. A subsequent command approval can then be declined before BB persists any interaction. This stalls ordinary authorized work and produces a misleading native rejected by user result with no visible approval prompt.
Environment and evidence limits
- Installed bb-app and CLI: 0.45.0, Linux, Codex provider.
- Retained native context: workspace-write and on-request.
- Three command items were declined immediately before process creation; no corresponding pending BB interactions were retained. Accepted non-user inputs followed the human input and preceded the declines.
- This is a confirmed installed source-level failure path and a strong explanation of those events. The exact branch for each historical call was not logged, so per-call attribution is unproved.
- Desktop 0.48.1 exists; this has not been reproduced or verified fixed on that release. The current installation reports its in-app updater unsupported because it is unmanaged.
Installed failure path
- Server
resolvePermissionEscalationmaps non-user initiators todeny. - A successful steer stores new execution options in the host thread session record.
- Interactive approval handling reads that record's current mutable options, rather than an immutable active-turn policy snapshot.
- Codex's steer handler sends native
turn/steerinput and expected turn ID without updating native approval policy. - Codex declares
approvalEnforcedBy: runtime. The host interactive-request handler can directly return deny when the current runtime gate denies, without invokingonInteractiveRequestor persisting an interaction. Missing callback is another silent-denial condition.
This permits native on-request and runtime deny to coexist. A later human message is not a durable remedy if an informational steer changes the runtime gate again.
Requested maintainer disposition
Please confirm whether this is already fixed and identify the supported release, or repair the active-turn policy mismatch. Preserve restrictions on non-user-started turns and explicit revocations. Informational input should not silently change an active turn's authority; supported policy transitions should keep native and runtime gates consistent.
Please also log pre-persistence declines with reason, policy provenance and request/turn IDs, without command contents or secrets. A source-level regression should cover human start plus system/agent steer, non-user start, explicit revocation and lifecycle cancellation, checking both native policy and interaction routing. Existing denied commands should not be replayed as diagnostic probes.
No policy/mode bypass, installed patch, restart or retry was used for this report. Related #4645 concerns browser elicitation and #6667 concerns mode-change timing; neither establishes a fix for this command-approval path.
AGENT GENERATED
Activity
jmunoz818 commentedon Nov 4, 2026
Follow-up: pinned source assessment of desktop 0.48.1, commit
e003e9510cbfd3bb6c26a28630b46ffb1c242a44. This is source-based analysis, not an executed regression or proof on an upgraded installation.Please distinguish two problems:
A. Installed 0.45.0 native/runtime policy mismatch. The 0.48.1 Codex steer handler now compares permission settings, interrupts/waits for the active turn if they change, and starts a new native turn. That is a concrete synchronization improvement and appears to address stale native policy on the normal successful transition. The release is not unchanged in this respect.
B. Supported accept-edits continuation after informational non-user input. Non-user initiators still resolve to deny; runtime steer saves incoming options, and interactive routing can still deny before persistence. Deny still maps to native never. Therefore this release does not establish persistent approval availability for a human-authorized manager receiving system/child messages.
Are informational steers intended to revoke escalation for that workflow? What supported same-mode solution preserves non-user restrictions, explicit revocations and the host boundary, while allowing already-authorized work to reach a visible approval interaction? Please also expose denial provenance rather than an unattributed declined result.
No upgrade or denied-command probe was performed. An upgrade is not being recommended as a proved cure for B.
bb-slop-cop commentedon Nov 4, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · High priority · Medium effort. Applied
providers,security, andprovider-codex; no existing classification values were replaced.Reproduction report: PARTIALLY REPRODUCED · High confidence in the verified runtime mechanism; repeated in two clean checkouts of trusted main.
Incoming steer options replace the runtime escalation gate; a later approval can be denied before interaction registration. The focused runtime test observes zero interaction callbacks after a deny-valued steer. However, current Codex successfully interrupts/restarts with native
neverwhen changing fromon-request; the stale native-policy transition was not reproduced. These are boundary tests, not a live installed-Codex reproduction.Reproduction label:
partial-repro. No PR: a repair requires an authorization-policy decision and falls outside the safe simple-fix rules.Keep a running user turn's approvals when a non-user message steers i…
Keep a running user turn's approvals when a non-user message steers i…