App Variant
Tauri
CodeNomad Version
0.20.0-dev-20260922-e68ac524
OpenCode Version
Unavailable - not provided
Operating System & Version
Windows 11
Issue Summary
When "Auto-cleanup blank sessions" is enabled under Settings → Advanced, creating a new session triggers the cleanup process. During this cleanup, CodeNomad incorrectly deletes existing sessions that already contain messages or other content, as though they were blank.
Steps to Reproduce
- Open CodeNomad.
- Open Settings → Advanced.
- Enable "Auto-cleanup blank sessions."
- Create a session.
- Send one or more messages so that the session contains content.
- Create another new session.
- Observe that the previous non-empty session disappears.
Expected Behavior
Creating a new session should only remove genuinely blank sessions.
A session must be preserved if it contains at least one user message, assistant response, attachment, or any other meaningful content.
Logs & Screenshots
None provided.
Additional Context
Actual behavior: creating a new session causes an existing session containing content to be removed as though it were blank.
Impact: High. Users may unexpectedly lose conversations when creating new sessions.
It has not yet been confirmed whether the session data is permanently deleted or only removed from the visible session list.
Tauri build of CodeNomad version 0.20.0-dev-20260922-e68ac524 on Windows 11.
App Variant
Tauri
CodeNomad Version
0.20.0-dev-20260922-e68ac524OpenCode Version
Unavailable - not provided
Operating System & Version
Windows 11
Issue Summary
When "Auto-cleanup blank sessions" is enabled under Settings → Advanced, creating a new session triggers the cleanup process. During this cleanup, CodeNomad incorrectly deletes existing sessions that already contain messages or other content, as though they were blank.
Steps to Reproduce
Expected Behavior
Creating a new session should only remove genuinely blank sessions.
A session must be preserved if it contains at least one user message, assistant response, attachment, or any other meaningful content.
Logs & Screenshots
None provided.
Additional Context
Actual behavior: creating a new session causes an existing session containing content to be removed as though it were blank.
Impact: High. Users may unexpectedly lose conversations when creating new sessions.
It has not yet been confirmed whether the session data is permanently deleted or only removed from the visible session list.
Tauri build of CodeNomad version
0.20.0-dev-20260922-e68ac524on Windows 11.