OpenAI Codex: branch, worktree and setup-script support for new threads
What's new
- Branch picker when starting a new Codex thread — no need to drop into the CLI
- Auto worktree: each thread gets its own git worktree → parallel threads without stash conflicts
- Env setup script: Codex runs your
codex-setup.shright after worktree creation (install deps, start services) - Profile screen: usage stats + token activity charts
/goalcommand for goal management from Codex Mobile- Inline review comments in the changed-files view
- Side chat from transcript: highlight text, ask in the side chat
Why it matters
Worktree + setup script means Codex can handle 3-5 tasks in the same repo in parallel without conflicts. It directly mirrors the Claude Code agent isolation via worktrees that Anthropic has used since March 2026.
How to try it
In the Codex CLI or Codex Mobile open a new thread → pick a branch → Codex creates a worktree and runs codex-setup.sh from the repo root. On Mobile add /goal to the thread to set a concrete goal.
Open original source
OpenAI