Session list misses sessions when directory case differs on Windows
Author: pascalandrCreated Sep 17, 2026Updated Sep 17, 2026
Description
Directory-scoped session listing compares the stored directory with exact SQL string equality. On Windows a session stored as \D:\codenomad\ disappears from a \D:\CodeNomad\ listing even though both spellings are the same directory. I hit this through CodeNomad: sessions vanished when the requested case did not match the stored case.
Steps to reproduce
- On Windows, create a session in \D:\codenomad.
- List sessions with directory \D:\CodeNomad\ (same folder, different case).
- The session is missing from the result.
Operating System
Windows 11
Terminal
Windows Terminal
Source: anomalyco/opencode