fix: improve worktree/session handling in cmd_start and cmd_continue #195
Reference in New Issue
Block a user
Delete Branch "fix/issue-daemon-worktree-session-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
When daemon calls
cmd_continuefor an issue where session file exists but worktree doesn't, it would silently fail - agent gets forked but no worktree exists.Fix
cmd_continuecmd_startinsteadcmd_startcontinueDaemon
check_task_completion($HOME/.kugetsu-worktrees->$WORKTREES_DIR)Design Principles
4ec76b1248tode1b02c585de1b02c585to9d0bcef465