Commit 091f235
committed
fix(cli): skip CWD fallback for --main sessions in self-detection
Sessions created with --main use the project root as worktree_path,
causing any CWD inside the project to false-positive match. The env var
path ($KILD_SESSION_BRANCH) is authoritative for --main sessions.1 parent 5094bd9 commit 091f235
2 files changed
Lines changed: 5 additions & 476 deletions
0 commit comments