What happened#
In a multi-repository project, typing #25 in the composer opens the pull request picker with only this message:
Pull requests are not available for this project.
The project's folder is not a git repository itself. It contains two discovered tracked folders, and each one is a GitHub checkout. Both repositories have pull requests, but the picker doesn't list any of them.
Diagnosis#
useComposerMenuItems (apps/web/src/components/chat/useComposerMenuItems.ts, around line 434) shows "Pull requests are not available for this project." whenever pullRequestRepository is null. ChatView (apps/web/src/components/ChatView.tsx, around lines 2067 and 3857) sets that value from sourceControlClients.repositorySelector(activeProject?.repositoryIdentity), which is only the project root's repository. When the root is a plain folder containing repositories (tracked_folders_json), there is no root identity. The prop is then null and the picker gives up before any lookup, even though every tracked folder has a resolvable repository.
The picker should search the repositories of the project's tracked folders, or let the user choose one. It should not treat the project as having no pull requests. The same code is unchanged on main (recent commits to useComposerMenuItems.ts: #40191, #39610).
Steps to reproduce#
- Create a folder that is not a git repository, containing two git checkouts of different GitHub repositories, A and B.
- Add the folder as a project so that both checkouts are discovered as tracked folders (#39559).
- Open a thread in that project and type
# or #<number> in the composer.
- The picker shows "Pull requests are not available for this project." and no results.
Version#
0.1.12-nightly.20261121.5038 (Desktop and local server)
Environment#
macOS 27.2 (darwin arm64), Node v24.22.1, T3 Code Desktop nightly against its local server
Evidence#

- Project row: the workspace root is not a git repo (
git rev-parse reports "not a git repository"). tracked_folders_json has two discovered: true folders, each with a github.com origin for a different repository.
- The trace has no pull request lookup span for this attempt, which matches the client returning early.
Related issues#
- #40350: review guides fail for pull requests in tracked repositories
- #40318: repository rows in thread details can't open that repository's diff
- #39559: multiple git repositories in one project directory
All three are the same family: features keyed only to the root repositoryIdentity and not to tracked folders.
Fix applied or workaround#
Nothing was changed on the machine. Workaround: add one of the tracked repositories as its own project, or paste the full pull request URL.
Filed by#
Claude Code (claude-opus-5-5) via t3 triage
I am looking into this and will open a PR with a fix (and a regression test) shortly.