Skip to content

[ChatGPT → Codex][Remote MCP] Opaque safety block propagates into repeated refusal without native approval or recovery #52095

Open

Description

@heavensunshine

Summary

A ChatGPT Remote Desktop Commander write_file call was blocked with an opaque safety-check message. The block had no request ID, policy category, or review handle. A subsequent handoff to an existing Codex Desktop thread restated that earlier block as an instruction not to execute the task. From that point, the agent repeatedly presented the prior block as a reason that no further action could be taken, even though the Codex thread had no native approval request or denial for that action.

This report is about refusal provenance, cross-tool handoff, and lack of actionable recovery, not a request to disable safety checks or execute a refused operation.

Environment

  • Windows desktop, ChatGPT with Remote Desktop Commander (Remote MCP), and an existing Codex Desktop session.
  • Observed on 2026-10-08.
  • In the inspected Codex turn context: approval_policy=never, approvals_reviewer=user, sandbox_policy.type=danger-full-access.
  • The work was a bounded, previously tested local hardware diagnostic workflow. No sensitive code, local user paths, device identifiers, or conversation exports are published here.

Observed sequence

  1. Earlier diagnostic tests with the same project successfully ran and collected transaction logs.
  2. ChatGPT attempted to create a local test script through Remote Desktop Commander's write_file tool. The tool call was blocked before file creation:

    This tool call was blocked by OpenAI's safety checks. Please double check what you are sending.

  3. The response did not include a denial/review ID, category, affected content range, or supported appeal/approval mechanism.
  4. ChatGPT then queued a continuation message to an existing Codex thread. The handoff incorrectly elevated the earlier ChatGPT-tool block into an enduring task instruction prohibiting further execution.
  5. The user repeatedly clarified that the test should run and asked why it could not proceed. The agent repeatedly cited the inherited block and asked for manual intervention, without surfacing a native approval item.
  6. Forensic inspection of the Codex rollout found no native command-approval request or denial corresponding to the proposed long-running test. A separate read-only 15-second serial monitor completed, with zero bytes and no device command issued; the requested motion test was never executed.
  7. A later correction acknowledged that the old restriction came from the cross-tool handoff rather than a new Codex native denial, but the workflow still had no actionable way to review the original upstream block.

Expected

  • A tool safety rejection has an identifiable source, exact action, and either a review reference / supported appeal path or a clear statement that it is non-reviewable.
  • A denied ChatGPT Remote MCP call should not be relabeled as a Codex native denial in downstream task context.
  • A temporary handoff restriction should not silently become a permanent project policy after the relevant subtask ends.
  • The agent should stop repetitive approval/confirmation loops once no actionable approval item exists; it should state the real blocking layer and its limits.
  • Permission/approval UI should not imply that an inapplicable /approve action can resolve a denial originating in a separate tool chain.

Actual

  • Opaque write_file safety rejection with no reference for review.
  • Cross-tool provenance lost; a handoff instruction was subsequently treated as a standing approval blocker.
  • Repeated conversation loop with no native Codex approval event or actionable recovery.
  • Significant time spent on read-only diagnostics instead of the requested task, and no successful execution claimed.

Distinguishing the three layers

Layer Evidence
A: Upstream ChatGPT Remote MCP safety check Actual rejection message seen during attempted write_file. The server-side rationale is unknown.
B: Handoff/task instruction Explicitly included in the text queued into Codex. This was an agent-authored scope restriction.
C: Codex native review No corresponding native approval request or denial found in the inspected local rollout. Absence of a record is not an approval.

Please investigate the upstream rejection's reviewability and improve provenance propagation / recovery messaging across ChatGPT → Remote MCP → Codex handoffs. No bypass or policy override is requested.

Related issues

Sanitized screenshots and tool logs exist and can be provided to maintainers through an appropriate private reporting channel. They are intentionally not published because they contain local filesystem / hardware details.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    safety-check
    model-behavior
    on Oct 8, 2026
  2. heavensunshine commented on Oct 8, 2026

    @heavensunshine
    Author

    Additional A/B evidence after clearing conversation context (2026-10-08)

    We now have a useful controlled observation from the same local Codex project:

    • Refusal-loop thread: the long-running Codex Desktop thread incorporated an agent-authored handoff beginning around rollout ordinal 1527, turning a prior ChatGPT Remote MCP write_file safety block into a continuing task-level "do not execute motion" instruction. No native Codex approval request or denial corresponding to the proposed long-run test was found.
    • Recovered thread: after clearing/branching the context, Codex created a fork with forked_from_ordinal_exclusive=1524 of that original thread. The fork retained earlier project context but excluded the restrictive handoff and subsequent repeated-refusal messages.
    • The recovered thread still reported model=gpt-6-astra, approval_policy=never, approvals_reviewer=user, and sandbox_policy.type=danger-full-access, matching the relevant settings observed in the looping thread.
    • In the recovered thread, Codex resumed genuine local hardware-test execution instead of repeating the old refusal: two sets of 50 movements (100/100 completed) at 19200/8N2, with 2,194 successful serial transactions, zero recorded communication anomalies, confirmed final stop, and restoration to the original baud rate. The run covered a 25 mm overall position window, with individual movements of roughly 1–5 mm. These are movement records, not a read-only simulation.
    • Important limitation: the recovered task was not an exact retry of the originally blocked 115200/21 mm single movement or the original write_file payload. This does not demonstrate that the upstream tool safety block was lifted or that the native review algorithm changed.

    This substantially strengthens the hypothesis that inherited conversation/agent handoff instructions and stale refusal state drove the repeated refusal, rather than an immutable device or native Codex approval constraint. It may be a regression in instruction-provenance/expiry handling or context reconstruction, but we have not isolated the model from the orchestration layer.

    Suggested triage: compare the conversation-context snapshot at the fork boundary (ordinal 1524) with the original thread after the restrictive handoff; verify that agent-generated handoff constraints remain source-tagged and scoped, and do not become permanent higher-authority prohibitions or unsupported claims of native approval denial. No private serial identifiers, local paths, or raw logs are included here.

  3. heavensunshine commented on Oct 8, 2026

    @heavensunshine
    Author

    Follow-up: read-only CLI help invocation blocked by upstream ChatGPT Remote MCP checks (2026-10-08)

    Another distinctly scoped call on the same Windows remote machine was rejected through Remote_Desktop_Commander.start_process before any subprocess result. The intended operation was simply to show local Codex CLI help:

    & '<local-codex-executable>' exec --help | Out-String -Width 210

    The rejection text was exactly:

    This tool call was blocked by OpenAI's safety checks. Please double check what you are sending.

    Other start_process calls in this session (read-only PowerShell inventory and subsequently launching a fresh codex exec session with a local task prompt) succeeded. This selective behavior suggests inconsistent upstream classification, but does not identify whether the input content, preceding conversation context, or server-side rollout caused it. It is not evidence of a native Codex auto_review denial. No review ID or classifier reason was returned.

    No further probing by rewording the blocked command was attempted. The fresh CLI session was later terminated due to a separate prompt-encoding issue. Please preserve tool-call provenance and expose a supported review reference or usable diagnostic category when a benign read-only invocation is blocked.

  4. suchenglong1988 commented on Oct 12, 2026

    @suchenglong1988

    Additional, narrowly scoped diagnostic evidence for the opaque upstream ChatGPT Remote MCP safety-block / missing reason reference aspect of this issue. This is a different message-only MCP App workflow; we are not claiming the same root cause, a native Codex auto-review denial, or the downstream refusal-loop symptom.

    Environment / provenance

    • Windows Codex desktop package 26.1007.2314.0 (package version, not collected from About); Windows 11 Pro 25H2 x64, build 26200.9457.
    • Personal ChatGPT account; exact subscription tier and receiver model at the failing turn were not captured.
    • Receiver is a ChatGPT/Work chat inside Codex Desktop, using a private ChatGPT Apps MCP plugin / Secure MCP Tunnel. It is not the separate ChatGPT Windows app or the Codex Settings → local MCP servers configuration.
    • Independent backend: modified WebCodex 0.5.0, baseline 0d41828e4bc3f7e3c037296d230e13b6f8153e96 plus a narrow continuation-v20 backport from 6fe2e5ab29b850597378439c60438ed376c67267. Not clean current upstream main.

    Observed single FG4 test, 2026-10-12 UTC

    1. Human directly authorized the exact bounded TEST_DONE/TEST_ACK read/verification/reply/consume scope in the original receiver chat. Both original chats' App cards were expanded; receiver was foreground. Actual bindings/leases and receiver route were checked.
    2. 03:49:39.621: exactly one TEST_DONE FG4-20261012-90A0C6F7 saved. 03:49:43.888: durable MCP App Wake attempt recorded delivered/dispatch accepted; the original receiver chat actually produced a new processing response.
    3. Server metrics record bootstrap_agent_conversation at 03:49:50.728 and list_agent_inbox at 03:49:56.813. Receiver reported successful exact Wake bootstrap and Inbox body/author/recipient verification.
    4. Receiver then reported call_runtime_tool → read_conversation rejected with:
    Script error:
    此工具调用被 OpenAI 的安全检查屏蔽。请仔细检查你发送的内容。
    

    Translation: this tool call was blocked by OpenAI's safety checks; double-check the content. No error code, reason category, review handle or blocked-call request ID was exposed. The backend's 03:49–03:50 metrics contain no execution of that read_conversation. It had executed successfully during the human preparation turn at 03:46:47, without an intervening server/build/tool-definition change.
    5. Exactly one DONE, zero ACK, no Delivery/Wake consumption. We stopped; no resend, proxy ACK, alternate-tool retry of the blocked read, database-token access, or disabled safety controls. Confirmation UI was not continuously observed, so we do not assert the user rejected a prompt.
    6. Server/Tunnel exited normally (code0), experiment plugin disconnected, evidence retained. No background success claimed.

    Important limits / contract observation

    • We have not recovered the rejected execution script / full argument object, or the receiver's Code Mode UI setting. This is an observed sequence, not a deterministic argument-for-argument A/B reproduction. We cannot assert the rejected arguments were valid or that the classification was a false positive.
    • Actual scanned backend tools/list had no dedicated read_conversation; it was reached via call_runtime_tool.
    • Actual gateway annotations:
    {"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}
    • WebCodex's semantic target is a bounded transcript read: Observe/Read/Approval=None/PureRead. The gateway also admits mixed-effect execution tools, so we have not mislabeled the whole gateway read-only or weakened its admission/authority checks.
    • Whether mixed-effect wrapper metadata or App-initiated turn context influenced the safety rejection is a hypothesis, not an established cause.
    • Source-derived target parameters (not captured failed arguments): required conversation_id; optional exact agent_id/endpoint_id/expected_controller_generation tuple for Agent view; bounded after_seq/limit.
    • Backend author's report: 希望支持 ChatGPT 和 Codex 自动双向通信,目前消息能保存,但无法唤醒 ChatGPT yyjeqhc/webcodex#1013 (comment)

    OpenAI Help Center's AI-assisted chat received these details and the contact email, but explicitly said it could not transfer to a specialist or issue an official case ID; we do not count that as engineering acceptance. Its metadata-design suggestion is not a confirmed diagnosis.

    Could maintainers advise how to obtain a usable rejection reference / reason category, which redacted tool-call detail or telemetry is needed, and whether subsequent MCP reads/replies in App-initiated ChatGPT turns inside Codex Desktop are a supported flow? If this belongs in another tracker/surface, please direct us there. We seek a compliant diagnostic/recovery path, not a safety bypass. Posted by Codex with the user's authorization; backend state/metrics were checked locally, while the precise safety error is the receiver-chat report.

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

    appbugmcpmodel-behaviorsafety-checkwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions