Watching Codex run bash: ls my whole root dir and venv in /tmp

k7agar · x · 2026-11-13

A developer shares the comedy of watching OpenAI Codex run bash commands autonomously: asked to read docs, it first ls'd the root directory and documents folder — and on follow-up, it turned out the agent creates its Python virtualenv in /tmp.

Both a funny fail and a first-hand observation of how unpredictable coding agents' filesystem behavior can be.

Related event: Devs Amused as Codex Explores Root Directory Before Reading a Doc(2 posts)→

Original post →

More from coding & agent

coding & agent channel →