codex icon indicating copy to clipboard operation
codex copied to clipboard

Auto-review retains earlier authorization scope; exact-action approval unavailable in desktop

Open almoghrabyf-netizen opened this issue 1 month ago • 6 comments

What version of the Codex App are you using (From “About Codex” dialog)?

Not verified; desktop app version can be supplied after checking About.

What subscription do you have?

Not verified; owner can supply the subscription tier.

What platform is your computer?

Microsoft Windows NT 10.0.26300.0 x64

What issue are you seeing?

Feedback ID: 01a124e1-aae4-7932-8cb7-accf4dd9a521

Auto-review rejected a narrowly scoped, explicitly founder-authorized read-only production database baseline, citing an older collation-only authorization. The later approval expressly covered protected record counts, SHA-256 fingerprints and accounting reconciliation, PostgreSQL 18.6, TLS verify-full, bounded timeouts, READ ONLY and final ROLLBACK. No raw business records would be exported.

After presenting the newer consolidated authorization, a second review rejected the same command. Neither rejected command executed. The internal cause of the authorization mismatch is unknown.

The documented /approve command is not offered in this desktop session; typed variants became ordinary chat messages. The current permissions control displays Ask for approval.

What steps can reproduce the bug?

Feedback ID: 01a124e1-aae4-7932-8cb7-accf4dd9a521

What is the expected behavior?

Evaluate the latest explicit human authorization and provide a supported exact-action review mechanism while retaining all mandatory policy checks. Please explain how to request one reviewed retry when /approve is unavailable, or confirm whether a client fix is required. This report does not request bypassing or disabling review.

Additional information

Retries have stopped and the prior production service settings were restored. Existing work and successful CI evidence are preserved. No migration, merge or deployment was performed.

No passwords, credentials, connection strings, financial records, private logs or chat documents are attached.

Documentation consulted: https://learn.chatgpt.com/docs/sandboxing/auto-review https://learn.chatgpt.com/docs/reference/slash-commands

App version and subscription tier remain explicitly unverified; please do not infer them from the placeholders.

almoghrabyf-netizen avatar Oct 30 '26 19:10 almoghrabyf-netizen

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

  • #58080
  • #58062
  • #57728
  • #58124
  • #58169

Powered by Codex Action

github-actions[bot] avatar Oct 30 '26 19:10 github-actions[bot]

Additional reproduction details: the Steps field retained only the feedback ID when the form was submitted. The missing details are below.

  1. An earlier authorization allowed only a read-only collation check.
  2. The founder then explicitly authorized the exact broader read-only production baseline, including protected record counts, SHA-256 fingerprints and reconciliation controls, TLS verify-full, READ ONLY, bounded timeouts and final ROLLBACK.
  3. Auto-review denied the command below using the earlier scope, then denied it again after the newer authorization was presented. Neither denied command executed.
  4. The documented /approve action is unavailable in this desktop session. No workaround or further retry has been attempted.

Exact rejected PowerShell command (no credentials):

& work/sales-test-env/Scripts/python.exe outputs/render-release-metadata-2026-10-29/render_cli_prepare_connection.py; & work/sales-test-env/Scripts/python.exe outputs/multi-company-release-implementation-2026-10-30/capture_release_baseline_APPROVAL_REQUIRED.py --approved-release-baseline

Please advise on a supported exact-action approval path that retains safety checks. No credentials, connection strings, business records or private logs are included.

almoghrabyf-netizen avatar Oct 30 '26 19:10 almoghrabyf-netizen

Related read-only baseline denial citing earlier scope, on macOS

Our October 28, 2026 incident also concerned a prerequisite read evaluated against an earlier restriction after later bounded user approval. A dot coordinated an existing connected-Mac task. The human approved one time-bounded qualification attempt in the parent conversation. A later read-only preflight was rejected before process creation, citing an earlier prohibition on new live actions.

The parent then attempted to send the existing approval and scope clarification to the same task; that message was separately rejected before delivery. Full sanitized chronology: https://github.com/openai/codex/issues/50119#issuecomment-6468925430.

This does not reproduce your PostgreSQL operation, Windows permission selector, or unavailable /approve UI. Our contribution is the earlier-scope versus later-approval sequence and its effect on a read-only prerequisite. We cannot inspect the reviewer's full input or prove the denial was caused by stale context.

Please make the applicable action-specific review and authorization-source distinction accessible without requiring a replacement task or weakened safeguards. The rejected attempt did not run, and no alternate route was used. Private targets, identifiers, transcripts and logs are omitted. Posted by my dot at my explicit request.

albertloky avatar Nov 04 '26 14:11 albertloky

Related Windows desktop case — review of a corrected startup command

I am reporting a related case in the Codex Windows desktop app. The underlying cause may differ from this issue.

Feedback ID: 01a1304e-576a-7610-8bc7-a97e9bbb5916

Observed sequence:

  1. A locally developed application had completed a database schema migration. Its production database integrity and deployed application artifacts were independently verified.
  2. An initial proposed startup command explicitly cleared two legacy startup-manifest environment variables. Auto-review rejected that command as a potential startup-guard bypass. The command was not executed.
  3. Subsequent read-only inspection identified the application's normal startup entry point. This entry point retains its startup and database verification guards and can run with external browser integration disabled.
  4. The corrected startup proposal does not clear the manifest variables, remove guards, or modify security controls.
  5. I changed the Codex desktop approval setting from "Approve for me" to "Ask for approval." However, the agent continued to treat the earlier denial as blocking the corrected startup and did not submit the corrected action for review.

Current state:

  • The application remains stopped.
  • No production startup acceptance test was performed.
  • No external service communication or business-data writes occurred.
  • The original denial has not been bypassed or retried through an alternative route.

Questions for maintainers:

  1. What is the supported process for requesting a new, action-specific review when the proposed command has been materially corrected after an Auto-review denial?
  2. Does the Windows desktop app provide an approval mechanism for this situation?
  3. Should a denial of the original command prevent review of a different command that preserves the application's startup guards?
  4. If the restriction must remain, how can the user obtain an authoritative explanation of its scope?

We are not requesting any security bypass, disabled review, or relaxation of mandatory safeguards.

No credentials, personal account details, local filesystem paths, private logs, or business data are included in this public report.

gaikou050-hub avatar Nov 12 '26 02:11 gaikou050-hub

New related observation: narrower local approval versus later exact-action approval

A separate November 15, 2026 macOS/Dot incident adds a GitHub-push example to the earlier-scope question. The first approval covered a local release-procedure change. After review denied publication, I specifically approved pushing the exact commit to the named public repository's main. The existing task verified that approval and made one retry, but reported another pre-execution denial saying the approval covered the local change rather than publication.

Full chronology, outcome and evidence limits: https://github.com/openai/codex/issues/50887#issuecomment-6905506075.

This is not a reproduction of the database operation or Windows approval UI above; we have not tested /approve availability for this occurrence. The accessible evidence is the executor's report, not the raw reviewer input, so stale context is not established.

The push remains unexecuted. Please clarify how a user can obtain a supported, scoped review of the latest explicit authorization in the existing task without replacement tasks or weakened safeguards. Posted by my dot at my explicit request; private transcripts, paths and raw logs are omitted.

albertloky avatar Nov 16 '26 02:11 albertloky

Additional user-requested feedback from a macOS desktop session on 2026-11-18:

Repeated approval requests made a bounded evaluation feel like it needed constant babysitting. A known external-model evaluation had a fixed payload, 48 calls and a $2 cap. Task-specific instructions and later instructions delivered through a coordinating chat were rejected as insufficiently explicit. A direct approval naming the provider and a $10 per-run ceiling was then accepted; the run retained its stricter $2 cap.

The established independent subscription-judge step was then separately rejected because it used a different provider. The generation continued, but the user encountered another permission boundary after believing the evaluation was already authorized.

Please make the complete action scope, all external destinations and missing authorization visible together before execution. Preserve and apply existing human approvals within their scope, and provide a clear supported way to review an exact rejection. Serial approval surprises create significant friction and destroy trust.

This is a UX report, not a request to disable safety checks. We have not established an internal root cause or claimed the two provider destinations are equivalent. Rejected actions did not execute. No project inputs, credentials, private logs, local paths or conversation identifiers are attached.

cchaman avatar Nov 18 '26 14:11 cchaman