Add explicit permission flag to allow file changes

Resolved 💬 1 comment Opened Dec 22, 2025 by debashisrb Closed Feb 8, 2026

What feature would you like to see?

Summary

Requesting an argument for codex that explicitly controls permission for current command/task to update scripts, including an option to accept all current and future script changes without repeated prompts.

Problem

Although there's an option to do it for all future tasks, but there is no way to do so for only one task. Simply, there’s no way to express “I trust you only with this task -- go forward with this task, but ask for permission in future tasks”.

Proposed solution

Add a CLI argument to codex that:

  • Allows users to explicitly opt in to accepting any script changes for single command.
  • Ask for permission to change files unless it is enabled by default or the argument is provided.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗