Skip to content

Conversation

@mtsgrd
Copy link
Contributor

@mtsgrd mtsgrd commented Nov 14, 2025

No description provided.

@vercel
Copy link

vercel bot commented Nov 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
gitbutler-web Ignored Ignored Preview Nov 14, 2025 3:38pm

@github-actions github-actions bot added the rust Pull requests that update Rust code label Nov 14, 2025
@mtsgrd mtsgrd force-pushed the claude-project-wide-sessions branch 2 times, most recently from 962faf6 to 60fed83 Compare November 14, 2025 14:49
@mtsgrd mtsgrd changed the title Make Claude sessions optionally project-wide (Option<StackId>) Make Claude sessions optionally project-wide Nov 14, 2025
@mtsgrd mtsgrd requested a review from Caleb-T-Owens November 14, 2025 14:52
@mtsgrd mtsgrd force-pushed the claude-project-wide-sessions branch from 60fed83 to 740d1cd Compare November 14, 2025 15:29
The absence of a `stack_id` indicates the chat is project wide. In
practical terms it just means the system prompt is slightly different,
and at the end we don't try to create any commits.
@mtsgrd mtsgrd force-pushed the claude-project-wide-sessions branch from 740d1cd to 1fc1e6d Compare November 14, 2025 15:38
@krlvi
Copy link
Member

krlvi commented Nov 14, 2025

without a mechanism for distributing changes produced by claude to branches, i am not quite sure this fits the bill. I'd suggest leaving this for a future project looking at this more holistically (workspace sessions)

@krlvi
Copy link
Member

krlvi commented Nov 15, 2025

Having slept on this I have an idea for how to make workspace-scoped chats work.
We could make the prompt have a "target" - similar to how a model can be chosen, we could have some option for selecting between stack, branch or a commit.

If a stack or a branch is selected, a new commit is created there, if a commit is selected, then the new changes will be amended into that commit.

This "target" can be changed between prompts and the context can be cleared on demand.


The would require changing things up in how committing is done but it could be a nice UX.

In any case, I would like to take this as a new project after we have shipped the current thing

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

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants