Skip to content

Make workspace surfaces worktree aware - #616

Merged
Anton-Horn merged 3 commits into
mainfrom
feat/worktree-aware-surfaces
Sep 5, 2026
Merged

Make workspace surfaces worktree aware#616
Anton-Horn merged 3 commits into
mainfrom
feat/worktree-aware-surfaces

Conversation

@Anton-Horn

Copy link
Copy Markdown
Contributor

Summary

  • add independent worktree scopes for file navigation and Source Control changes
  • keep repository-wide Source Control operations on the canonical repository while routing checkout-local operations to the selected worktree
  • make editor, document, review, terminal, panel inheritance, window sync, and Cate host file routing worktree aware
  • persist checkout selections and panel affinity in machine-local session state while keeping workspace state portable
  • keep Parallel Work as the dedicated worktree lifecycle and orchestration surface

Validation

  • npm run typecheck
  • npm run lint (passes with 22 existing warnings)
  • npm run build
  • 89 focused Vitest tests covering worktree resolution, persistence, autosave, status routing, host actions, Quick Open, and dock actions

The full local suite still has unrelated environment failures involving socket permissions, the Electron binary, native watcher timeouts, and an existing review whitespace assertion.

@Anton-Horn
Anton-Horn merged commit b6b1fc9 into main Sep 5, 2026
3 checks passed
@Anton-Horn
Anton-Horn deleted the feat/worktree-aware-surfaces branch September 5, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant