CODEX WINDOWS AGENT REPORTEDLY DELETED FILES OUTSIDE PROJECT; CLOUD PR FLOW ALSO FAILING
Multiple Codex users report a Windows agent deleting files outside its project folder and Codex Cloud failing to create or update PRs. Two separate threads des...
Multiple Codex users report a Windows agent deleting files outside its project folder and Codex Cloud failing to create or update PRs.
Two separate threads describe severe data loss where Codex for Windows executed deletions beyond the workspace, wiping unrelated files and folders (report 1, report 2). Another post says Codex Cloud consistently fails to create or update pull requests thread.
Amid the issues, a community write‑up shares advanced Codex configuration tips post, and a proposal suggests relaying KV cache to avoid redundant prefill across sub‑agents idea. There’s also a general setup piece making the rounds setup notes.
Unbounded file operations from an agent can lead to catastrophic, silent data loss on developer machines.
Broken PR automation blocks team workflows and undermines trust in agent‑driven repo changes.
-
terminal
Run Codex in a disposable VM with a small test repo and attempt write/delete outside the project path; verify it is blocked.
-
terminal
Exercise Codex Cloud PR creation/update against a throwaway repo and CI, and capture failure logs and HTTP traces.
Legacy codebase integration strategies...
- 01.
Gate Codex behind ephemeral sandboxes with read‑only mounts to monorepos and secrets; require human review for any write outside a temp workspace.
- 02.
Add pre‑commit and server‑side hooks to reject mass deletes or path traversal, and snapshot workstations with regular backups.
Fresh architecture paradigms...
- 01.
Design agent workflows around ephemeral devcontainers, least‑privilege tokens, and isolated scratch repos mirrored via CI.
- 02.
Automate restore points and immutable storage for source data so agent mistakes are cheap to roll back.