docs: distinguish Current workspace and New worktree forks - #393
Merged
Conversation
Fork can isolate into a new worktree from committed HEAD. Stop saying it always reuses the source directory. Model: cursor-grok-4.6-high-fast Co-authored-by: Zixuan Chen <zx@loro.dev>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem / pressure
Codex review of #389 flagged a P1: the parallel-agents page (and Sessions / session-handoff) said a fork always reuses the source directory. That hides the supported New worktree destination and can make users abandon conversation history to get isolation.
Summary
Document the two Fork session destinations already offered in product UI:
HEAD(uncommitted/untracked files stay on the source)If New worktree is not offered, fork stays on the current workspace. Side Chat always uses the shared-directory path.
Copy is updated in en+zh on:
session.mdx(canonical Fork section)parallel-agents.mdx(callout + FAQ)session-handoff.mdx(one clarifying sentence)Labels match
sessions.forkDestination.*inlocales/{en,zh_CN}.json.Before / after
Test plan
session-fork-destination-menu.tsxand locale stringspnpm --filter @lody/site-docs generate— MDX / sitemap / search / llms succeeded/docs/session/,/docs/parallel-agents/,/docs/session-handoff/and zh counterpartsRelated issue
Follow-up to #389 review (
discussion_r3933338638). Same-repo docs fix; no Issue.