[Phase 2] Fix cmd_list worktree detection bug #237

Closed
opened 2026-04-08 06:30:29 +02:00 by shoko · 0 comments
Owner

Problem

In === kugetsu sessions ===

Base session: ses_2959e1f5affeP72yty8zrtBB1P
PM agent: ses_2959de529ffeyZ7wEFQNZ0ffxm

Issue sessions:

Worktrees without sessions:
git.fbrns.co-shoko-kugetsu-166 (no session)
git.fbrns.co-shoko-kugetsu-212 (no session)
git.fbrns.co-shoko-kugetsu-233 (no session)
git.fbrns.co-shoko-kugetsu-119 (no session)
git.fbrns.co-shoko-randebu-2 (no session), the "Worktrees without sessions" section incorrectly shows worktrees as having no session even when they do have sessions.

Root Cause

At :

The path comparison fails due to whitespace/newlines from Python output.

Solution

  1. Add or to Python output
  2. Use to normalize both paths for comparison

Status

READY - No dependencies

Files

Parent: #235

## Problem In === kugetsu sessions === Base session: ses_2959e1f5affeP72yty8zrtBB1P PM agent: ses_2959de529ffeyZ7wEFQNZ0ffxm Issue sessions: Worktrees without sessions: git.fbrns.co-shoko-kugetsu-166 (no session) git.fbrns.co-shoko-kugetsu-212 (no session) git.fbrns.co-shoko-kugetsu-233 (no session) git.fbrns.co-shoko-kugetsu-119 (no session) git.fbrns.co-shoko-randebu-2 (no session), the "Worktrees without sessions" section incorrectly shows worktrees as having no session even when they do have sessions. ## Root Cause At : The path comparison fails due to whitespace/newlines from Python output. ## Solution 1. Add or to Python output 2. Use to normalize both paths for comparison ## Status **READY** - No dependencies ## Files - ## Related Issue Parent: #235
shoko added the bug label 2026-04-08 06:30:29 +02:00
shoko closed this issue 2026-04-08 06:33:45 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/kugetsu#237