Codex Triggered Full Script Deletion After Command Refusal(VS code plugin)
Resolved 💬 4 comments Opened Dec 30, 2025 by Jinjin89 Closed Feb 23, 2026
What version of Codex is running?
0.4.56 on vs code. codex-cli 0.77.0 on remote server
What subscription do you have?
Plus
Which model were you using?
_No response_
What platform is your computer?
_No response_
What issue are you seeing?
'/bin/bash -lc '"'"'file -b path/to/myscript'"'"
exec command rejected by user
<img width="856" height="494" alt="Image" src="https://github.com/user-attachments/assets/bfa14872-6a07-4e3d-a7c5-c1cb1eaac3b0" />
then the content is lost
What steps can reproduce the bug?
No idea
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗