source dump of claude code
1/**
2 * Worktree mode is now unconditionally enabled for all users.
3 *
4 * Previously gated by GrowthBook flag 'tengu_worktree_mode', but the
5 * CACHED_MAY_BE_STALE pattern returns the default (false) on first launch
6 * before the cache is populated, silently swallowing --worktree.
7 * See https://github.com/anthropics/claude-code/issues/27044.
8 */
9export function isWorktreeModeEnabled(): boolean {
10 return true
11}