Repository navigation
Browse bulk: one session for all, or one per repo - #297
Merged
Merged
Conversation
… several repos Start work for a selection now always offers one session for all N (the default) and one session per repo, whatever the repos and whatever heed noticed. A session over several repos chooses all of them in the form, tells its agent where the other worktrees are and, for claude and codex, adds them as extra directories. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… sheets Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… regenerated shots and references Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
What
With two or more items picked, Browse always offers One session for all N (the default,
s) and One session per repo (S), next to the Goal and the GitHub actions. A session can touch several repos, so picks across repos no longer force a split. The old "a session for each item" choice and the narrowing ofsto a related group are gone; the related-group note stays as a suggestion.Closes org/repo#nlines grouped by repo.Behaviour change outside Browse
StartWork.layoutnow tells the agent about the other worktrees when a session has more than one (a line in its prompt naming them and their paths), and adds--add-dir <path>for each other worktree for Claude Code and Codex, whichPlanTalkalready does. Multi-repo sessions did not do this before, and the Start work form could only hold one repo;StartWorkForm.choose(repos:)now lets it hold several. An existingDomainTestsassertion on the old multi-repo command was updated and a test pins the single-repo command.browse.bulk.eachkeeps its id so bindings do not break; it now means "per repo".Verified
mise run lint,swift test --quiet(2937),mise run text-check,swift build,mise run bundle,scripts/tutor-check.sh(0 problems), docs build (0 warnings). Eight mutations of the new logic each failed the suite.Not tested
No real multi-repo session was started; the clone of a repo that is not on this Mac and the single-repo dimmed card were not exercised (unit tests only). A repo that exists only on a remote host would be treated as typed and cloned locally.
🤖 Generated with Claude Code