codex - 💡(How to fix) Fix Title: Codex executed commands and edited files in the wrong pinned workspace/repo

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Title: Codex executed commands and edited files in the wrong pinned workspace/repo

Severity: High

What happened: The active thread was under communications_review, and the user explicitly referenced the communications_review triage skill. Codex followed issue content mentioning ai_test_harness, switched operational focus into /Users/davidcumming/coding_projects/ai_test_harness, edited files, created .env, started Docker Compose, and gave repo-specific guidance for the wrong project.

Expected behavior: Codex should treat the active workspace/thread repo as authoritative, or at minimum stop and ask for confirmation before operating in a different repo.

Actual behavior: Codex performed filesystem edits and service operations in a different project without explicit confirmation.

Impact: Cross-repo accidental changes, wrong app started, user confusion, possible corruption of unrelated work, potential secret/config side effects.

Evidence:

Active/visible thread: communications_review Wrong repo touched: /Users/davidcumming/coding_projects/ai_test_harness Wrong app started: ai_test_harness Docker Compose on ports 8000, 5173, 55432 Current cleanup: Compose stack stopped; communications_review project files were not edited except .DS_Store My part in this: I made the bad call and should have stopped at the repo mismatch. Product-wise, though, Codex should also have stronger guardrails around “active pinned workspace vs. cwd I’m about to mutate.” That is exactly the kind of failure mode that deserves a high-priority bug report.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Title: Codex executed commands and edited files in the wrong pinned workspace/repo