Skip to content

[Windows][Codex Desktop][Astra] Benign UI question repeatedly ends with misalignment_policy_violation before any tool call #43728

Open

Description

@Free-LZJ

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

26.901.6511.0 (Windows x64). The bundled Codex core recorded in the affected sessions was 0.153.4.

What subscription do you have?

API-key authentication. The local session metadata does not expose a separate subscription name.

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64 (Windows 10 Pro, build 19045).

What issue are you seeing?

GPT-6 Astra repeatedly ends fresh Codex Desktop tasks with misalignment_policy_violation for a benign, read-only question about existing frontend behavior.

The prompt, with the private route generalized, was:

On the task tracking page (/admin/.../records), under what condition is the “Task Report” control clickable?

The first attempt ended after 5.4 seconds with no assistant response, tool call, file read, network request, or modification:

This request was blocked by our safety systems. Reason: Potentially unintended activity.
codex_error_info: misalignment_policy_violation

The same prompt was tried five times across two fresh task records. Every attempt ended with the same error after approximately 4.9-8.9 seconds. One retry emitted only a brief sentence saying it would inspect the click condition, then stopped before making any tool call.

All five clean reproductions used gpt-6-astra, medium reasoning. The sessions recorded approval_policy=never and sandbox=danger-full-access, but no consequential action was attempted before the block.

This is not a report about bypassing a valid safety finding. A separate local task reviewed an earlier finding involving database writes through a read-only integration; those stops may have been appropriate and are deliberately excluded from the false-positive reproduction above.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows in an existing software repository.
  2. Start a fresh task with GPT-6 Astra and medium reasoning.
  3. Ask a simple read-only source question, for example: “On the task tracking page, under what condition is the Task Report control clickable?”
  4. Observe that the task ends within seconds with misalignment_policy_violation, before any tool call or code inspection.
  5. Retry or create another fresh task with the same prompt. In this occurrence, the result repeated five times.

Diagnostic IDs for OpenAI correlation:

  • Session 01a07b36-5fa8-7712-bd9b-981b34610c69
    • Turn 01a07b36-afcd-7673-b516-4c871e396e36
    • Turn 01a07b37-70d4-77f2-8566-91fa8592efaf
  • Session 01a07b39-e8a0-7e22-884f-f8e1835f0ea6
    • Turn 01a07b39-ec80-7362-a3d7-878b8e1c13b5
    • Turn 01a07b3a-7ab0-7451-b673-6936e73e3bd1
    • Turn 01a07b3d-8db8-7f83-9e91-a669e05e397b

UTC timestamps ranged from 2026-09-07 09:33:02 to 09:40:33.

What is the expected behavior?

A benign question about a UI control should proceed to read-only code inspection or request clarification. It should not terminate before the first tool call.

If a safety finding from another task is relevant, the UI should identify that relationship and provide an actionable review path. A fresh task should not be silently stopped because of unrelated prior context or state.

Additional information

A read-only scan of local Codex records found 12 distinct misalignment_policy_violation turns across six sessions between 2026-09-07 and 2026-09-08. This issue does not claim that all 12 were false positives. It reports only the five clean reproductions above, where the prompt was benign and the first stop occurred before any tool use.

There were also later stops during ordinary read-only frontend diagnosis in separate Astra tasks, which suggests the problem was not limited to one task record. Cross-task or account-level state is only a hypothesis; the client records cannot establish the backend cause.

Related reports:

Official behavior reference: https://developers.openai.com/api/docs/guides/safety-checks/misalignment-monitoring

Private source code, credentials, hostnames, full prompts, and application data are intentionally omitted.

Activity

  1. added
    bug
    app
    windows-os
    safety-check
    on Sep 8, 2026
  2. gustavo89587 commented on Sep 9, 2026

    @gustavo89587

    The fact that this terminates before the first tool call is particularly interesting.

    It means the system is making an execution-level decision before observing the action that would actually occur.

    For agent runtimes, I think these should be separate boundaries:
    intent classification → proposed capability → effective operation → execution decision.

    A suspicious signal may justify constraining capability, but it shouldn't necessarily collapse directly into terminal denial when the proposed operation is read-only and no consequential action has occurred.

    I've been exploring this separation in Vortex as a runtime decision boundary: risk evidence informs authority; it does not become authority.

  3. nv-jsaito commented on Sep 22, 2026

    @nv-jsaito

    Suspected safety false positive blocks a Codex exec continuation before any output

    Summary

    An existing Codex exec session failed while answering an ordinary cloud-storage troubleshooting question. The provider emitted This request was blocked by our safety systems. and terminated the turn before any tool call or assistant answer. The full session records codex_error_info: misalignment_policy_violation. Please investigate this as a suspected false positive.

    Environment and timing

    • Incident: September 22, 2026, approximately 16:24 UTC.
    • Surface: noninteractive Codex exec resuming a session on Linux.
    • Model and reasoning setting recorded for the affected turn: gpt-6-astra, high.
    • Installed CLI checked after the failure: 0.155.1. The original session header records 0.154.0 from its creation several days earlier. The exact executable version at the failed continuation was not independently recorded.
    • Exit code: 1.

    Request, sanitized paraphrase

    Explain what cloud-storage organization work is complete and what remains. Explain why the HTML report was updated despite a storage-access failure, and whether a recent credential rotation or read/write permissions could explain the access problem.

    This was authorized operational troubleshooting. The visible request did not ask to obtain secrets or bypass access controls. The complete resumed context has not been reduced to an independently reproducible example.

    Observed event sequence

    {"type":"thread.started","thread_id":"[omitted from public report]"}
    {"type":"turn.started"}
    {"type":"error","message":"This request was blocked by our safety systems."}
    {"type":"turn.failed","error":{"message":"This request was blocked by our safety systems."}}

    No tool call or assistant answer occurred in this failed stage. Our integration subsequently reported an empty structured-result parsing error; that was downstream of the provider rejection, not the original failure.

    The full session's completion event at 16:24:43.191 UTC records last_agent_message: null, codex_error_info: misalignment_policy_violation, and a 9,105 ms turn duration. This error code was absent from the exec stage's shorter error events.

    Expected behavior and investigation request

    The assistant should be able to explain authorized cloud-storage access failures and prior work status. If safety review is required, please preserve the session and provide an actionable diagnostic/correlation ID rather than only a generic terminal error.

    Please determine whether the request was misclassified, whether prior resumed context contributed, and what supported recovery path is available. The error category identifies misalignment monitoring, but it does not identify the triggering content or establish a cybersecurity-content classification.

    Related user reports include #43728 (same error code before tool use) and #43964 (Astra explanation-only follow-ups blocked). Similar symptoms do not establish an identical root cause. The current report has not been independently reproduced on the latest CLI.

    Internal links, project names, storage locations, session identifiers, source code, and credentials are omitted from this public-safe report. Session correlation details can be supplied through a private support route.

  4. gustavo89587 commented on Sep 23, 2026

    @gustavo89587

    The new Linux/exec report makes one invariant worth testing explicitly:

    A terminal execution denial should be attributable to an effective operation, not only to pre-execution risk evidence.

    If no tool call or concrete operation has been proposed yet, the runtime should be able to distinguish:

    risk signal → capability restriction

    from

    effective operation → execution denial

    This doesn't establish that the Windows/Desktop and Linux/exec cases share a root cause. But testing that boundary across both cases could help determine whether the failure is in intent classification, state propagation, capability selection, or the final execution gate.

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

    appbugsafety-checkwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions