You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop: non-git projects inherit stale global project name and cannot be renamed #30015
In the Windows desktop app, non-git directories appear to share the global project record. If the global project's name is changed once (for example to skills), newly opened non-git directories can all show that same project name in the desktop sidebar/header. Editing the project name from the desktop "Edit Project" dialog does not reliably fix the displayed name.
Observed local state after reproducing:
select id, worktree, name from project where id ='global';
-- id: global, worktree: /, name: skillsselect id, project_id, directory from session where directory like'%DuiLib_Evo%';
-- project_id: global, directory: <a separate non-git project directory>
The affected directory is not a git repository, so it is attached to project_id = global. Because global.name was skills, the desktop UI kept showing skills for a different opened directory. Clearing project.name for id = global in the SQLite DB made the UI fall back to the directory/project path again after restart.
This looks like the desktop app allows editing/persisting the display name of the shared global project, then uses that shared name for unrelated non-git directories. The edit dialog appears to write to desktop workspace state, but the visible project list/header still derives from the backend project.name.
Plugins
None relevant. I do have local/global config, but this reproduced from backend project/session state rather than project opencode.json.
OpenCode version
1.15.12 desktop and CLI
Steps to reproduce
On Windows, open opencode desktop.
Open a directory that is not inside a git repository.
Use the desktop project edit dialog to set a custom project name, e.g. skills.
Open another unrelated directory that is also not inside a git repository.
Try to edit that new project's name from the desktop dialog.
Expected: each opened directory should either have its own editable display name, or non-git directories should fall back to their directory name and not inherit another directory's name.
Actual: unrelated non-git directories can display the same stale name (skills in my case), and editing the name in the desktop dialog does not change the displayed project name reliably.
Screenshot and/or share link
No public screenshot because it contains local paths. The SQLite evidence above is the relevant minimal repro signal.
If your issue is specifically about the stale/shared name display rather than missing sessions, it may still be worth keeping open as a separate but related report.
Activity
github-actions commentedon May 30, 2026
This issue might be a duplicate of existing issues. Please check:
project_id = global, which is why the name set on the global project leaks across unrelated non-git directories.If your issue is specifically about the stale/shared name display rather than missing sessions, it may still be worth keeping open as a separate but related report.
github-actions commentedon Jul 30, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.