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.

View original on GitHub ↗

5 Comments

tibo-openai collaborator · 1 year ago

Did you build and run from code or is this happening on the default release?

prashanFOMO · 1 year ago

Wow quick response :) This is on the default release!

tibo-openai collaborator · 1 year ago

@fouad-openai seems that this is happening on the default release, which is unexpected to me

Konijima · 1 year ago

I confirm, I've got that issue many time today.

codex-maintainers · 1 year ago

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.