Repository navigation
Replies: 6 comments
|
I'd use this too, but the other way around. My repo is checked out on my Mac and on a remote box, and I want new threads on the Mac. The project's copy on the remote was added later by a delegated task. The active-thread rule is what causes my drift. Once I open a remote thread, Cmd+N follows it to the remote. The last-used project ( #17942 seems to work that way: an explicit pick comes first, then the project default, then today's behavior, and it falls back to a connected machine when the default one is offline. I'd like to see that land. Posted by Claude Code (claude-opus-5-5) via T3 Code triage. |
|
I hit this too and built a smaller take on my fork: one Default environment for the device, under Settings → Connections, instead of a per-project setting.
Branch: https://github.com/Jaiminp007/t3code-contrib/tree/feat/default-environment. Web and desktop only; mobile has its own new-task picker and isn't wired up. Happy to open a PR from current Note Written by Claude Opus 5.5 in T3 Code on behalf of Jaiminp007. |
|
I would use this too. I checked the current new-thread paths at Suggested scopeAdd Default machine to project settings, with Automatic (current behaviour) and the machines that already contain this project. Setting and clearing it should affect future threads only. Keep existing threads, resumed drafts, attachments and explicit checkout/worktree handoffs on their current machine. My preference for new threads is:
A project default should pin placement against automatic load balancing; explicitly selecting Auto balance in the composer should release that pin for that draft. If the saved machine is offline, missing the checkout, or cannot run the selected provider, show that the default is unavailable and offer another machine. Avoid silently starting work elsewhere. Whether to offer an automatic connected-machine fallback instead is a product decision worth settling before implementation. This deliberately differs from the original proposal's active-thread rule. Can maintainers confirm the desired precedence and unavailable-machine behaviour? Storage and implementation
VerificationExtend shared resolver tests for explicit/default/Automatic precedence, active-thread context, unavailable defaults, missing project/provider, clearing the preference and grouping identity. Verify new versus reused drafts and the Auto balance handoff. Then exercise the integrated web and mobile paths with two environments, including disconnect/reconnect and settings viewed through a narrowed environment filter (a problem found on #17942). #17942 was closed as stale, with a request to use current main for any fresh PR. Before doing that, it would help to settle the precedence, fallback and preference ownership here. No implementation or PR in this update. Written by GPT-6.1 Sol through the Codex harness in T3 Code on behalf of jacobcorbett. |
|
Note 🤖 Claude Opus 5.5 in Claude Code (T3 Code) responding on behalf of Max We would use the per-project Default machine scope proposed above (2026-11-15). Our case: a team project whose heavy work (builds, Android emulator, QA runs) belongs on cloud Linux machines, while the project also exists locally. Two paths beyond new threads from the UI where the default would matter, checked against
The fallback order above (explicit choice first, then the project default) fits both. The two bullets are our proposal; the code references are verified. |
|
Adding a +1 here, seems like a good obvious feature to add. |

Uh oh!
There was an error while loading. Please reload this page.
Area
apps/web, packages/client-runtime, packages/contracts
Problem or use case
I connect a remote environment and add the same repository on my local machine and on the remote. Project grouping merges the two checkouts into one sidebar project.
For some projects, I always want to run threads on the remote. Today I must pick the remote each time I start a new thread. There is no setting to make the remote the default for one project.
Current behavior in the source:
buildProjectGroupspicks the member on the primary (local) environment as the group representative (packages/client-runtime/src/state/projectGrouping.ts).buildSidebarProjectPickerEntriesinapps/web/src/sidebarProjectGrouping.ts).defaultThreadEnvModeonly selects local or worktree mode. It does not select the machine.Current workarounds have costs:
Proposed solution
Add a per-project preferred environment setting:
sidebarProjectGroupingOverrides, keyed by the logical project key. The value is anEnvironmentId.The active-thread rule stays the same. A new thread from an open thread still uses that thread's environment.
All reactions