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
Show the active environment directory after switching a thread workspace #1237
After update_environment_directory switches a thread to another directory, the composer footer continues to show the original project name. The thread uses the new directory correctly, but the UI makes it appear that the switch failed.
Reproduction
Start a thread in project project-a.
Call update_environment_directory with /path/to/project-b.
Send another message so the provider starts in the new environment.
Check the workspace label in the composer footer.
Current behavior
The environment is updated correctly:
environment.path is /path/to/project-b.
The branch and working-tree summary come from project-b.
The thread still has the project-a project ID.
The footer shows only project-a.
This creates conflicting UI signals. The branch and diff belong to project-b, while the adjacent folder label says project-a.
Expected behavior
When the active environment path differs from the project root, the composer footer should show the active workspace directory:
project-a / project-b
The full environment path should be available in a tooltip:
/path/to/project-b
The UI should update as soon as the thread environment changes. It should not require a page reload.
Reproduced on bb 0.40.0 from npm, macOS 26.5.2, using Codex.
The agent switched from ~/git/dotfiles to ~/git/bb with update_environment_directory. The runtime then used the new directory correctly.
bb thread show reported:
project: dotfiles
environment.path: ~/git/bb
The composer footer still showed dotfiles, while the adjacent branch and workspace state came from bb. A full browser reload did not correct the label.
This confirms the problem persists in the current release and survives reload.
The reporter is seeing the same symptom again: after bb switches a thread's workspace, the repository label below the composer continues to show the original repository. This issue was closed by #1507, but the current source again renders the original project name.
Evidence and likely cause
Inspected upstream main at accd5595926b080a1e17d1ea9b2fa2d7d0505ac6 after pulling:
ThreadEnvironmentSummary accepts no active workspace path. Its project chip uses value={projectName}, compactValue={projectName}, and tooltip={`Project: ${projectName}`}at lines 46–55.
This corroborates the reported label behavior when the environment changes but the owning project does not. I have not independently reproduced the live workspace switch in this investigation, so this is an unverified recurrence report with source evidence, not a confirmed end-to-end repro. The original affected thread and a screenshot were not supplied.
Reproduction to verify
Open a thread in a project named project-a.
Ask the agent to switch this thread to an existing checkout at /absolute/path/to/project-b using update_environment_directory.
After the switch completes, send pwd in the next turn and confirm that execution uses /absolute/path/to/project-b.
Inspect the repository label below the composer without reloading.
Expected: the footer identifies the active project-b workspace, with its full path available in the tooltip, as specified in this issue.
Reported actual: the footer continues to show project-a.
Proposal
We should reopen this issue and restore active-workspace identity in the composer footer. A regression check should switch the environment while retaining the same thread/project and verify both the visible directory and tooltip without a reload.
Environment and investigation
Investigation CLI: bb 0.42.1. The reporter's browser build was not independently verified.
Usage context: bb Connect in a remote browser.
Source inspected: upstream commit linked above. No clean-main runtime verification is claimed.
Searched open and closed issues with composer repository, workspace switch, and repository stale. This issue matches the symptom exactly.
Activity
smsunarto commentedon Aug 26, 2026
Reproduced on bb 0.40.0 from npm, macOS 26.5.2, using Codex.
The agent switched from
~/git/dotfilesto~/git/bbwithupdate_environment_directory. The runtime then used the new directory correctly.bb thread showreported:The composer footer still showed
dotfiles, while the adjacent branch and workspace state came frombb. A full browser reload did not correct the label.This confirms the problem persists in the current release and survives reload.
[issue sweep] Show active workspace in composer footer (#1507)
smsunarto commentedon Sep 7, 2026
Recurrence report
The reporter is seeing the same symptom again: after bb switches a thread's workspace, the repository label below the composer continues to show the original repository. This issue was closed by #1507, but the current source again renders the original project name.
Evidence and likely cause
Inspected upstream
mainataccd5595926b080a1e17d1ea9b2fa2d7d0505ac6after pulling:ThreadDetailPromptAreaderivesprojectNamefromthread.projectId.ThreadEnvironmentSummaryaccepts no active workspace path. Its project chip usesvalue={projectName},compactValue={projectName}, andtooltip={`Project: ${projectName}`}at lines 46–55.This corroborates the reported label behavior when the environment changes but the owning project does not. I have not independently reproduced the live workspace switch in this investigation, so this is an unverified recurrence report with source evidence, not a confirmed end-to-end repro. The original affected thread and a screenshot were not supplied.
Reproduction to verify
project-a./absolute/path/to/project-busingupdate_environment_directory.pwdin the next turn and confirm that execution uses/absolute/path/to/project-b.Expected: the footer identifies the active
project-bworkspace, with its full path available in the tooltip, as specified in this issue.Reported actual: the footer continues to show
project-a.Proposal
We should reopen this issue and restore active-workspace identity in the composer footer. A regression check should switch the environment while retaining the same thread/project and verify both the visible directory and tooltip without a reload.
Environment and investigation
0.42.1. The reporter's browser build was not independently verified.composer repository,workspace switch, andrepository stale. This issue matches the symptom exactly.thr_rdafsga3np, projectproj_5vda5bh2f5.