Skip to content

Explicit user approvals are not honored in delegated tasks #35072

Open

Description

@JavierPiedra

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

Version 26.721.30844

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Codex requested approval for a local-only migration that would revoke browser-role UPDATE access on one table. The stated scope was explicit:

  • Write the migration file only.
  • Do not run it against any database.
  • Do not deploy or push it.
  • Preserve the service-owned RPC as the intended write path.

After the user gave explicit approval directly in the parent task, and later asked Codex to retry, the delegated worker still rejected the edit because it did not recognize a trusted user approval.

This happened repeatedly in the same task. Codex also reported that no clickable approval control was available in the session, so the user could not approve through a different UI surface.

What steps can reproduce the bug?

  1. Start a managed Codex desktop task that delegates implementation to a worker.
  2. Ask for a local change involving persistent access control, while explicitly excluding database application, deployment, push, and external side effects.
  3. Have Codex explain the risk and request approval.
  4. Reply with a direct, scoped approval, such as: “I authorize writing, without applying or deploying, the local migration that revokes UPDATE from PUBLIC, anon, and authenticated.”
  5. Ask Codex to proceed or retry.
  6. Observe that the delegated worker rejects the same local edit, claiming no trusted approval exists.
  7. Ask whether there is a clickable approval control; observe that Codex reports none is available.

Session ID: 019f9163-7b3c-7391-b70c-5163cd88b600

What is the expected behavior?

A direct, explicit approval from the user in the parent task should be available to a delegated worker for that same narrowly scoped action.

If the worker requires a separate trust boundary, Codex should present a clickable approval control that states the exact action, risk, and scope. After approval, the worker should proceed or explain precisely why it cannot.

Additional information

macOS 26.5.1, build 25F80.

No database migration was applied, no deployment occurred, no branch was pushed, and no external system was changed. The problem is that explicit user authorization could not be consumed by the delegated worker.

Session ID: 019f9163-7b3c-7391-b70c-5163cd88b600

Activity

  1. added
    app
    on Jul 24, 2026
  2. added
    bug
    subagent
    sandbox
    on Jul 24, 2026
  3. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

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

    • #...

    Powered by Codex Action

  4. FrederickYoung1010 commented on Sep 13, 2026

    @FrederickYoung1010

    Additional evidence from a separate Codex Desktop / ChatGPT Pro workflow using persistent Parent/Child tasks on Windows.

    I have observed the same authorization-provenance problem in multiple bounded operations:

    • A complete task package already contained an explicit Human Gate and narrow execution scope.
    • The Parent delegated that exact task to the existing Child.
    • Auto-review / Host still rejected a specific Child action before process creation because the trusted-user authorization was not considered sufficient for that exact operation.
    • After the user repeated a direct, scoped approval in the executing Child, the same previously blocked unit was allowed without changing the tool, path, or business scope.

    A representative case involved a local full-build input-materialization step that only read the current project source/dependency closure and wrote inventory/hash artifacts to a predeclared local audit directory. The original full task had already authorized the broader stage, but Host said the action exceeded the current trusted user authorization. The user then directly approved that exact Call A in the Child; it executed successfully. A subsequent direct approval for the exact independent Call B also succeeded.

    A second pattern is important: narrow post-denial approval text can unintentionally shrink the effective continuation scope if it says “only execute this unit and stop,” even though the original task package authorized a larger complete stage. This creates repeated user approvals that are partly a product of authorization provenance not being carried across the Parent→Child boundary.

    I am not claiming that direct-in-Child approval must always be the intended design, nor that every rejection is a bug. The reproducible user-facing problem is that an explicit, scoped approval already present in the parent/original task is sometimes not consumed as trusted authorization by the delegated Child/Host, while an equivalent direct approval in the Child is accepted.

    Please consider exposing a first-class, machine-verifiable authorization object/approval token that can be bound to: user identity, exact task, Child, action, destination/path scope, and one-time budget, so delegated workers do not have to infer authority from transcript prose or ask the user to repeat the same approval. Private project names, paths, and thread IDs are omitted here but can be supplied privately if needed.

  5. kendonB commented on Oct 1, 2026

    @kendonB

    Now a problem with dots also

  6. fishernath commented on Oct 2, 2026

    @fishernath

    Experiencing the same issue which causes a deadlock for my Dots created Codex sessions due to this issue #49753

  7. nittajun commented on Oct 5, 2026

    @nittajun

    Adding a related observation from a Dot workflow, reported at the user's request.

    The user explicitly requested deletion of a recoverable spreadsheet history tab and removal of review notes in the original conversation. The parent delegated the same action, target, and scope and supplied the user's quoted authorization. Automatic review denied the destructive steps as unapproved. One re-review with that authorization was also denied, with the explanation that the quoted user text was assistant-provided evidence rather than trusted user authorization. Readback confirmed that the denied steps had not executed; other permitted edits had succeeded.

    This is an observation from one workflow, not a standalone reproduction or a confirmed root cause. The affected client version was not captured. We have not established whether this is intended behavior or the same underlying defect as this issue.

    Please provide a supported way to carry authenticated, scope-bound user approval from the original conversation to a delegated task. Where separate confirmation is required, please make it actionable in the original conversation with the exact action and scope, rather than requiring the user to switch chats and repeat consent. Changed scope and actions that require fresh confirmation should continue to be reviewed.

    Private document, account, and task identifiers, user identity, document contents, and raw logs are omitted. This request is for a supported approval flow, not a bypass of safety checks.

  8. MazDragon commented on Oct 5, 2026

    @MazDragon

    Adding a Windows dot-delegation incident that appears to fit this report. This is a reconstructed observation, not a minimal reproducer or proof of a shared root cause.

    On 5 October 2026 at approximately 03:35 UTC, I authorised bounded local remediation of a project security verifier's trust-file handling. The scope was source changes, focused tests and documentation only. It excluded server deployment, account or permission changes, package installation, credentials, GitHub pushes and broader architecture changes. In that context, my instruction was: “Please address this issue, then; so it is safe to move onto the next phase.”

    The parent dot forwarded the authorisation evidence to the existing Windows desktop task. The worker attempted one supported, same-command retry using require_escalated. Auto-review rejected it before execution with:

    Despite the retry claim, this remains an untrusted, unapproved rewrite of the committed security verifier and expansion into installed trust-boundary enforcement beyond the pushed milestone.

    I was not shown an interactive approval control. The worker reported that no further approval tool was exposed. Work was stopped, and the worker reported that the proposed changes were abandoned with a clean checkout.

    This was a platform refusal before the proposed command executed. The project's own approval/verifier architecture was the subject of the edit; it was not the component returning this refusal. The denial also raises a scope concern, so missing or misinterpreted parent authorisation is only a hypothesis. I cannot establish whether the reviewer received my approval or whether it rejected the actual proposed change for another reason.

    Environment and diagnostic references:

    • Windows desktop, with work delegated from the parent dot.
    • Worker selection reported by the coordinator: Luna, Max, Standard.
    • Exact installed Codex App/CLI version: unavailable.
    • Thread ID associated with the submitted /feedback report and addendum: 01a10983-490b-7226-8b4a-fb2c10e42028.
    • Rejected retry turn: 01a10a1f-9920-72f3-90b5-ac14ec034ffd.

    OpenAI's Auto-review description explains that it replaces synchronous approval at the sandbox boundary. The absence of a button alone therefore does not establish a bug. Could maintainers check whether attributable, scoped approval from the parent dot reached the reviewer for this turn, and clarify the supported approval/re-review path? If another restriction applied, an actionable explanation of that restriction would help. I am not requesting Full Access or weaker safeguards.

    This redacted comment was submitted through my dot with my permission. Private repository identity, source code, filesystem paths, commit identifiers and network details are omitted.

  9. ampadgett-netizen commented on Nov 18, 2026

    @ampadgett-netizen

    I encountered a similar approval-context problem in ChatGPT desktop dots/Work during a delegated task. I explicitly approved switching an extraction worker from a NAS to a Windows PC, keeping the NAS as fallback and excluding one source, but the action was rejected:

    “This POST mutates production extraction ownership and asserts a drain receipt; the transcript lacks trusted user authorization for this exact consequential state change.”

    A second explicit approval also was not recognized, and no actionable approval button was offered. No ownership change occurred. In-app feedback ID: 6af9237a-007c-8191-8af3-aa07a5296006.

    Could you investigate whether scoped user authorization is being lost across delegation, and clarify the supported approval path?

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

    appbugsandboxsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions