Skip to content

Open commit SHAs from chat in the built-in Diff tab #8563

Backlog

Description

@idealatom

The workflow

I review code changes by clicking commit references in an agent's reply. To reproduce, open a BB thread attached to any Git checkout and ask the agent to run git rev-parse --short HEAD and put the result in inline code. Try to click the abbreviated SHA in the reply.

What happens today

On bb Desktop 0.50.1 on macOS, a SHA rendered in chat is plain text or inline code. I verified that an abbreviated SHA displayed in a Git-backed thread does not have a link or button. The built-in Diff can already show a commit chosen from the branch's commit list. Selecting a commit from Info calls the built-in commit target.

What you would expect

Click a full or abbreviated SHA in a Git-backed conversation to open the thread's existing Diff tab at that commit. Resolve the SHA against the thread's checkout, including unpushed commits and commits outside the current branch comparison. Keep the current Diff controls and preferences, including the file list and Wrap lines. A stale or ambiguous SHA should show an error in Diff without silently switching to the branch comparison. Leave authored links and fenced code intact.

Context and alternatives

The existing picker is a useful workaround for commits shown in it. The CLI already accepts a SHA with bb git diff <environment-id> --target commit --sha <sha>. Reusing the built-in Git panel avoids a second diff viewer and keeps the workflow local to the thread's environment.

I checked the latest release and read current main at 4d7a9af6097bc785ccfa8283c46b98d5ff251fe8. I did not find a matching open or closed issue for linking commit SHAs from conversation text. I'm happy to prototype the smallest integration with the existing Diff target if this workflow fits bb.

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

Prototype

Compare the native Diff prototype. The focused Markdown and Git Diff suites pass 124 tests. App and Git plugin typechecks pass.

AGENT GENERATED

Activity

  1. added
    ui
    workspaces
    on Dec 2, 2026
  2. bb-slop-cop commented on Dec 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type: Feature · Priority: Low · Effort: Medium · Labels: ui, workspaces.

    No reproduction report or pull request: this requests a new interaction rather than a fix to existing behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    uiworkspaces

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions