Guide sessions into mounted Git working trees#53
Draft
heimanba wants to merge 2 commits into
Draft
Conversation
Change-Id: I5af1ca42d79c4d94cdf8f4e3a7d799e0270fce4e
Change-Id: I3be5fd219283020e88121c24cfa8d888915cd2d3
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 changed
cd -- <path> &&shell prefixWhy
Git resources are attached while the Session is created, but the first task was previously sent as a separate message without telling the Agent where the repository was mounted. This could cause development commands and file tools to run outside the intended working tree.
Impact
New Sessions with one mounted Git repository receive an actionable working-directory prefix in their first user message. Repository URLs and credentials are not included. Sessions without repositories and subsequent messages retain their existing behavior.
Validation
verify:pushprofile