github / github/copilot-sdk

Read permission request kind needs better clarification between directory and file reads

Open
#1,205 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 11h
Merged PRs (30d)
128

Description

If my working directory, contains a "." in the name there is not a clear way to distinguish between file and directory reads.

For example, I can get requests like this:

Kind: read
Path: q:\src\workspace.net

In this case path is a directory but also looks like a file name. It would be nice if all directory paths always ended with path separator to clarify.

Contributor guide

Open the contributing guide

Research direction

Start by locating the read permission request handling and the code that formats its Path value. Update directory paths to include a path separator while preserving file paths, then verify that requests distinguish directory and file reads as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.