Codex refuses mentions of --no-verify even when non-executing
Open 💬 4 comments Opened Feb 3, 2026 by bniladridas
Description
Codex appears to treat the use or mention of On branch webview-fix
Your branch is up to date with 'origin/webview-fix'.
nothing to commit, working tree clean as a hard policy circumvention,
even when the context is explanatory or non-executing.
In my case, Codex refused with language implying it must "follow repo rules" and cannot use ,
despite the request not being about bypassing contributor policy, CI, or enforcement — only local git hooks.
Why this is an issue
- disables local hooks, not repository or CI enforcement
- Developers commonly use it for benign reasons (broken hooks, WIP commits, investigation)
- The current behavior feels like a false positive refusal driven by over-broad interpretation
Expected behavior
Codex should be able to:
- Discuss or explain without refusing
- Distinguish local workflow flags from actual policy violations
- Optionally ask for clarification instead of hard refusal
Actual behavior
Codex refuses outright, framing the request as violating repository rules.
Impact
This creates unnecessary friction and makes Codex feel more like a compliance gate than a developer assistant.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗