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
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
v0.153.4
What subscription do you have?
offica
Which model were you using?
gpt-6-astra
What platform is your computer?
linux
What terminal emulator and version are you using (if applicable)?
bash
Codex doctor report
What issue are you seeing?
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
It was working perfectly fine this morning. This issue started in the afternoon after a context compression, and it has been happening for quite a while now.
Even if I start a new chat, the same issue still occurs. Switching to GPT-5.6 Sol works fine.
What steps can reproduce the bug?
new session and send hi
What is the expected behavior?
No response
Additional information
thread ID 01a0745d-f3ee-7d22-a7a7-c0b54d581cf0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the report. Start by reproducing the failure in a new Codex CLI session on Linux with Bash using v0.153.4 and the reported model, then compare it with the model that works. Done means identifying and correcting the cause of valid prompts being rejected, with a regression test for the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100