OpenAI Codex VS Code extension starts new chats in the wrong project folder

Mario34 · ghdev · 2026-07-21

A VS Code user reports that new Codex chats are being created in an old project instead of the folder currently open in the active window.

Symptoms

Why it matters

The report warns this could be unsafe: commands, reads, and edits may run against a repository different from the one visibly open in VS Code.

Reproduction

Original post →

More from coding & agent

coding & agent channel →