You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pinned Codex thread becomes detached from its local project and cannot continue: “Unable to send message — Select a project to continue” #36548
What version of the Codex App are you using (From “About Codex” dialog)?
26.727.40816
What subscription do you have?
Pro
What platform is your computer?
Mac OS Tahoe 26.5.1 (Darwin 25.5.0 arm64 arm)
What issue are you seeing?
A previously working Codex thread in the ChatGPT/Codex desktop app became unusable because the app appears to have lost the thread’s association with its local project.
The thread is still visible, pinned, and readable. However, attempting to send any new message produces this dialog:
Unable to send message
Select a project to continue
The dialog only provides an OK button.
Reopening the same repository folder did not restore the thread or reconnect it to the project. The local project entry also shows “No chats”, even though the existing pinned thread was previously using that repository.
This is especially concerning because I have also experienced other Codex threads disappearing unexpectedly without being archived or intentionally deleted. There appears to be a broader reliability problem affecting thread persistence and project/thread associations.
What steps can reproduce the bug?
I do not yet have a reliable intentional reproduction path, but the failure occurred during normal use:
Open the Codex desktop app.
Work in a thread associated with a local repository.
Pin the thread and continue using it normally.
Later, return to the same thread.
Enter a new message and attempt to send it.
The app displays:
Unable to send message
Select a project to continue
Reopen the repository folder previously used by the thread.
Return to the pinned thread and attempt to send another message.
What is the expected behavior?
One of the following should occur:
The thread should retain its association with the local project and continue working normally.
Reopening the same repository should automatically restore the association.
The app should provide a clear Move to project, Reattach project, or Select repository for this thread action.
The app should never silently lose the metadata required to continue an active thread.
Additional information
Additional observations
The affected thread was pinned.
The thread had previously been functioning normally.
The repository still exists locally.
Reopening the repository did not repair the problem.
The project sidebar showed “No chats.”
I have separately experienced threads disappearing without being archived or deleted, suggesting this may be related to a wider regression involving thread persistence or project metadata.
The exact error dialog:
Unable to send message
Select a project to continue
create_thread explicitly targeted a saved local non-git project and returned a valid task
Initial session metadata recorded the intended project directory as cwd
The first runtime request reported zero workspace roots
A later read_thread returned cwd=/
Desktop then blocked composer sends with:
Unable to send message
Select a project to continue
The underlying task remained healthy: two send_message_to_thread follow-ups completed successfully, including one 18.6-second turn
This appears to narrow the failure to the project/workspace association used by the Desktop composer, rather than transcript loss or an unavailable backend task. I cannot confirm which persistence or reconciliation step dropped the association.
The verified workaround was to create a replacement task against the same saved project and copy in a concise handoff. I could not find a supported way to reattach the detached task in the UI.
Deterministic /-root reproduction and renderer-level cause
I reproduced a deterministic variant on macOS with ChatGPT Desktop 26.831.21537 (build 7579), bundled codex-cli 0.152.1:
Create a saved local project whose only folder/root is the filesystem root /.
Create a task inside that project and send the initial prompt; it succeeds.
Attempt any follow-up from the Desktop composer.
Desktop blocks it with Unable to send message — Select a project to continue.
The same / root used as a remote project supports multiple turns. The user also reports that continuation from iOS does not appear to reproduce the failure.
I inspected the packaged renderer bundle read-only. Its follow-up submission validation considers a local workspace present only when workspaceRootsForSubmit.some(root => root !== "/") is true; remote-project execution is an explicit bypass. Consequently, the roots array ["/"] is overloaded as both:
a legitimate, explicitly selected saved-project root; and
the sentinel/default state for “no workspace selected.”
That explains all three observations: the initial creation path succeeds, Desktop follow-ups hit the guard, and remote execution bypasses it. The public app-server project API already accepts / as a valid absolute project root and preserves it, so this variant is a Desktop client validation defect rather than an app-server rejection.
Suggested fix: model workspace/project selection separately from the path value. When a saved project or authoritative thread-project binding is present, any non-empty roots array—including ["/"]—should count as selected. Use an empty/absent roots value or an explicit selection-state field for the missing-project case instead of reserving a valid filesystem path as a sentinel.
Suggested regression coverage:
local saved project with roots ["/"]: initial turn and follow-up both submit;
projectless local task still prompts for a project where required;
remote / behavior remains unchanged;
a rehydrated task retains the same result after app restart.
The renderer implementation and these submission identifiers are not present in the public openai/codex source tree, so there is no meaningful public-repository fix commit to propose from a fork.
AI disclosure: At the user's direction, Codex investigated the installed application and posted this diagnosis. No private task IDs, account identifiers, usernames, or user-content paths are included.
Sending a message is blocked. Expected behavior is to allow the task to continue, or provide a working way to select or reconnect its project while preserving the conversation.
The exact error was user-reported; an independent reproduction and the underlying project-association cause have not yet been established for this occurrence.
I can reproduce this consistently on Ubuntu Linux with Codex App 26.930.31428 (released Oct 2, 2026).
Reproduction
Open Codex Desktop and select an existing local project.
Start/open a chat in that project.
Send a message.
Codex completes the turn normally and returns a response.
Immediately after the turn completes, the project association disappears from the composer.
Sending the next message fails with:
Unable to send message
Select a project to continue
Manually selecting the same project again allows exactly one more turn.
After that turn completes, the project association disappears again and the same error repeats.
Reproducibility
100% on this installation — it happens after every completed turn.
Expected behavior
The thread/composer should remain associated with the selected project across consecutive turns.
Actual behavior
The project association is dropped after each completed turn. Re-selecting the project is only a one-turn workaround, which makes the desktop app unusable for sustained project work.
Additional observations
The first turn works normally, so the project is accessible and Codex can read/work inside it.
This does not look like a basic filesystem permission or path-access problem.
In this case the failure occurs immediately after every completed turn, not only after reopening an older or pinned thread.
I encountered the same "Unable to send message / Select a project to continue" dialog through a different entry point: a native @chatgpt mention in a ChatGPT Space Page comment.
Controlled steps in dot's signed-in cloud Chromium browser:
Open a newly saved test Page, select a short passage, and choose Comment.
Type @ and select ChatGPT from the native mention menu.
Enter a minimal reply-only request and click Send once.
The project-selection dialog appears.
Explicitly select an existing project on the main ChatGPT screen, return to the Page in the same tab, and repeat. The same error still appears.
After each controlled failure, an independent comments read returned an empty thread list; the Page remained saved/readable, but no saved comment or conversation link was verified.
A separate test in a normal local Chrome profile reproduced the dialog on another new Page without a selected project. Reloading showed no comment or model reply. A private-window/extensions-disabled test and a verified non-Work comparison have not been completed.
This matches the error text, but differs from the pinned local Codex-thread workflow here. I have no evidence that the same project-binding or filesystem-root defect causes the Page-comment failure.
A workaround for anyone seeing this on the second message: check which folder the local project points to, even if the chat already appears under the expected project name in the sidebar. Two projects can have the same display name. If you picked the filesystem root, create a project using a regular folder and start a new chat in that project. You can test the selection by sending two short messages in the new chat.
Activity
github-actions commentedon Aug 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
andybergon commentedon Aug 24, 2026
Additional reproduction on ChatGPT/Codex Desktop
26.818.61809build7019, macOS26.6.1arm64:create_threadexplicitly targeted a saved local non-git project and returned a valid taskcwdread_threadreturnedcwd=/Unable to send messageSelect a project to continuesend_message_to_threadfollow-ups completed successfully, including one 18.6-second turnThis appears to narrow the failure to the project/workspace association used by the Desktop composer, rather than transcript loss or an unavailable backend task. I cannot confirm which persistence or reconciliation step dropped the association.
The verified workaround was to create a replacement task against the same saved project and copy in a concise handoff. I could not find a supported way to reattach the detached task in the UI.
vtsingaras commentedon Sep 3, 2026
Deterministic
/-root reproduction and renderer-level causeI reproduced a deterministic variant on macOS with ChatGPT Desktop
26.831.21537(build7579), bundledcodex-cli 0.152.1:/.The same
/root used as a remote project supports multiple turns. The user also reports that continuation from iOS does not appear to reproduce the failure.I inspected the packaged renderer bundle read-only. Its follow-up submission validation considers a local workspace present only when
workspaceRootsForSubmit.some(root => root !== "/")is true; remote-project execution is an explicit bypass. Consequently, the roots array["/"]is overloaded as both:That explains all three observations: the initial creation path succeeds, Desktop follow-ups hit the guard, and remote execution bypasses it. The public app-server project API already accepts
/as a valid absolute project root and preserves it, so this variant is a Desktop client validation defect rather than an app-server rejection.Suggested fix: model workspace/project selection separately from the path value. When a saved project or authoritative thread-project binding is present, any non-empty roots array—including
["/"]—should count as selected. Use an empty/absent roots value or an explicit selection-state field for the missing-project case instead of reserving a valid filesystem path as a sentinel.Suggested regression coverage:
["/"]: initial turn and follow-up both submit;/behavior remains unchanged;The renderer implementation and these submission identifiers are not present in the public
openai/codexsource tree, so there is no meaningful public-repository fix commit to propose from a fork.AI disclosure: At the user's direction, Codex investigated the installed application and posted this diagnosis. No private task IDs, account identifiers, usernames, or user-content paths are included.
jbeauchamp2828 commentedon Sep 7, 2026
Reporting another occurrence of this exact send-blocking error on September 7, 2026:
Current local environment, verified from the installed app's Info.plist and macOS sw_vers:
Sending a message is blocked. Expected behavior is to allow the task to continue, or provide a working way to select or reconnect its project while preserving the conversation.
The exact error was user-reported; an independent reproduction and the underlying project-association cause have not yet been established for this occurrence.
ecrosys commentedon Oct 3, 2026
I can reproduce this consistently on Ubuntu Linux with Codex App 26.930.31428 (released Oct 2, 2026).
Reproduction
Reproducibility
100% on this installation — it happens after every completed turn.
Expected behavior
The thread/composer should remain associated with the selected project across consecutive turns.
Actual behavior
The project association is dropped after each completed turn. Re-selecting the project is only a one-turn workaround, which makes the desktop app unusable for sustained project work.
Additional observations
I can provide additional logs/system details if useful.
kairytwo2 commentedon Oct 7, 2026
I encountered the same "Unable to send message / Select a project to continue" dialog through a different entry point: a native @chatgpt mention in a ChatGPT Space Page comment.
Controlled steps in dot's signed-in cloud Chromium browser:
After each controlled failure, an independent comments read returned an empty thread list; the Page remained saved/readable, but no saved comment or conversation link was verified.
A separate test in a normal local Chrome profile reproduced the dialog on another new Page without a selected project. Reloading showed no comment or model reply. A private-window/extensions-disabled test and a verified non-Work comparison have not been completed.
This matches the error text, but differs from the pinned local Codex-thread workflow here. I have no evidence that the same project-binding or filesystem-root defect causes the Page-comment failure.
lazyerZZZ commentedon Nov 20, 2026
A workaround for anyone seeing this on the second message: check which folder the local project points to, even if the chat already appears under the expected project name in the sidebar. Two projects can have the same display name. If you picked the filesystem root, create a project using a regular folder and start a new chat in that project. You can test the selection by sending two short messages in the new chat.