[Remote][Android to macOS] "No project" chat fails with project trust error
What version of Codex CLI is running?
codex-cli 0.148.0-alpha.15 (bundled with ChatGPT desktop 26.814.41407, build 6720)
What subscription do you have?
ChatGPT subscription; exact tier is not shown in the Codex Remote failure UI
Which model were you using?
N/A — the task fails before a model starts
What platform is your computer?
Darwin 25.5.0 arm64 arm; macOS 26.5.2 (build 25F84)
What terminal emulator and version are you using (if applicable)?
N/A — reproduced through ChatGPT Android Codex Remote
Codex doctor report
What issue are you seeing?
Starting a Codex Remote chat from the Android ChatGPT app with No project selected consistently fails before the task starts.
The mobile app displays:
Can't verify project trust for /Users/<user>/Documents/Codex/2026-08-20-test-2. Open the repository in Codex on the remote computer and make a trust choice, then select that repository's original directory and try again. You can also start in Read only mode. If this continues, update Codex on the remote computer.
The generated path exists on the connected Mac, but it is empty and is not a Git repository. Selecting an existing trusted local project on the same Mac works, so the Remote connection itself is healthy.
The issue reproduced twice with two separately generated projectless directories, including after fully restarting both the Android and macOS apps.
What steps can reproduce the bug?
- Connect the Android ChatGPT app to a Mac through Codex Remote.
- In Android, open New chat for the connected Mac.
- Leave the project selector set to No project.
- Enter a prompt and try to start the chat.
- Observe that the chat does not start and a project-trust error appears.
Reproduction history:
- 13:22:05 UTC+5: generated
2026-08-20-new-chat-2and failed. - 14:43:57 UTC+5: after restarting both apps, generated
2026-08-20-test-2and failed again. - Both directories were created at failure time, contain no files, and are not Git repositories.
- Frequency: 2/2 attempts.
- Control: selecting an existing trusted project succeeds.
Feedback thread ID: 01a01e93-b36b-7fc3-97f6-909b6c717257 (feedback recorded without logs).
What is the expected behavior?
A projectless Remote chat should start in its newly generated working directory without requiring that disposable directory to have been opened and trusted as an existing repository.
Additional information
This appears to be a trust-routing regression: the projectless flow creates a new disposable directory, but Remote immediately validates it as though it were a pre-existing local repository with an explicit trust decision. The validation fails before projectless-chat initialization can persist trust.
Environment:
- Android ChatGPT app, Codex Remote (mobile version not shown on the failure screen)
- ChatGPT desktop 26.814.41407, build 6720
- Bundled Codex CLI 0.148.0-alpha.15
- macOS 26.5.2, build 25F84
- Connected Mac remained online
- Restarting both apps did not help
Impact: all write-enabled projectless Remote chats are blocked. Existing trusted projects work; Read only mode is the only suggested projectless workaround.
Raw logs and screenshots are intentionally omitted because they contain unrelated private configuration, the local username, and computer name. The full error is transcribed above with PII redacted.
11 Comments
I can reproduce an adjacent, broader variant on Android Remote → macOS: starting a new task in Worktree mode fails for existing trusted Git projects.
Environment:
26.818.32112(build6933)0.149.0-alpha.4.1Reproduction:
> Can't verify project trust for /Users/<user>/.codex/worktrees/<generated-UUID>/<repo>. Open the repository in Codex on the remote computer and make a trust choice, then select that repository's original directory and try again.
Additional evidence:
~/.codex/config.toml.This looks like the same trust-routing ordering problem as the projectless case, but for Remote-created managed worktrees: the generated target path is checked for exact-path trust before the worktree exists and can be associated with its already trusted source repository.
Independent reproduction on Android Remote → macOS, still present on a newer host build as of 2026-08-23.
Environment:
Observed behavior:
This confirms the Android-to-macOS projectless trust failure remains reproducible on desktop 26.818.41509 / codex-cli 0.149.0-alpha.4.1.
lol. so much for remote. You cannot even start a chat from your phone using remote. Do you openAI vibe coders even bother to test any of these features? Can you at least ask AI to e2e this?
+1
It worked for one session by revoking the remote access from desktop app. Then it stopped working. lol.
Independent reproduction on Android Remote → Linux, with additional host-side trace evidence.
Environment:
26.810.520440.148.0-alpha.9Behavior:
~/Documents/Codex/2026-08-25-test, then fails with the same project-trust error.~/Documents/Codex/2026-08-25-test-2and fails identically.~and~/Documents/Codexwere already explicitly marked trusted in~/.codex/config.toml.The live host app-server trace identifies the caller as
codex_chatgpt_android_remote. Its request sequence is:process/spawnruns a shell command that creates the uniqueYYYY-MM-DD-<prompt>directory.config/read.As a diagnostic workaround, I installed a narrowly scoped watcher for new, user-owned
YYYY-MM-DD-*directories directly under~/Documents/Codex. It writes the exact generated path to the Codex project trust map. A probe was detected and trusted in 12 ms.With that watcher active, the next brand-new projectless Remote task succeeded. Successful task ID:
01a03aff-acba-7a11-8126-b1be38cd109b.This strongly supports a trust-routing/order regression: Remote creates a disposable projectless workspace, then validates it as though it were a pre-existing repository requiring an earlier explicit trust decision. The generated workspace should either be recorded as trusted during projectless initialization or excluded from the repository trust gate.
The watcher is only a local compatibility workaround, not a proposed long-term fix.
Confirming @Superfishintights’ diagnosis and workaround on Android Remote → Windows Desktop → WSL Ubuntu, using codex-cli/app-server
0.149.1.Initial problem
Neither Remote mode worked:
Workaround
After seeing the watcher approach above, I implemented a narrowly scoped Rust/inotify service.
I first adapted it for managed worktrees. A generated worktree is trusted only when its repository name matches an existing explicitly trusted Git checkout.
I then extended it to projectless chats. It accepts only new, user-owned, date-prefixed direct children of the explicitly trusted projectless root.
Results
config.tomlreplacements are monitored so entries are restored if necessary.This independently confirms the finding above: Remote creates the target and performs an exact-path trust check before that generated path has been recorded.
Credit to @Superfishintights for identifying and proving the watcher approach.
there is still problem with
/Users/example/Projects/example-repo/Users/example/Projects/example-repo/apps/webThen security checks used exact execution paths, while the UI and configuration exposed trust mostly at the repository/project level.
Independent Android Remote → macOS reproduction, still present on 2026-08-27 after a full mobile cache/data clear, desktop restart, and fresh re-pair.
Environment:
26.820.60940(build7119)0.150.0-alpha.81.2026.230, Android 17Host controls all pass: the Remote client grant is fresh, existing-thread resume/turn submission works,
project/listreturns the saved Git project, and the original repository path is exactly trusted.A fresh projectless attempt gave unusually precise ordering evidence:
T+0config/batchWrite:T+0.326 msconfig.tomlmtime:T+1.862 msT+2.555 msconfig/readreturnedtrustedThis means an after-creation watcher is not deterministic on this build even when it begins within a third of a millisecond. The Android client appears to take its trust snapshot before/in parallel with target creation, or it does not re-read a successful host write before aborting.
Managed Worktree mode shows the same generated-UUID failure. By contrast, asking the host desktop API to create the same project worktree succeeds immediately, yielding a clean isolated linked worktree. So pairing, Git, host worktree creation, and source-project trust are healthy; the failure boundary is the Android new-task preflight before
thread/start.A robust fix likely needs the mobile flow to defer trust validation until target creation has resolved the linked source repository, or to retry/evaluate effective trust server-side instead of indexing the raw
config.projectsmap by the generated execution path.Android Remote → Windows reproduction
Revoking and reconfiguring access didnt work, clearing android data didn't work, moving worktrees to the local folder didnt work
Windows version just updated: Chat GPT 26.825.31414
Android remote -〉Can't verify project trust for /Users//Documents/Codex/2026-08-20-test-2. Open the repository in Codex on the remote computer and make a trust choice, then select that repository's original directory and try again. You can also start in Read only mode. If this continues, update Codex on the remote computer.