Skip to content

Multiple perfectly innocent codex sessions started complaining about prompts violating usage policy even halfway into a session #39745

Open

Description

@juusirantala

What version of Codex CLI is running?

0.147.0

What subscription do you have?

Enterprise

Which model were you using?

gpt-5.6-sol xhigh / ultra

What platform is your computer?

Linux 7.1.8-1-cachyos x86_64 unknown

What terminal emulator and version are you using (if applicable)?

Konsole

Codex doctor report

What issue are you seeing?

Multiple sessions all at the same time hit this:

• Explored
└ Read rust_guidelines.md

■ Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt:
https://platform.openai.com/docs/guides/reasoning#advice-on-prompting

› please continue you crashed

■ Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt:
https://platform.openai.com/docs/guides/reasoning#advice-on-prompting

What steps can reproduce the bug?

Uploaded thread: 01a01fc2-5a39-7781-ba6a-7f142e04bdb9

What is the expected behavior?

Not complain about my valid professional work all of a sudden.

Additional information

I want a lot of my tokens reimbursed as this wasted safety critical long runs on multiple sessions.

Activity

  1. added
    CLIIssues related to the Codex CLI
    safety-checkIssues related to safety and abuse checks
    on Aug 20, 2026
  2. ChrisMasterton commented on Aug 22, 2026

    @ChrisMasterton

    Same issue in feedback: 01a02a43-20ec-7d52-a7e9-887d87b68fdb

    When I ask codex what I did:

    Nothing in your request was inappropriate. You’re debugging ordinary NPC navigation and scheduling in your own game; that’s fully legitimate.
    If Codex showed a “usage policy” warning, it was almost certainly a false positive from an automated classifier—not something you should avoid phrasing next time. I don’t have visibility into the exact classifier trigger, but likely candidates in the logs are generic words such as “failed,” “blocked,” or “satisfy need” being interpreted without the surrounding game-simulation context. You did nothing wrong, and I’m continuing the debugging work.

    Immediately after this reply from codex it triggered another potential violation flag.

  3. TrishynVolodymyr commented on Aug 25, 2026

    @TrishynVolodymyr

    I can reproduce the same issue in Codex Desktop on Windows.

    Environment:

    • Codex app-server/client: 0.149.0
    • Initially reproduced with gpt-5.6-sol, High reasoning
    • Changing model/reasoning settings did not resolve it

    This happened during benign Unreal Engine C++ development for a colony-simulation game. The task involved ordinary AI scheduling and work-priority logic.

    After successful builds and tests, Codex repeatedly failed before starting a local tool call. At least five consecutive attempts to apply a small Markdown documentation update ended with:

    “Invalid prompt: your prompt was flagged as potentially violating our usage policy.”

    Read-only commands and some patches had worked in the same session, so this was not a general filesystem or Git failure. The rejected attempts did not launch the announced local command.

    The local Codex logs show a tool-call output item followed by:
    unhandled responses event: "error"

    No useful policy category or request ID was exposed.

    One potentially relevant — and slightly absurd — lexical detail: the project contains a benign C++ interface/file named INeedSatisfier. In the game architecture, this simply means “an implementation that creates a job for satisfying a simulated character need,” such as eating or resting.

    We considered whether an automated classifier might tokenize INeedSatisfier as the natural-language phrase “I need satisfier.” However, this remains only a hypothesis: failures also occurred when that identifier was not present in the immediate command or explanation.

    I can provide the affected task ID privately to OpenAI staff, but I would prefer not to publish the task identifier, complete conversation, or proprietary project files in a public GitHub issue.

    upd.
    Seems like problem has been solved, or at least I did not encountered into this issue again.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingsafety-checkIssues related to safety and abuse checks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions