You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fork a thread from a specific message, preserving provider session where possible #158
Message-level forks with native provider forking where supported, and a source divider linking back to the original conversation (changelog 0.7.2).
Solenta today
forkThread (electron/services.js:638-697) clones the whole thread with sessionId: null: fresh session, no message boundary, provider session not carried.
Why it matters
"Branch the conversation from here, before it went wrong" is the standard recovery move. A whole-thread fork with a cold session forces re-explaining everything.
Fix direction
Fork at a message boundary, copy the transcript prefix, and resume/fork the provider session where the CLI supports it (claude has session resume; others fall back to a seeded fresh session).
Research note (Codex 0.146): ephemeral forks — fork a thread to try something without the fork polluting the thread list. A 'scratch fork' state (ephemeral by default, promote to keep) fits the checkpoint model.
Round 22 intel: Claude Code's /fork now makes the copied session's code changes in a worktree of its own instead of the original session's checkout. Obvious in retrospect, but it resolves the ambiguous case this issue has to decide: when the fork preserves the provider session (continuing the same conversation lineage), the filesystem lineage must still diverge, or the fork and the original silently fight over the same working tree. Fork = shared conversation history + separate worktree, always.
Round 23 intel: the market has now shipped both fork-placement answers, so Solenta should pick deliberately. Devin Desktop: duplicate/fork opens in a new tab, original stays put. Factory Droid v0.196.0: fork keeps you in the original session and prints a resume command for the copy. Recommendation: stay-in-place (Droid's choice) as default, because the common fork motivation is "let me try a different direction" and the user wants to keep reading the original while the fork runs; opening the fork in a new tab yanks focus to the unproven branch. Whichever is chosen, the fork gets its own worktree (see earlier Claude Code comment).
Activity
currentbits commentedon Aug 18, 2026
Research note (Codex 0.146): ephemeral forks — fork a thread to try something without the fork polluting the thread list. A 'scratch fork' state (ephemeral by default, promote to keep) fits the checkpoint model.
currentbits commentedon Aug 18, 2026
Round 22 intel: Claude Code's
/forknow makes the copied session's code changes in a worktree of its own instead of the original session's checkout. Obvious in retrospect, but it resolves the ambiguous case this issue has to decide: when the fork preserves the provider session (continuing the same conversation lineage), the filesystem lineage must still diverge, or the fork and the original silently fight over the same working tree. Fork = shared conversation history + separate worktree, always.currentbits commentedon Aug 18, 2026
Round 23 intel: the market has now shipped both fork-placement answers, so Solenta should pick deliberately. Devin Desktop: duplicate/fork opens in a new tab, original stays put. Factory Droid v0.196.0: fork keeps you in the original session and prints a resume command for the copy. Recommendation: stay-in-place (Droid's choice) as default, because the common fork motivation is "let me try a different direction" and the user wants to keep reading the original while the fork runs; opening the fork in a new tab yanks focus to the unproven branch. Whichever is chosen, the fork gets its own worktree (see earlier Claude Code comment).
Fix CI for #158: store round-trip shape, split fork-from renderer test
Fork a thread from a specific message (#158)
Fix CI for #158: store round-trip shape, split fork-from renderer test