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
Keep user workspaces separate from worker and worktree workspaces #770
The main sidebar follows the herdr workspace roster. The Agents section is a separate cross-PC list. Automated workers and linked worktrees can therefore push user workspaces out of view, and the user cannot tell which workspaces are safe to keep pinned. This should build on the workspace grouping work in #673 and the recent-folder work in #640.
Proposal
Add a core-backed workspace origin (user, worker, worktree, or unknown). Show user workspaces first. Put worker and worktree groups under a collapsible automation section. Preserve current workspace and worktree actions. Do not guess origin from folder names.
Acceptance
Origin is stable across reconnect and restart.
User workspaces have a pin action and a clear visual label.
Automation groups can collapse without hiding the active workspace.
Keyboard and screen-reader labels expose the group and count.
A large roster remains scrollable and responsive.
Screenshots
Add before/after desktop and phone sidebar screenshots here.
Update with a measurement on v0.4.12 (herdr 0.9.5, one PC), and a concrete signal for the origin this issue asks for.
Still reproduces on v0.4.12.herdr workspace list has 174 workspaces. 1 is a workspace a person opened by hand; 27 are made by a desktop-app mirror tool; 146 are one-per-worker workspaces that an orchestrator opens for background runs. None of them carries herdr's worktree field, so the worktree fold added in v0.4.12 (src/components/Sidebar.tsx:38, :231; it reads workspace.worktree) does not apply. Pinning keeps the few user workspaces at the top, which helps, but the list under the pinned card is still mostly automation.
A herdr-backed origin. The issue says not to guess origin from folder names. herdr already has a channel for this: herdr workspace report-metadata <workspace_id> --source <id> --token <name>=<value> (workspace tokens, drawn by herdr's own Space rows as $name). Since #1209 the bridge reads pane tokens; reading workspace tokens the same way would let a launcher mark its workspaces, for example origin=worker, and the sidebar could put those under the collapsible automation section proposed above. A workspace without the token stays where it is today.
On our side we are also reducing what our tools create (the mirror tool will stop keeping workspaces for desktop threads that are no longer open). The Agents-list half of the same problem is in a separate request: #1369.
Activity
vibewriter-hand commentedon Oct 19, 2026
Update with a measurement on v0.4.12 (herdr 0.9.5, one PC), and a concrete signal for the origin this issue asks for.
Still reproduces on v0.4.12.
herdr workspace listhas 174 workspaces. 1 is a workspace a person opened by hand; 27 are made by a desktop-app mirror tool; 146 are one-per-worker workspaces that an orchestrator opens for background runs. None of them carries herdr'sworktreefield, so the worktree fold added in v0.4.12 (src/components/Sidebar.tsx:38,:231; it readsworkspace.worktree) does not apply. Pinning keeps the few user workspaces at the top, which helps, but the list under the pinned card is still mostly automation.A herdr-backed origin. The issue says not to guess origin from folder names. herdr already has a channel for this:
herdr workspace report-metadata <workspace_id> --source <id> --token <name>=<value>(workspace tokens, drawn by herdr's own Space rows as$name). Since #1209 the bridge reads pane tokens; reading workspace tokens the same way would let a launcher mark its workspaces, for exampleorigin=worker, and the sidebar could put those under the collapsible automation section proposed above. A workspace without the token stays where it is today.On our side we are also reducing what our tools create (the mirror tool will stop keeping workspaces for desktop threads that are no longer open). The Agents-list half of the same problem is in a separate request: #1369.
feat(sidebar): set background workspaces apart, behind a setting (par…