Before submitting
Area
apps/server
Steps to reproduce
- Start the app
- Make sure new worktree is the default for new threads
- Open a folder without a git repo inside
- Create a new thread to launch an agent
Expected behavior
Current checkout / local should be the default when git is not initialized, because there is no way to have a worktree without git.
Actual behavior
We get an error message: "Select a base branch before sending in New work tree mode."
Also the selector for local / worktree is missing, so you are required to change the default in settings ( part of the problem )
Impact
Minor bug or occasional failure
Version or commit
Version 0.0.17
Environment
Tested on linux with codex app server.
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
You can change the default in your settings to get it going, this is not ideal.
Before submitting
Area
apps/server
Steps to reproduce
Expected behavior
Current checkout / local should be the default when git is not initialized, because there is no way to have a worktree without git.
Actual behavior
We get an error message: "Select a base branch before sending in New work tree mode."
Also the selector for local / worktree is missing, so you are required to change the default in settings ( part of the problem )
Impact
Minor bug or occasional failure
Version or commit
Version 0.0.17
Environment
Tested on linux with codex app server.
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
You can change the default in your settings to get it going, this is not ideal.