You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
github-actions commentedon Sep 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
newnew0097-web commentedon Sep 29, 2026
Update: the issue still reproduces after upgrading Codex CLI from v0.157.1 to v0.158.0.
Tested on v0.158.0:
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.
newnew0097-web commentedon Sep 29, 2026
#47721 appears to be very closely related to my issue.
My additional observations are:
--ephemeral --ignore-user-config --ignore-rulestest using the prompthi.If maintainers consider #47721 the canonical issue, I’m happy for #48817 to be marked as a duplicate.