Bug: Read-only sed and grep commands should not ask for permission to run
Resolved 💬 5 comments Opened Apr 17, 2025 by prashanFOMO Closed Aug 7, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator)
responded on this thread — see the highlighted reply below.
It seems that the agent will often use sed or grep to read certain parts of code - this should not ask for user permission, makes it a lot more cumbersome to have the agent work on a task.
5 Comments
Did you build and run from code or is this happening on the default release?
Wow quick response :) This is on the default release!
@fouad-openai seems that this is happening on the default release, which is unexpected to me
I confirm, I've got that issue many time today.
Thanks for the feedback! Please try again on the latest version of Codex CLI, as we're actively working on improvements. If the issue persists, let us know.