codex - 💡(How to fix) Fix Codex mobile app lists unrelated workdir directories (Multica sessions) as Codex projects [1 participants]

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…
GitHub stats
openai/codex#23408Fetched 2026-05-20 03:50:35
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×3closed ×1cross-referenced ×1

The Codex mobile client (iOS) lists unrelated third-party working directories from the connected host as if they were Codex "projects". Specifically, ephemeral workdir directories created by another local coding agent (Multica) show up under the 项目 / Projects section of the Codex mobile app, and their first-message previews leak the other agent's system prompt.

This is confusing and noisy — those directories are not Codex sessions and the user never opened them in Codex.

Error Message

The Projects list contains entries that do not belong to Codex:

Root Cause

The Codex mobile client (iOS) lists unrelated third-party working directories from the connected host as if they were Codex "projects". Specifically, ephemeral workdir directories created by another local coding agent (Multica) show up under the 项目 / Projects section of the Codex mobile app, and their first-message previews leak the other agent's system prompt.

This is confusing and noisy — those directories are not Codex sessions and the user never opened them in Codex.

RAW_BUFFERClick to expand / collapse

Summary

The Codex mobile client (iOS) lists unrelated third-party working directories from the connected host as if they were Codex "projects". Specifically, ephemeral workdir directories created by another local coding agent (Multica) show up under the 项目 / Projects section of the Codex mobile app, and their first-message previews leak the other agent's system prompt.

This is confusing and noisy — those directories are not Codex sessions and the user never opened them in Codex.

Environment

  • Codex mobile app on iOS (status bar visible in screenshot)
  • Connected host: a macOS machine (Kahlils-MacBook-Pro.local) running Codex desktop / daemon
  • Host also runs the Multica local agent runtime, which spawns short-lived workdir <hash> directories for each agent session

Steps to reproduce

  1. On a Mac, install and run Codex desktop so the mobile app can connect to it.
  2. On the same Mac, also run another local agent runtime that creates ephemeral working directories (e.g. Multica, which produces directories named like workdir/<short-hash> under its workspace root).
  3. Trigger a few sessions in that other runtime so several workdir <hash> directories exist on disk.
  4. Open the Codex mobile app and connect to the Mac host.
  5. Open the 项目 / Projects list in the mobile app.

Observed behavior

The Projects list contains entries that do not belong to Codex:

  • One legitimate sandbox entry, plus multiple workdir 5676e90e, workdir 95ccfb11, workdir 92f16ce8, workdir 8a7e00b2, workdir dd8ec8c0, workdir f927f6ef, workdir 96e96716 entries.
  • The preview text under those entries shows the other agent's system prompt, e.g. You are running as a local coding agent for a Multica..., which is clearly content from a different product's session, not Codex chat history.

Screenshot attached.

Expected behavior

The Codex mobile 项目 / Projects list should only show directories/sessions that Codex itself opened or was explicitly pointed at. It should not:

  • enumerate arbitrary subdirectories of the user's home / workspace root, and
  • display first-message previews from sessions that were not created by Codex.

At a minimum, Codex should restrict the Projects list to directories that have a Codex session record (e.g. a Codex history file / project marker), and ignore directories whose first message is not part of a Codex transcript.

Notes

  • The other runtime here is Multica, but the underlying issue is generic: any tool that drops workdir/<hash> style directories on the host will get scraped into Codex's project list.
  • This also has a mild privacy implication, since the preview pane is rendering another agent's prompt text.

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…

FAQ

Expected behavior

The Codex mobile 项目 / Projects list should only show directories/sessions that Codex itself opened or was explicitly pointed at. It should not:

  • enumerate arbitrary subdirectories of the user's home / workspace root, and
  • display first-message previews from sessions that were not created by Codex.

At a minimum, Codex should restrict the Projects list to directories that have a Codex session record (e.g. a Codex history file / project marker), and ignore directories whose first message is not part of a Codex transcript.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING