Skip to content

Conversation

@lszomoru
Copy link
Member

@lszomoru lszomoru commented Nov 7, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 7, 2025 08:18
@lszomoru lszomoru self-assigned this Nov 7, 2025
@lszomoru lszomoru requested a review from rebornix November 7, 2025 08:18
@lszomoru lszomoru enabled auto-merge November 7, 2025 08:18
@lszomoru lszomoru added this to the November 2025 milestone Nov 7, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the permission request handling in the CopilotCLI session to support working directory-based auto-approval of file operations. When a working directory is specified (primarily for git worktree scenarios), the code now automatically approves read and write operations within that directory without requiring explicit user confirmation.

  • Adds workingDirectory parameter to the requestPermission method
  • Auto-approves read operations for files within the working directory (in addition to existing workspace folder approval)
  • Auto-approves write operations for files within the working directory (currently only used with git worktrees for safety)

@rebornix rebornix requested a review from Copilot November 7, 2025 20:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

@lszomoru lszomoru added this pull request to the merge queue Nov 7, 2025
Merged via the queue into main with commit 97645a3 Nov 7, 2025
16 checks passed
@lszomoru lszomoru deleted the lszomoru/copilot-cli-improvements branch November 7, 2025 21:49
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.

4 participants