Skip to content

GPT-6 Sol/Luna/Astra falsely reject benign prompts with Invalid prompt safety error #48817

Open

Description

@newnew0097-web

What version of Codex CLI is running?

v0.157.1

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-6-luna, gpt-6-sol, gpt-6-astra

What platform is your computer?

Linux 6.8.0-138-generic x86_64 x86_64

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

No response

Codex doctor report

What issue are you seeing?

All GPT-6 models available to me in Codex CLI (Luna, Sol, and Astra) incorrectly reject benign prompts such as "hi".

The error is:

Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt.

The same prompt works normally with GPT-5.6 Luna.

This also happens in newly created conversations and in an isolated temporary directory, so it does not appear to be caused by prior conversation context, project configuration, or user rules.

What steps can reproduce the bug?

Uploaded thread: 01a0e545-1237-7042-8a7a-c750fe825fd7

What is the expected behavior?

Benign prompts such as "hi" should be accepted normally by GPT-6 models.

GPT-6 Luna, Sol, and Astra should behave consistently with GPT-5.6 for harmless prompts and should not return a safety-policy "Invalid prompt" error.

For example, entering "hi" should produce a normal assistant response rather than being blocked by the safety classifier.

Additional information

The issue affects all GPT-6 models I tested: Luna, Sol, and Astra.

GPT-5.6 Luna works normally on the same machine, account, network connection, Codex installation, and with the same benign prompt.

I also reproduced the issue using an isolated temporary directory with:

--ephemeral
--ignore-user-config
--ignore-rules
--skip-git-repo-check
-s read-only

This makes prior conversation context, project configuration, user configuration, and rules unlikely causes.

Feedback thread:
01a0e545-1237-7042-8a7a-c750fe825fd7

Failed isolated GPT-6 Luna thread:
01a0e542-1fd2-74d1-9caa-a0a2732241c4

Successful GPT-5.6 Luna control thread:
01a0e542-4377-7760-8ffb-0a8bfdf06935

The Codex feedback was submitted without logs.

Activity

  1. added
    bug
    on Sep 28, 2026
  2. added
    CLI
    model-behavior
    on Sep 28, 2026
  3. newnew0097-web commented on Sep 29, 2026

    @newnew0097-web
    Author

    Update: the issue still reproduces after upgrading Codex CLI from v0.157.1 to v0.158.0.

    Tested on v0.158.0:

    • gpt-6-astra, medium -> Invalid prompt
    • gpt-6-sol, low -> Invalid prompt
    • gpt-6-luna, medium -> Invalid prompt
    • gpt-5.6-luna, medium -> works normally

    The prompt was simply:

    hi

    All GPT-6 variants still return:

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

    So the issue does not appear to be specific to Codex CLI v0.157.1, a single GPT-6 variant, or a particular reasoning effort.

  4. newnew0097-web commented on Sep 29, 2026

    @newnew0097-web
    Author

    #47721 appears to be very closely related to my issue.

    My additional observations are:

    • GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna are all affected.
    • GPT-5.6 Luna works normally.
    • The issue still reproduces after upgrading Codex CLI from v0.157.1 to v0.158.0.
    • It also reproduces with an isolated --ephemeral --ignore-user-config --ignore-rules test using the prompt hi.

    If maintainers consider #47721 the canonical issue, I’m happy for #48817 to be marked as a duplicate.

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

    CLIbugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions