Replies: 1 comment
-
|
Good question. As of v0.4.23, each worktree needs its own This is intentional for the index layer: each worktree can be on a different branch with different file contents, so sharing chunk data would produce stale results. The index is fast enough that re-indexing per worktree is not a bottleneck. For memory (decisions, session history, code areas), sharing across worktrees of the same repo would make sense since those are project-level, not branch-level. That's not implemented yet but is on the radar. The workaround today is that decisions made in one worktree won't surface in another unless you manually re-record them. Summary of current behavior:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I know there is work around improving indexing and avoiding duplicate directories for git worktrees. What I am not sure of is if multiple worktrees, let's say worktree a and worktree b, both would have to have
cce initrun for them, or if there is already information sharing between worktrees.Beta Was this translation helpful? Give feedback.
All reactions