Skip to content

Cross-chat authorization inconsistency #50758

Open

Description

@nakita-creator

Cross-chat authorization inconsistency. Explicit user authorization for bounded reversible work is sometimes rejected when relayed to an existing local task as outside its original scope. The same instruction given directly by the user in the destination chat succeeds; in one case, reading the original authenticated human approval allowed progress. Please investigate whether updated task scope and original approval evidence reach the action reviewer consistently. Expected: equivalent bounded verified authorization evaluated consistently. Preserve existing safeguards and surface a supported approval request when evidence is insufficient. Observed October 3, 2026. No business data or logs attached. This is an observed inconsistency, not a confirmed root cause.

Activity

  1. added
    bug
    agent
    on Oct 4, 2026
  2. SHENYL97 commented on Oct 30, 2026

    @SHENYL97

    Additional anonymized Windows desktop reproduction: controller authorization not recognized in execution chat

    Summary

    I use a controller chat to coordinate several execution chats in the Codex desktop app. After I explicitly authorize a bounded operation in the controller chat, it delegates the operation to the appropriate execution chat using the app's cross-chat messaging tool.

    The project can verify the original authorization, assigned scope, target identity, input identity, resource limits, and duplicate-execution status. However, Auto-review has repeatedly rejected the actual execution, requiring me to confirm the same action again in the execution chat.

    Some rejection rationales referred to an earlier "review only; do not execute" instruction or a different historical target rather than the newer controller authorization.

    This report is anonymized. No account names, network addresses, filesystem paths, chat identifiers, job identifiers, credentials, or research inputs are included.

    Environment

    • Codex desktop app on Windows.
    • App-provided cross-chat messaging tool.
    • Auto-review enabled.
    • Relevant runtime logs show OnRequest, AutoReview, and a managed permission profile.
    • Approval checks were not disabled. Filesystem or network permissions were not broadened, broad command allow rules were not added, and the reviewer policy was not modified.
    • The desktop app version was not independently verified. Component versions found in logs are not being presented as the desktop app version.

    Observed reproduction sequence

    The following uses anonymized controller chat C, execution chat W, and job J:

    1. W previously handled a task whose historical context included instructions such as "review only" and "do not operate on jobs."
    2. I subsequently authorized a new, bounded operation directly in C. The authorization explicitly permitted preparation and one submission, subject to a resource limit.
    3. C delegated that operation to W through the app's messaging tool, providing references to the existing authorization, target, and input bindings.
    4. W verified the assignment and identities, checked for duplicate execution, and prepared J. The canonical submission preflight passed.
    5. When W requested the actual submission, Auto-review rejected it before the command started. Reported reasons included authorization being available only through untrusted delegation, the trusted user message referring to another job, and an earlier review-only instruction prohibiting the action. These are anonymized paraphrases, not verbatim reviewer messages.
    6. W used read-only tools to retrieve the original user authorization from C and supplied additional evidence binding it to the same target. Rejection still occurred.
    7. I then directly confirmed the exact prepared job in W. The same prepared job was subsequently submitted through the same canonical entrypoint, without rebuilding the target or changing its scientific parameters to obtain approval.

    This is an observed sequence from real operations, not a minimal reproduction guaranteed to trigger the issue every time. The sequence alone does not establish that the additional confirmation was the sole cause of the later successful submission.

    Evidence available and its limits

    The following evidence has been checked locally:

    • Original direct user authorization in the controller conversation, with source-record references.
    • The relationship between that authorization and the derived execution assignment.
    • Bindings among the intended target, input identities, and prepared job.
    • Original tool-returned Auto-review rejection records.
    • Execution records confirming that the rejected attempts did not obtain a remote job ID, submission reservation, or successful submission receipt.
    • A later successful submission receipt confirming use of the same prepared target.

    No unredacted conversations, databases, configuration files, or raw logs are attached.

    The reviewer's complete effective input was not available. Consequently, this report does not establish whether the underlying cause is context selection, transcript compaction, provenance handling, target association, or another mechanism.

    A separate project-side parameter representation/type-conversion issue was identified and fixed independently. The approval failures described here occurred after the project's submission preflight passed and should not be conflated with parameter-validation failures.

    Impact

    • The same operation requires confirmation in both the controller and execution chats.
    • Explicitly bounded delegation cannot reliably proceed through execution.
    • Repeating authorization text, hashes, or local records has not reliably resolved the rejection.
    • The user must repeatedly coordinate conversation context and distinguish missing business authorization from an application-level approval denial.

    Expected behavior

    Please clarify whether Codex supports carrying bounded user authorization across chats.

    If supported, the application should provide the reviewer with a trusted association between the original user approval and the derived execution action, rather than relying solely on forwarded text or tool-returned quotations:

    • A user should be able to authorize a clearly bounded scope in the controller chat without knowing a job identifier that will only be generated during preparation.
    • The application should verify whether a specific derived action falls within that authorized scope.
    • Moving execution to another chat should not, by itself, require the user to repeat the same authorization.
    • Each action should remain subject to review. Wrong targets, expanded scope, exceeded budgets, changed inputs, duplicate execution, and revoked authorization must still be blocked.
    • Newer authorization and older review-only restrictions should be distinguished according to their targets and applicable scopes.
    • When authorization cannot be established, the rejection should identify the missing association rather than generically requesting renewed scientific or business approval.

    If this is not currently supported, please provide a documented, auditable workflow that minimizes repeated user interaction and clearly explains the product limitation.

    Security requirements

    This request does not ask to disable Auto-review, broaden permissions, or automatically trust delegated text, local files, or tool outputs.

    Any trusted approval reference must be established by the application from a genuine user action, not fabricated by an agent.

    A denied action must not be pursued by switching tools, renaming the target, using indirect execution, or moving execution to the controller as a workaround.

    The requested outcome is to preserve approval and permission boundaries while avoiding repeated confirmation of the same explicitly authorized operation.

  3. SHENYL97 commented on Nov 2, 2026

    @SHENYL97

    Follow-up: correct parent/root turn attribution is present, but controller approval is still rejected

    This supplements my earlier Windows reproduction: #50758 (comment)

    Observed on 2026-11-03 (Asia/Shanghai). This update is submitted with the user's explicit authorization. All conversation, turn, job, account, host, path and research identifiers are omitted or replaced with placeholders.

    New evidence

    The user explicitly authorized one bounded calculation in controller chat C. C delegated it to the existing owning execution chat W through the app's messaging tool. The existing project authorization and derived assignment were recorded, and the canonical preparation dry-run passed.

    Crucially, the original local runtime log for the rejected delegated turn already contains the correct attribution. The following is a sanitized projection of that actual event, not a newly constructed authorization record:

    {
      "type": "task_started",
      "turn_id": "DELEGATED_TURN",
      "root_turn_id": "ORIGINAL_USER_APPROVAL_TURN",
      "turn_attribution": {
        "turn_id": "DELEGATED_TURN",
        "turn_trigger": "app_tool_send_message",
        "parent_turn_id": "ORIGINAL_USER_APPROVAL_TURN",
        "root_turn_id": "ORIGINAL_USER_APPROVAL_TURN"
      }
    }

    The referenced parent/root turn was checked locally against the actual human approval in C. Both references match that approval turn. The delegated turn's separate turn-context record also carries the same root-turn reference.

    Nevertheless, Auto-review rejected a read-only scheduler duplicate check before the command process started, before formal preparation or submission. An anonymized paraphrase of the original tool-returned rationale is:

    The read-only query concerns a new task authorized only by untrusted delegation context; no trusted user message establishes that scope.

    At this blocked point there were zero new jobs and zero submissions. This was not a scheduler rejection or a failed scientific-parameter check.

    Subsequent direct-message comparison

    The user then directly authorized the same exact object and existing bounded scope in W. Its runtime attribution changed to turn_trigger: "composer", with no parent turn and a new root.

    W reused the already preflighted request and unchanged scientific/resource scope, checked for duplicates, and successfully prepared and submitted exactly one job through the canonical entrypoints. The submission receipt was verified locally.

    This later success is an observed comparison, not proof that the direct message was the only variable affecting the outcome. The initially rejected turn had no prepared job, so this update does not claim that an existing prepared identity was reused in this particular occurrence.

    Protocol inspection and evidence limits

    The locally installed CLI/protocol generator reports 0.166.0-alpha.5.1. Its generated TurnStartParams schema exposes parentTurnId, rootTurnId and turnTrigger; the descriptions explicitly cover work delegated from another thread. This is the component version inspected during follow-up, not an independently verified desktop build or the exact reviewer binary at the time of rejection.

    Correct attribution alone is not authorization. The application's linkage must be validated against the genuine human source decision and the proposed action; arbitrary caller-supplied turn IDs must never become authority.

    The evidence establishes that parent/root attribution was present in the local runtime record. We cannot see the reviewer's complete effective input, so we cannot determine whether the original approval/linkage was omitted from the reviewer input, supplied but treated as untrusted, or handled differently for another reason.

    There is no evidence in this occurrence that W executed a different historical target. Project-side representation fixes did not resolve this application-level denial.

    Requested behavior, with existing boundaries preserved

    Please investigate how the app's existing parent/root attribution is consumed by the approval reviewer, and provide a supported way to validate and carry the original human authorization into the delegated action.

    When the app verifies that a delegated action is within the controller's still-valid approval, changing the execution chat should not require the user to visit W and approve the same scope again. Review must still reject changed targets or inputs, expanded operations, exceeded budgets, duplicate execution and revoked authorization.

    This is not a request to disable Auto-review, broaden network/filesystem permissions, add broad allow rules, trust agent quotations or local files automatically, inject synthetic user/developer approval messages, or bypass a denied action using another tool/chat.

    Please distinguish an original scientific/business authorization from an action-specific application approval. If a supported additional application approval is necessary, identify that exact requirement and offer an actionable native path without asking the user to restate the entire already-approved scientific scope.

    No raw transcripts, credentials, private paths, host addresses, real identifiers, input files or research data are attached. No production action was repeated to produce this follow-up.

  4. DJRUBIO commented on Nov 13, 2026

    @DJRUBIO

    Additional macOS desktop observation: approved work, rejected return callback

    I am seeing the cross-chat authorization inconsistency described in this issue during ordinary read-only report returns in the Codex desktop app. Environment: ChatGPT desktop bundle 26.1103.60933 (build 25894), macOS 14.8.3, Apple silicon, workspace-write with auto_review. The retained /Applications/Codex.app CLI path is absent on this machine, so I am not claiming a bundled Codex CLI version.

    On November 13, a human authorized a bounded specialist audit in a coordinator chat. The coordinator's handoff named the coordinator as the return destination. The specialist completed the audit and attempted to send a report/receipt callback. Automatic approval review rejected that send because it could not verify direct human authorization for the exact destination and disclosure of findings/paths. The human then directly authorized that exact callback in the specialist's sending chat; the send was accepted. The report was read and accepted by the coordinator. This is one observed sequence, not proof that direct approval is always sufficient.

    In a second same-day read-only review, a specialist saved the report/receipt but withheld its callback because the tool required direct recipient-specific authorization; the coordinator retrieved the original artifacts. In the same investigation, a coordinator's request to a documentation task to assemble a redacted local evidence pack was rejected because the reviewer could not verify authorization for that different recipient, despite the underlying callback investigation being authorized. That send was stopped and not retried through another route.

    These are distinct outcomes: one rejected callback followed by a separately authorized success, one prudent no-send, and one rejected internal preparation handoff. Local artifact retrieval avoided lost reports but did not repair direct delivery. No product/provider settings, accounts, deployments or public data were changed. No private chat IDs, local paths, project/customer names, report content, logs or screenshots are included here.

    Could maintainers clarify whether a founder's bounded authorization in a coordinator chat can support a named worker-to-coordinator result callback, and if so, how the trusted grant is carried into the sending chat? If repeated direct human authorization in each worker chat is intended, please document that contract and a reliable app-native return/retrieval path. A distinct reviewer decision code or trace ID would help separate policy denials from authorization-provenance failures without sharing sensitive report bodies. We are not asking to disable approval review or to treat forwarded text as human authority.

  5. DJRUBIO commented on Nov 20, 2026

    @DJRUBIO

    New macOS observation: exact recipient approval unblocks an internal message

    On November 20, 2026, a coordinator tried to send a low-sensitivity awareness note to a verified internal documentation task. The desktop send_message_to_thread action was rejected before delivery because automatic approval review could not verify that the human user had explicitly authorized messaging that recipient. The coordinator stopped and did not reroute the rejected send.

    The human user then named that recipient and directly authorized the awareness note in the sending chat. A later send to the same recipient and for the same purpose was accepted. The later wording included the direct-authorization statement, so this is not a byte-for-byte controlled replay and does not isolate whether the reviewer relied on the new human turn, wording, or both. The result shows one specific send accepted after direct approval; it does not establish a general callback fix.

    The organization already has a founder-approved standing rule for bounded internal coordination within authorized workstreams. That local rule explicitly does not override app approval review. The current tool contract appears to require direct human authorization in the sending chat or other trusted evidence for each destination; an orchestrator message requesting a callback is not itself sufficient. This can force repeated human interventions even for routine return receipts.

    Could the Codex product/policy owner classify whether recipient-specific approval on each ordinary cross-chat send is intended policy or an authorization-provenance defect? Please identify a supported scoped grant or first-party result channel that carries the human decision, sending and receiving chat identities, purpose/disclosure class, and expiry or revocation. A minimal decision code or trace ID for rejected/accepted sends would help verify the remedy without exposing message contents. We can test one new ordinary authorized callback and a denied wrong-recipient case if a product-supported test path exists.

    No report body, personal content, customer data, credential, private path, chat identifier, account identifier or raw approval trace is included in this follow-up. The previously reported local artifact retrieval remains the fallback; it does not make direct callback reliable.

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

    agentbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions