Files tab stops following the current session's project and stays stuck on a previous project
Author: tomzxCreated Sep 22, 2026Updated Sep 22, 2026
Labelsbugplatform:web
Background
The Files tab in the workspace drawer is expected to follow the project of the current session: project-root sessions list the project directory and worktree sessions list the worktree root. Sometimes it stops following. After switching to a session that belongs to a different project, the Files tab keeps listing the previous project's tree and remains stuck on that project. This makes the file browser unusable for the active session and risks reading or editing files from the wrong project.
Version
OpenChamber 1.24.2 with OpenCode 1.18.32
Acceptance Criteria
Must
- Switching the active session to a session in a different project updates the Files tab root to that session's project directory.
- Switching to a worktree session updates the Files tab root to that session's worktree path.
- The Files tab never shows a previous project's tree while the active session's directory resolves successfully.
Should
- While the active session's directory is not yet resolvable (bootstrap or reconnect), the Files tab shows a defined fallback state and follows the session directory once it arrives.
- A regression test covers switching between sessions that belong to different projects.
Created with create-issue via glm-5.3-flash (32191b8)
Source: openchamber/openchamber