Repository navigation
feat(worktrees): configure sharedDirectories fallbacks - #31
Merged
Merged
Conversation
nplez1
added a commit
that referenced
this pull request
Sep 25, 2026
* feat(worktrees): configure sharedDirectories fallbacks * fix(i18n): sync shared directory setting strings
nplez1
added a commit
that referenced
this pull request
Sep 27, 2026
* feat(worktrees): configure sharedDirectories fallbacks * fix(i18n): sync shared directory setting strings
nplez1
added a commit
that referenced
this pull request
Sep 29, 2026
* feat(worktrees): configure sharedDirectories fallbacks * fix(i18n): sync shared directory setting strings
nplez1
added a commit
that referenced
this pull request
Oct 1, 2026
* feat(worktrees): configure sharedDirectories fallbacks * fix(i18n): sync shared directory setting strings
nplez1
added a commit
that referenced
this pull request
Oct 6, 2026
* feat(worktrees): configure sharedDirectories fallbacks * fix(i18n): sync shared directory setting strings
nplez1
pushed a commit
that referenced
this pull request
Oct 19, 2026
…f the deprecated owner resolver; spawn refuses folder twins (stablyai#30497) * refactor(renderer): fold launch, resume, note-send, paste and terminal-create callers off the deprecated owner resolver Agent launch, AI-vault resume and reveal, note target and send, wake and creation seeds, native chat owner, the shell menu and active-workspace terminal creation (#22, #31-#42, #44) read the owner through runtimeEnvironmentIdWithLegacyFallbackUnlessTwin. Paste uploads images to the server its PTY id names before falling back to the workspace owner. The folder and floating branch of the terminal spawn route (#53) reads resolveOwnerWithLegacyFallback: spawn refuses a folder twin instead of following the focused server, and teardown keeps tearing raw ids down locally. Deprecated importers 31 -> 16. * test: give the paste-listener and tab-bar probes the fields the folded callers read * test: note why the folder-twin route fixture is cast * test: type the paste-owner twin fixture
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.
ELI5
New worktrees usually link configured shared folders back to the primary checkout. This change lets each project choose what Orca should do when creating those folders, including avoiding symlinks.
What Changed
worktree.sharedDirectories: keep symlinks, try an APFS clone and fall back to symlinks or copies, or skip if cloning is unavailable..worktreeincludecopies under their existing budget. The explicitly selected shared-directory copy fallback has no size or entry-count cap.Why
Some projects cannot use symlinks, and APFS cloning is not always available. An explicit per-project choice avoids silently changing the sharing behavior. Copies and APFS clones are independent per worktree; symlinks continue to share writes with the primary checkout.
Linked Issue
Related to stablyai/orca#18213. This PR adds materialization choices and reports failures; it does not add workspace-monorepo symlink detection.
Visual Proof
Default behavior — symlink selected:
After — APFS clone with copy fallback selected:
Testing
pnpm tcpassed.pnpm run check:code-quality:changedpassed.git diff --checkpassed.AI Disclosure
AI-assisted with GitHub Copilot GPT-6 Luna and Mimo v2.6 Pro adversarial review.
Review
Mimo's review found no blockers. The documented residuals are the narrow POSIX empty-directory publish race, crash-leftover staging paths when configuration has changed or ownership cannot be verified, and untested Windows runtime behavior.
Agent skill upstream boundary
Notes
Checklist
pnpm lintandpnpm buildwere not run locally; CI will cover them.