npm latest @openai/codex is 0.154.0. After `codex features enable worktrees`, `--worktree` / `/worktree` spins a managed Git worktree from committed HEAD (detached) and binds the session to it, so uncommitted edits, `.env`, and `node_modules` stay out of the agent checkout. `codex resume --worktree` and `codex review --worktree` are rejected. Aimed at parallel agents that otherwise fight one dirty working tree.
Key Takeaways
- ✓0.154.0 adds experimental managed Git worktrees after enabling the feature flag.
- ✓Sessions bind to a detached checkout so dirty files and local deps stay out.
- ✓resume/review reject --worktree; npm latest confirms 0.154.0.
Discussion & Comments
0Sign in to join the discussion
Connect with AI developers to exchange benchmark insights.