Kimi Code previews moving an active session into a Git worktree
TL;DR Kimi Code’s November 27 canary previews moving the running session into a new Git worktree during creation. The change is in a prerelease build.
What changed
Moonshot AI’s November 27 Kimi Code 2.9.0 canary includes an option to move the current session into a newly created Git worktree. The same canary also expands mouse support in full-screen terminal dialogs, selectors, and task viewers. The worktree change is listed for this canary build. Kimi Code’s canary notes · Worktree change
Our take
A routine coding session can begin with exploration in the main checkout and turn into a change that deserves its own branch. Moving the running session into a new worktree lets the developer continue the conversation where that new branch lives. The agent’s earlier context can still refer to paths or observations from the previous checkout, so the next turn benefits from a fresh look at the working directory and branch.
The easiest check is a disposable repository with a marker file that differs between branches. Open a session in one checkout, create the worktree through Kimi Code, and ask the agent to read the marker and report its current branch and path. Then have it make a reversible edit and use Git to confirm which checkout changed. That covers the boundary where the session moves and the work begins.
Source
Moonshot AI · 2026-11-27 · Kimi Code 2.9.0 canary release notes