Skip to content

worktreeScratchDir

worktreeScratchDir(worktreePath): string

Defined in: src/tmp-sweep.ts:68

The per-session scratch dir a NESTED claude derives for a given worktree cwd: <claudeTmpRoot>/claude-$uid/<dashified-worktree-path>. The doubled claude-$uid is real — our spawned agents inherit TMPDIR and re-derive their own claude root under it.

string

string