-
Notifications
You must be signed in to change notification settings - Fork 121
🤖 feat: project-less scratch chats #3723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6ff071a
🤖 feat: project-less scratch chats
ibetitsmike adbb4ed
fix: address Codex review round 1 (scratch devcontainer preflight, sc…
ibetitsmike 43ca660
fix: address Codex review round 2 (gate fork/review menu actions on h…
ibetitsmike 51170f1
fix: address Codex review round 3 (sidebar fork gating, empty-list ro…
ibetitsmike 5b4f158
fix: address Codex review round 4 (policy gate for createScratch, scr…
ibetitsmike 79fa5fb
fix: address Codex review round 5 (hide response-level Fork for scrat…
ibetitsmike f0dc033
fix: address Codex review round 6 (hide generic create-workspace pale…
ibetitsmike 901f89d
fix: address Codex review round 7 (resolve scratch draft route static…
ibetitsmike 144e14d
fix: address Codex review round 8 (Ctrl+N from scratch chats opens a …
ibetitsmike 1ac0fa1
fix: address Codex review round 9 (metadata-aware trust for scratch w…
ibetitsmike 61ac823
fix: address Codex review round 10 (scratch-aware shared-execution tr…
ibetitsmike 6ed14df
fix: address Codex review round 11 (scratch workdir ownership guard b…
ibetitsmike File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| title: Scratch chats | ||
| description: Start a durable chat with an app-managed folder and no project or Git repository. | ||
| --- | ||
|
|
||
| Scratch chats let you start working without adding a project. Each chat gets a private folder managed by Mux, so the agent can create and edit files even though the chat is not attached to an existing repository. | ||
|
|
||
| ## Start a scratch chat | ||
|
|
||
| Use any of these entry points: | ||
|
|
||
| - Select **New scratch chat** from the command palette. | ||
| - Select the **+** button in the **Chats** section of the sidebar. | ||
| - Press `Cmd+Shift+N` on macOS or `Ctrl+Shift+N` on Windows and Linux. | ||
|
|
||
| Mux creates the chat and its folder when you send the first message. Closing an empty draft does not create a folder. | ||
|
|
||
| ## Files and Git | ||
|
|
||
| Scratch chat files are stored under `~/.mux/scratch/<workspace-id>`. The folder persists across app restarts. | ||
|
|
||
| Mux does not initialize a Git repository for a scratch chat. Branch controls, Git status, and code review tools are hidden. You can still use the terminal and other tools that only need a working directory. | ||
|
|
||
| Sub-agent tasks run in the same scratch folder. They do not receive an isolated Git worktree. | ||
|
|
||
| ## Archive or delete | ||
|
|
||
| Archiving a scratch chat keeps its conversation history and files. Deleting the chat removes its managed folder after no remaining sub-agent workspace references it. | ||
|
|
||
| Conversation forks and full workspace-turn tasks are not supported for scratch chats in this version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.